var Adv_range_7="2"; var EndDate_7="2016/09/25"; var Dt_7=new Date(); var NowDate_7=Dt_7.getFullYear()+"/"+(Dt_7.getMonth()+1)+"/"+Dt_7.getDate(); if(Date.parse(EndDate_7)-Date.parse(NowDate_7)<0) { Adv_range_7="0"; } else if(Adv_range_7=="1" && IsPageHome!="1") { Adv_range_7="0"; } else if(location.href.indexOf("/e/")>0) { Adv_range_7="0"; } lastScrollY=0; function DlAdv_7(){ var diffY; if (document.documentElement && document.documentElement.scrollTop) diffY = document.documentElement.scrollTop; else if (document.body) diffY = document.body.scrollTop else {/*Netscape stuff*/} percent=.1*(diffY-lastScrollY); if(percent>0)percent=Math.ceil(percent); else percent=Math.floor(percent); document.getElementById("adv_7_left").style.top=parseInt(document.getElementById("adv_7_left").style.top)+percent+"px"; document.getElementById("adv_7_right").style.top=parseInt(document.getElementById("adv_7_left").style.top)+percent+"px"; lastScrollY=lastScrollY+percent; } var LeftAdv="
" var RightAdv="" if(Adv_range_7!="0") { document.write(LeftAdv); document.write(RightAdv); window.setInterval("DlAdv_7()",10); }