var nttopMargin=0;var ntslideTime=1200;var ntns6=(!document.all && document.getElementById);var ntie4=(document.all);var ntns4=(document.layers);window.setInterval("ntmain()", 10);function ntfloatObject(){if(ntns4||ntns6){ntfindHt=window.innerHeight;}else if(ntie4){ntfindHt=document.body.clientHeight;}}function ntmain(){if(ntns4){this.ntcurrentY=document.ntlayerfloat.top;this.ntscrollTop=window.pageYOffset;ntmainTrigger();}else if(ntns6){this.ntcurrentY=parseInt(document.getElementById('ntlayerfloat').style.top);this.ntscrollTop=scrollY;ntmainTrigger();}else if(ntie4){this.ntcurrentY=ntlayerfloat.style.pixelTop;this.ntscrollTop=document.body.scrollTop;ntmainTrigger();}}function ntmainTrigger(){var ntnewTargetY=this.ntscrollTop+this.nttopMargin;if(this.ntcurrentY!=ntnewTargetY){if(ntnewTargetY!=this.nttargetY){this.nttargetY=ntnewTargetY;ntfloatStart();}ntanimator();}}function ntfloatStart(){var ntnow=new Date();this.ntA=this.nttargetY-this.ntcurrentY;this.ntB=Math.PI/(2*this.ntslideTime);this.ntC=ntnow.getTime();if(Math.abs(this.ntA)>this.ntfindHt){this.ntD=this.ntA>0?this.nttargetY-this.ntfindHt:this.nttargetY+this.ntfindHt;this.ntA=this.ntA>0?this.ntfindHt:-this.ntfindHt}else{this.ntD=this.ntcurrentY}}function ntanimator(){var ntnow=new Date();var ntnewY=this.ntA*Math.sin(this.ntB*(ntnow.getTime()-this.ntC))+this.ntD;ntnewY=Math.round(ntnewY);if((this.ntA>0&&ntnewY>this.ntcurrentY)||(this.ntA<0&&ntnewY<this.ntcurrentY)){if(ntie4)ntlayerfloat.style.pixelTop=ntnewY;if(ntns4)document.ntlayerfloat.top=ntnewY;if(ntns6)document.getElementById('ntlayerfloat').style.top=ntnewY+"px"}}