//瓢浮广告
document.write("
");
document.write("");
document.write("
");
var x = 50,y = 60;
var xin = true, yin = true;
var step = 1;
var delay = 30;
var obj=document.getElementById("SiteMove");
function floatAD() {
var L=T=0;
var R= document.body.clientWidth-document.getElementById("SiteMove").offsetWidth;
var B = document.body.clientHeight-document.getElementById("SiteMove").offsetHeight;
document.getElementById("SiteMove").style.left = x + document.body.scrollLeft;
document.getElementById("SiteMove").style.top = y + document.body.scrollTop;
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)}
// JavaScript Document
lastScrollY=0;
function heartBeat(){
var diffY;
if (document.documentElement && document.documentElement.scrollTop)
diffY = document.documentElement.scrollTop;
else if (document.body)
diffY = document.body.scrollTop
else
{/*Netscape stuff*/}
//alert(diffY);
percent=.1*(diffY-lastScrollY);
if(percent>0)percent=Math.ceil(percent);
else percent=Math.floor(percent);
document.getElementById("lovexin12").style.top=parseInt(document.getElementById("lovexin12").style.top)+percent+"px";
document.getElementById("lovexin14").style.top=parseInt(document.getElementById("lovexin12").style.top)+percent+"px";
lastScrollY=lastScrollY+percent;
//alert(lastScrollY);
}
suspendcode12="
"
suspendcode14="
"
document.write(suspendcode12);
document.write(suspendcode14);
window.setInterval("heartBeat()",1);
// JavaScript Document
lastadScrollY=0;
function bottomscroll(){
var diffadY;
if (document.documentElement && document.documentElement.scrollTop)
diffadY = document.documentElement.scrollTop;
else if (document.body)
diffadY = document.body.scrollTop
else
{/*Netscape stuff*/}
//alert(diffadY);
percent=.1*(diffadY-lastadScrollY);
if(percent>0)percent=Math.ceil(percent);
else percent=Math.floor(percent);
document.getElementById("bottomAD").style.top=parseInt(document.getElementById("bottomAD").style.top)+percent+"px";
document.getElementById("bottomAD1").style.top=parseInt(document.getElementById("bottomAD1").style.top)+percent+"px";
lastadScrollY=lastadScrollY+percent;
//alert(lastScrollY);
}
var lngTop=0;
var lngHeight=0;
if (document.documentElement && document.documentElement.clientHeight)
lngHeight = document.documentElement.clientHeight;
else if (document.body)
lngHeight = document.body.clientHeight
else
{/*Netscape stuff*/}
lngHeight=parseInt(lngHeight);
if (parseInt(lngHeight)>220) lngTop=parseInt(lngHeight-160); else lngTop=60;
bottomhtml=""
bottomhtml1=""
document.write(bottomhtml + bottomhtml1);
window.setInterval("bottomscroll()",1);