//漂浮广告
function cloFly(){	var txtObj = document.all("ad");txtObj.style.display = 'none';}
document.write("<div id='ad' style='position:absolute;z-index:1200'><div style='position:absolute;z-index:900; left:145px; top:2px;'><a onclick='cloFly();function(){clearInterval(itl)};return false;' href=''><img src='images/colse.gif' border='0'></a></div><a target='_blank' style='cursor:hand' href='http://hr.lj028.cn/'><img src='images/piao.png' border='0'></a></div>")
var x = 50,y = 60
var xin = true, yin = true
var step = 1 
var delay = 10
var obj=document.getElementById("ad") 
function floatAD() {
var L=T=0
var R= document.body.clientWidth-obj.offsetWidth
var B = document.body.clientHeight-obj.offsetHeight
obj.style.left = x + document.body.scrollLeft + "px"
obj.style.top = y + document.body.scrollTop + "px"
x = x + step*(xin?1:-1) 
if (x < L) { xin = true; x = L} 
if (x > R){ xin = false; x = R} 
y = y + step*(yin?1:-1) 
if (y < T) { yin = true; y = T } 
if (y > B) { yin = false; y = B } 
}
var itl= setInterval("floatAD()", delay) 
obj.onmouseover=function(){clearInterval(itl)} 
obj.onmouseout=function(){itl=setInterval("floatAD()", delay)}

function openwin() { 
window.open ("open1.htm", "newwindow", "height=600, width=800, toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no, status=no") 
//写成一行 
} 

