// JavaScript DocumentadTime=12000; chanceAd=1;var ns=(document.layers);var ie=(document.all);var w3=(document.getElementById && !ie);var calunit=ns? "" : "px"adCount=0;function initAd(){	if(!ns && !ie && !w3) return;	if(ie) {		adDivLeft=eval('document.all.AdDivLeft.style');		adDivRight=eval('document.all.AdDivRight.style');	} else if(ns){			adDivLeft=eval('document.layers["AdDivLeft"]');		adDivRight=eval('document.layers["AdDivRight"]');	} else if(w3) {			adDivLeft=eval('document.getElementById("AdDivLeft").style');		adDivRight=eval('document.getElementById("AdDivRight").style');	}	randAd=Math.ceil(Math.random()*chanceAd);        if (ie||w3) {        adDivLeft.visibility="visible";        adDivRight.visibility="visible";       } else {        adDivLeft.visibility ="show";		adDivRight.visibility ="show";		}	if(randAd==1) {	showAd();	}}function showAd(){if(adCount<adTime*10){adCount+=1;	if (ie){		documentWidthLeft  =truebody().offsetWidth/2+truebody().scrollLeft-385;		documentHeightLeft =300;		documentWidthRight  =truebody().offsetWidth/2+truebody().scrollLeft+655;		documentHeightRight =300;	} else if (ns){		documentWidthLeft=window.innerWidth/2+window.pageXOffset-385;		documentHeightLeft=300;		documentWidthRight=window.innerWidth/2+window.pageXOffset+655;		documentHeightRight=300;	} else if (w3){		documentWidthLeft=self.innerWidth/2+window.pageXOffset-385;		documentHeightLeft=300;		documentWidthRight=self.innerWidth/2+window.pageXOffset+655;		documentHeightRight=300;	} 	adDivLeft.left=documentWidthLeft-200+calunit;	adDivLeft.top =documentHeightLeft-200+calunit;	adDivRight.left=documentWidthRight-200+calunit;	adDivRight.top =documentHeightRight-200+calunit;	setTimeout("showAd()",100);}else closeAd();}function closeAd(){if (ie||w3) {adDivLeft.display="none";adDivRight.display="none";} else {adDivLeft.visibility ="hide";adDivRight.visibility ="hide";}}function truebody(){return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body}onload=initAd;