重庆幸运农场平台

var x = 100,y = 60 var xin = true, yin = true var step = 1 var delay = 60 // var obj=document.getElementById("ad") function floatAD() { var L=T=0 // var R= document.body.clientWidth-obj.offsetWidth; var B = 1000 //obj.style.left = x + document.documentElement.scrollLeft+"px"; //alert(document.body.scrollLeft+""); //obj.style.top = y + document.documentElement.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 } } function stopAd(){ //obj.style.display = 'none'; //clearInterval(itl); } //var itl= setInterval("floatAD()", delay) //obj.onmouseover=function(){clearInterval(itl)} // obj.onmouseout=function(){itl=setInterval("floatAD()", delay)}
重庆幸运农场平台-(官网欢迎您) 一分PK10官网-官网 快乐飞艇官网-官方网站 秒速飞艇-首页 快乐赛车平台-指定网址