function CreatDivFloat(whitchdiv,divTop,divLeft) { var oDIVResults=document.createElement('div'); oDIVResults.id=whitchdiv; document.getElementsByTagName("body").item(0).appendChild(oDIVResults); oDIVResults=document.getElementById(whitchdiv); oDIVResults.style.position="absolute"; oDIVResults.style.display="none" //oDIVResults.style.VISIBILITY="hidden"; oDIVResults.style.left=divTop; oDIVResults.style.top=divTop; } function ToExecFloatAD() { CreatDivFloat("FloatSlideShow",100,100); document.getElementById("FloatSlideShow").innerHTML=""; document.getElementById("FloatSlideShow").style.display="block" document.getElementById("FloatSlideShow").style.zIndex="1000000" var slideShowSpeed = 3000 var crossFadeDuration = 3 var whereX ; var whereY = -120; var Pic = new Array() // don't touch this! //if (screen.availWidth==1024) //whereX = 930; //else whereX = 930; var nn=(navigator.appName.indexOf("Netscape")!=-1); var t;var j=0;var p=Pic.length;var preLoad=new Array(); for (i=0;i(p-1))j=0;t=setTimeout('runSlideShow()', slideShowSpeed);} var dD=document,dH=dD.html,dB=dD.body,px=dD.layers?'':'px'; function floatSS(iX,iY,id){ var L=dD.getElementById?dD.getElementById(id):dD.all?dD.all[id]:dD.layers[id]; this[id+'O']=L;if(dD.layers)L.style=L;L.nX=L.iX=iX;L.nY=L.iY=iY; L.P=function(x,y){this.style.left=x+px;this.style.top=y+px;};L.Fss=function(){var pX, pY; pX=(this.iX >=0)?0:nn?innerWidth:nn&&dH.clientWidth?dH.clientWidth:dB.clientWidth; pY=nn?pageYOffset:nn&&dH.scrollTop?dH.scrollTop:dB.scrollTop; if(this.iY<0)pY+=nn?innerHeight:nn&&dH.clientHeight?dH.clientHeight:dB.clientHeight; this.nX+=.1*(pX+this.iX-this.nX);this.nY+=.1*(pY+this.iY-this.nY);this.P(this.nX,this.nY); setTimeout(this.id+'O.Fss()',33);};return L;} floatSS(whereX,whereY,'FloatSlideShow').Fss(); } var iHMTime4FloatAD=1; function CheckStatus4FloatAD() { try{ if(document.readyState =="complete") ToExecFloatAD(); else if(iHMTime4FloatAD>=300) ToExecDyAD(); else { iHMTime4FloatAD=iHMTime4FloatAD+1; setTimeout("CheckStatus4FloatAD()", 1000); } }catch(e){} } if(document.readyState ) CheckStatus4FloatAD(); else ToExecFloatAD();