function pshowersl(){pshowerfademi=1;imgarr=new Array();imgstr=new Array();linkstr=new Array();clslinkstr=new Array();imgarr[0]=new Image();imgarr[0].src='shower01.jpg';imgstr[0]='shower01.jpg';linkstr[0]='';clslinkstr[0]='';imgarr[1]=new Image();imgarr[1].src='shower02.jpg';imgstr[1]='shower02.jpg';linkstr[1]='';clslinkstr[1]='';imgarr[2]=new Image();imgarr[2].src='shower03.jpg';imgstr[2]='shower03.jpg';linkstr[2]='';clslinkstr[2]='';imgarr[3]=new Image();imgarr[3].src='tub10.jpg';imgstr[3]='tub10.jpg';linkstr[3]='';clslinkstr[3]='';pshowervcurr=0;pshowervnext=0;pshowervssdiv=null;stepc=20*(2000/1000);pshowerdif=0.00;pshowerop=1.00;pshowerdif=(1.00/stepc);uagent = window.navigator.userAgent.toLowerCase();IEB=(uagent.indexOf('msie') != -1)?true:false;var scompat = document.compatMode;if(scompat != "BackCompat"){}dstr1='<div id="';dstr2='" style="position:absolute;text-align:'+"center"+';width:'+600+'px;height:'+400+'px;visibility:hidden;left:0px;top:0px;padding:0px;margin:0px;overflow:hidden;">';dstr3='<img id="pshowerimg';dstr4='" src="';dstr5='" style="position:relative;left:0px;top:0px;padding:0px;margin:0px;border:0px;" alt="" border="0"></img>';dstr6='</div>';this.pshowerdotrans=pshowerdotrans;this.pshowerinitte=pshowerinitte;this.pshowerinitte2=pshowerinitte2;this.pshowerbeftrans=pshowerbeftrans;this.pshowerdotransff=pshowerdotransff;}function pshowerdotrans(){	if(IEB==true){pshowervssdiv.filters[0].apply();}	pshowerobjc=document.getElementById('pshowerd'+pshowervcurr);	pshowerobjn=document.getElementById('pshowerd'+pshowervnext);			pshowerobjc.style.visibility="hidden";	pshowerobjn.style.visibility="visible";	if(IEB==true){pshowervssdiv.filters[0].play();}		pshowervcurr=pshowervnext;	pshowervnext=pshowervnext+1;		if(pshowervnext>=4)	{		pshowervnext=0;	}			setTimeout('pshowerdotrans()',(2000+3000));}function pshowerdotransff(){	pshowerop=pshowerop-pshowerdif;	pshowerobjc=document.getElementById('pshowerd'+pshowervcurr);	pshowerobjn=document.getElementById('pshowerd'+pshowervnext);		if(pshowerop<(0.00)){pshowerop=0.00;}	pshowerobjc.style.opacity = pshowerop;	pshowerobjn.style.opacity = 1.00;	if(pshowerop>(0.00))	{		setTimeout('pshowerdotransff()',50);	}	else	{		pshowerobjc.style.zIndex=2;		pshowerobjn.style.zIndex=3;		setTimeout('pshowerbeftrans()',3000);			}}function pshowerbeftrans(){	pshowervcurr=pshowervnext;	pshowervnext=pshowervnext+1;	if(pshowervnext>=4)	{		pshowervnext=0;	}	pshowerop=1.00;	pshowerobjc=document.getElementById('pshowerd'+pshowervcurr);	pshowerobjn=document.getElementById('pshowerd'+pshowervnext);	pshowerobjc.style.visibility="visible";	pshowerobjn.style.visibility="visible";		pshowerobjc.style.zIndex=3;	pshowerobjn.style.zIndex=2;		pshowerobjc.style.opacity = 1.00;		pshowerobjn.style.opacity = 1.00;			pshowerdotransff();	}function pshowerinitte2(){	pshowervssdiv=document.getElementById("pshowerdv");	if(4>0)	{		pshowerobjc=document.getElementById('pshowerd'+0);			pshowerobjc.style.visibility="visible";		}	if(4>1)	{		if((IEB==true)||(pshowerfademi==0))		{			pshowervcurr=0;			pshowervnext=1;			setTimeout('pshowerdotrans()',3000);		}		else		{			pshowervcurr=0;			pshowervnext=0;					setTimeout('pshowerbeftrans()',3000);			}	}}function pshowerinitte(){	i=0;	innertxt="";	for(i=0;i<4;i++)	{		innertxt=innertxt+dstr1+"pshowerd"+i+dstr2+linkstr[i]+dstr3+i+dstr4+imgstr[i]+dstr5+clslinkstr[i]+dstr6;	}	spage=document.getElementById('pshowerdv');	spage.innerHTML=""+innertxt;	setTimeout('pshowerinitte2()',200);}pshowers=new pshowersl();pshowers.pshowerinitte();
