
document.write('<div id="img" style="position: absolute;z-index:100;width:235px;" onmouseover="clearInterval(interval);" onmouseout="start()">');
document.write('<div style="width:200px;line-height:24px;text-align:center;background:#55C2FA;color:#414680;cursor:pointer" onclick="closeDiv(this)">'+ unescape(escape('¹Ø ±Õ'))+'</div>');

document.write('<a href="http://www.sdzjfw.com/News/News.aspx?newsid=71cc08e1-cc39-465a-9db3-f34932f0aad3" target="_blank"><img src="images/zlxysq.jpg" border=0 /></a>');
//document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="210" height="100">');
//document.write('<param name="movie" value="swf/20090416.swf">');
//document.write('<param name="quality" value="high">');
//document.write('<PARAM NAME="wmode" VALUE="transparent">');
//document.write('<embed src="swf/20090416.swf" width="210" height="100" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed></object>');
document.write('</div>');

var xPos = 0;
var yPos = 0;
var step = 1;
var delay = 30;                     
var height = 0;                     
var Hoffset = 0;                    
var Woffset = 0;                     
var yon = 0; 
var xon = 0;                     
var pause = true;                    
var interval;   

var img = document.getElementById("img"); 
img.style.top = yPos;

function changePos() {  
width = document.documentElement.clientWidth || document.body.clientWidth;  
height = document.documentElement.clientHeight || document.body.clientHeight; 

Hoffset = img.offsetHeight;                    
Woffset = img.offsetWidth; 

var scrollLeft = document.documentElement.scrollLeft || document.body.scrollLeft; ;
var scrollTop = document.documentElement.scrollTop || document.body.scrollTop; 

img.style.left = xPos + scrollLeft + "px";                    
img.style.top = yPos + scrollTop + "px";    

if (yon) {                  
yPos = yPos + step;                    
}               
else {             
yPos = yPos - step;                    
}            
if (yPos < 0) {                  
yon = 1;                    
yPos = 0;                    
}                  
if (yPos >= (height - Hoffset)) {                    
yon = 0;                    
yPos = (height - Hoffset);                     
}                  
if (xon) {                    
xPos = xPos + step;                    
}                 
else {                 
xPos = xPos - step;                   
}                  
if (xPos < 0) {                    
xon = 1;                   
xPos = 0;                   
}         
if (xPos >= (width - Woffset)) {                    
xon = 0;           
xPos = (width - Woffset);                    
}                    
}                   
function start() {                    
img.visibility = "visible";                  
interval = setInterval('changePos()', delay);                    
}              
function closeDiv(obj){
	clearInterval(interval);
	obj.parentNode.parentNode.removeChild(obj.parentNode);	
}
start();  
