"Text/css"> <!--#sponsorAdDiv {position:absolute; height:1; Width1; Top0; Left0;} -</style> "JavaScript1.2">Adtime=5;//time to close window waitsChancead=1; varns=(document.layers); varIe=(document.all); varw3= (document.getElementById &&!)IE); Adcount=0; function Initad () {if(!ns &&!ie &&!w3)return; if(IE) Addiv=eval ('Document.all.sponsorAdDiv.style'); Else if(NS) Addiv=eval ('document.layers["Sponsoraddiv"]'); Else if(W3) Addiv=eval ('document.getElementById ("Sponsoraddiv"). Style'); Randad=math.ceil (Math.random () *chancead); if(ie| |W3) addiv.visibility="Visible"; Elseaddiv.visibility="Show"; if(randad==1) Showad (); } function Showad () {if(adcount<adtime*Ten) {adcount+=1; if(IE) {Documentwidth =document.body.offsetwidth/2+document.body.scrollleft- -; Documentheight=document.body.offsetheight/2+document.body.scrolltop- -;} Else if(NS) {documentwidth=window.innerwidth/2+window.pagexoffset- -; Documentheight=window.innerheight/2+window.pageyoffset- -;} Else if(W3) {documentwidth=self.innerwidth/2+window.pagexoffset- -; Documentheight=self.innerheight/2+window.pageyoffset- -;} Addiv.left=documentwidth- $; Addiv.top =documentheight- $; SetTimeout ("Showad ()", -);}ElseClosead (); } function Closead () {if(ie| |W3) Addiv.display="None"; Elseaddiv.visibility="Hide"; } onload=Initad; </script> <div id="Sponsoraddiv"style="Visibility:hidden"> <table width=" the"height=" -"Bgcolor="008000"><tr><td> <table width="445"height="345"Bgcolor="f0fff0"><tr><td> <center>welcome to www. Csrcode.cn!<br><br> This window will automatically close after 5 seconds </center> </td></tr></table></td>< /tr></table></div> </body> "Center"><font color=black> This special effect by <a href="http://www.langqiaohome.com"target="_blank">kiddy</a> 丨 collects in the Internet, only for the interest and the study exchange, does not make the commercial use. </font></p>
s implements a div ad layer that automatically shuts down for 5 seconds