uagent = window.navigator.userAgent.toLowerCase();IEB=(uagent.indexOf('msie') != -1)?true:false;var scompat = document.compatMode;var ecorasteintcomplate=0;ecorasteimgarr=new Array();ecorastealtarr=new Array();ecorastelinkarr=new Array();ecorastetargetarr=new Array();ecorastetitarr=new Array();ecorastedesarr=new Array();ecorasteimgarr[0]="";ecorastealtarr[0]="";ecorastelinkarr[0]="";ecorastetargetarr[0]="";ecorastetitarr[0]="";ecorastedesarr[0]="";ecorasteimgarr[1]="SWR_MGT-2_320x200_Opt85.jpg";ecorastealtarr[1]="";ecorastelinkarr[1]="";ecorastetargetarr[1]="_self";ecorastetitarr[1]="";ecorastedesarr[1]="";ecorasteimgarr[2]="Chief-Benefits_320x200_Opt85.jpg";ecorastealtarr[2]="";ecorastelinkarr[2]="";ecorastetargetarr[2]="_self";ecorastetitarr[2]="";ecorastedesarr[2]="";ecorasteimgarr[3]="SWR_MGT_320x200_Std100.jpg";ecorastealtarr[3]="";ecorastelinkarr[3]="";ecorastetargetarr[3]="_self";ecorastetitarr[3]="";ecorastedesarr[3]="";ecorasteimgarr[4]="SWR_MGT-2_320x200_Opt85.jpg";ecorastealtarr[4]="";ecorastelinkarr[4]="";ecorastetargetarr[4]="_self";ecorastetitarr[4]="";ecorastedesarr[4]="";ecorasteimgarr[5]="SWR_MGT-2_320x200_Opt85.jpg";ecorastealtarr[5]="";ecorastelinkarr[5]="";ecorastetargetarr[5]="_self";ecorastetitarr[5]="";ecorastedesarr[5]="";ecorasteimgarr[6]="Chief-Benefits_320x200_Opt85.jpg";ecorastealtarr[6]="";ecorastelinkarr[6]="";ecorastetargetarr[6]="_self";ecorastetitarr[6]="";ecorastedesarr[6]="";ecorasteimgarr[7]="3_site-preparation_320x200.jpg";ecorastealtarr[7]="";ecorastelinkarr[7]="";ecorastetargetarr[7]="_self";ecorastetitarr[7]="";ecorastedesarr[7]="";ecorasteimgarr[8]="4_stall_floor_design_320x200.jpg";ecorastealtarr[8]="";ecorastelinkarr[8]="";ecorastetargetarr[8]="_self";ecorastetitarr[8]="";ecorastedesarr[8]="";var gnrated='';var ecorastestepcount=15;var ecorastecurrstep=10;var ecorastetimeo=null;var ecorastehorvert=0;var ecorastellllll=0;var ecorastelllllll=0;var ecorastellllllll=0;var ecorastell=new Array();var ecorastelll=new Array();var ecorastellll=new Array();var ecorastestartposx=new Array();var ecorastelllll=new Array();var i=0;var ecorastelllllllll=0;var ecorasteDescCalcLeftBir=0;var ecorasteDescCalcLeft=0;var ecorasteDescCalcWidth=0;var ecorasteDescCalcHeight=0;var ecorasteDescCalcIcWidth=0;var ecorasteDescCalcIcHeight=0;var ecorastehpiece='';var ecorasteds="";var ecorasteIEDescOpacity=100;var ecorasteFFOpacity=1.0;var ecorasteDescFadeEffectTimer=null;var ecorasteAutoPlayTimer=null;var ecorasteAutoPlayCurrent=1;var ecorasteicerdemi=0;function ecorasteWriteDesc(){	if(ecorastelinkarr[i].length>2){ecorasteds=ecorasteds+'<a href="'+ecorastelinkarr[i]+'" target="'+ecorastetargetarr[i]+'" style="text-decoration:none;">';}	ecorasteds=ecorasteds+'<div id="ecorasteadesc'+i+'" style="position:absolute;top:'+100+'px;left:0px;width:'+ecorasteDescCalcWidth+'px;height:'+ecorasteDescCalcHeight+'px;visibility:hidden;overflow:hidden;cursor:pointer;filter:alpha(opacity=100);opacity:1.00;" onMouseOut="ecorasteoutall()">';	ecorasteds=ecorasteds+'<div style="position:absolute;left:0px;top:0px;width:'+ecorasteDescCalcWidth+'px;height:'+ecorasteDescCalcHeight+'px;border-style:solid;border-width:0px;border-color:#000000;background-color:#'+'EAFFFF'+';opacity: '+0.75+';filter:alpha(opacity='+75+');" onMouseOut="ecorasteoutall()"></div>';	ecorasteds=ecorasteds+'<div style="position:relative;left:0px;top:0px;width:'+ecorasteDescCalcIcWidth+';height:'+ecorasteDescCalcIcHeight+'px;text-align:'+'left'+';overflow:hidden;padding:'+3+'px;border-style:'+'solid'+';border-width:'+0+'px;border-color:#'+'008080'+';color:#'+'000000'+';font-family:'+'arial'+';font-style:'+'normal'+';font-size: '+11+';font-weight:'+'normal'+';text-decoration:'+'none'+';opacity: 1.0;filter:alpha(opacity=100);" onMouseOut="ecorasteoutall()">';	ecorasteds=ecorasteds+'<span style="color:#'+'008080'+';font-family:'+'arial'+';font-style:'+'normal'+';font-size: '+13+';font-weight:'+'normal'+';text-decoration:'+'none'+';" onMouseOut="ecorasteoutall()">'+ecorastetitarr[i]+'</span>';	if(ecorastetitarr[i].length>0){ecorasteds=ecorasteds+'<br />';}			ecorasteds=ecorasteds+''+ecorastedesarr[i];	ecorasteds=ecorasteds+'</div>';	ecorasteds=ecorasteds+'</div>';	if(ecorastelinkarr[i].length>2){ecorasteds=ecorasteds+'</a>';}}function ecorasteinit_doc(fstr,hormuvertmi){	ecorasteDescCalcLeftBir=5;		if((0==0)&&(ecorastehorvert==0))	{		ecorasteDescCalcLeft=5+0;	}	else	{		ecorasteDescCalcLeft=5;	}	if(0==0)	{		ecorasteDescCalcWidth=320-5-5;	}	else	{		ecorasteDescCalcWidth=450-5-5;	}	if((ecorastehorvert==1)&&(0==1))	{		ecorasteDescCalcHeight=200-100-5;	}	else	{		ecorasteDescCalcHeight=200-100-5;	}	if((IEB==true)&&(scompat == "BackCompat" ))	{		ecorasteDescCalcIcWidth=ecorasteDescCalcWidth;		ecorasteDescCalcIcHeight=ecorasteDescCalcHeight;	}	else	{		ecorasteDescCalcIcWidth=ecorasteDescCalcWidth-2*(0)-2*(3);		ecorasteDescCalcIcHeight=ecorasteDescCalcHeight-2*(0)-2*(3);	}	ecorastefolderset=fstr;	var tmpleftpad=0;	var tmptoppad=0;	ecorastehpiece=ecorastehpiece+'<div style="position:relative;width:'+450+'px;height:'+200+'px;border-style:solid;border-width:'+3+'px;border-color:#'+'FFFFFF'+';">';	ecorastehpiece=ecorastehpiece+'<div style="position:relative;width:'+450+'px;height:'+200+'px;overflow:hidden;border-style:solid;border-width:0px;border-color:#FFFFFF;cursor:default;" onMouseOver="ecorasteoutall()" onMouseOut="ecorastemouse_divout()">';	if(0==1)	{		for(i=1;i<=8;i++) 		{			ecorasteWriteDesc();		}	}	for(i=1;i<=8;i++)	{		if(ecorastehorvert==0)		{			if(i==1){tmpleftpad=0;}else{tmpleftpad=0;}			tmptoppad=0;		}		else		{			tmpleftpad=0;			if(i==1){tmptoppad=0;}else{tmptoppad=0;}		}		gnrated=gnrated+'<div id="ecorastepo'+i+'" style="position:absolute;left:0px;top:0px;" onMouseOver="ecorastemouse_over('+i+')" onMouseOut="ecorasteoutall()"><div style="background-color:#FFFFFF;padding-left:'+tmpleftpad+'px;padding-top:'+tmptoppad+'px;"><a href="'+ecorastelinkarr[i]+'" target="'+ecorastetargetarr[i]+'"><img width="'+320+'" height="'+200+'" src="'+ecorastefolderset+ecorasteimgarr[i]+'" style="border-style:solid;border-width:0px;" TITLE="'+ecorastealtarr[i]+'"></img></a>';		if(0==0)		{			ecorasteds="";			ecorasteWriteDesc();			gnrated=gnrated+ecorasteds;		}		gnrated=gnrated+'</div></div>';	}	ecorastehpiece=ecorastehpiece+gnrated;	if(0==1)	{		ecorastehpiece=ecorastehpiece+ecorasteds;	}	ecorastehpiece=ecorastehpiece+'</div>';	ecorastehpiece=ecorastehpiece+'</div>';	document.write(''+ecorastehpiece);	setTimeout("ecorasteinit_position("+parseInt(hormuvertmi)+")",50);}function ecorasteinit_position(hv){	ecorastehorvert=hv;	for(i=1;i<=8;i++)	{		ecorastell[i]=document.getElementById('ecorastepo'+i);		ecorastelll[i]=document.getElementById('ecorasteadesc'+i);		if((ecorastell[i]==null)||(ecorastelll[i]==null))		{		    setTimeout("ecorasteinit_position("+parseInt(hv)+")",200);		    return;		}	}		if(ecorastehorvert==0)	{		ecorastellllll=parseInt(     (450-((8-1)*0))     /(8));		ecorastelllllll=ecorastellllll+0;		ecorastellllllll=parseInt(((450-320)/(8-1)));	}	else	{		ecorastellllll=parseInt(     (280-((8-1)*0))     /(8));		ecorastelllllll=ecorastellllll+0;		ecorastellllllll=parseInt(((280-200)/(8-1)));	}	for(i=1;i<=8;i++)	{		ecorastell[i]=document.getElementById('ecorastepo'+i);		sx=(ecorastelllllll*(i-1))-0;		if(ecorastehorvert==0)		{			if(i==1)			{				ecorastell[i].style.left="0px";			}			else			{				ecorastell[i].style.left=""+sx+"px";			}		}		else		{			if(i==1)			{				ecorastell[i].style.top="0px";			}			else			{				ecorastell[i].style.top=""+sx+"px";			}		}		ecorastestartposx[i]=sx;		ecorastelllll[i]=ecorastestartposx[i];		if(i==1)		{			ecorastelll[i].style.left=""+ecorasteDescCalcLeftBir+"px";		}		else		{			ecorastelll[i].style.left=""+ecorasteDescCalcLeft+"px";		}			}	ecorasteintcomplate=1;	if(0==1)	{		ecorasteDoAutoPlay();	}}function ecorasteDoAutoPlay(){	ecorastemouse_over(ecorasteAutoPlayCurrent);	ecorasteAutoPlayCurrent=ecorasteAutoPlayCurrent+1;	if(ecorasteAutoPlayCurrent>8)	{		ecorasteAutoPlayCurrent=1;	}	ecorasteAutoPlayTimer=setTimeout("ecorasteDoAutoPlay()",50000);}function ecorastedo_FadeAnim(){	if(ecorastelllllllll<1)	{		return;	}	ecorasteIEDescOpacity=ecorasteIEDescOpacity+5;	ecorasteFFOpacity=ecorasteFFOpacity+0.05;	if(IEB==true)	{		if(ecorasteIEDescOpacity>100)		{			ecorasteIEDescOpacity=100;			return;		}	}	else	{		if(ecorasteFFOpacity>1.00)		{			ecorasteFFOpacity=1.00;			return;		}	}	if(IEB==true)	{		ecorastelll[ecorastelllllllll].filters.item(0).opacity=ecorasteIEDescOpacity;	}	else	{		ecorastelll[ecorastelllllllll].style.opacity = ecorasteFFOpacity;	}	ecorasteDescFadeEffectTimer=setTimeout("ecorastedo_FadeAnim()",20);}function ecorastedo_anim(){	if(ecorastecurrstep<=0)	{		if(ecorastelllllllll>=1)		{			if(ecorastehorvert==0)			{				if(ecorastelllllllll==1)				{					ecorastelll[ecorastelllllllll].style.left=""+ecorasteDescCalcLeftBir+"px";				}				else				{					ecorastelll[ecorastelllllllll].style.left=""+ecorasteDescCalcLeft+"px";				}			}			else			{				if(0==0)				{					ecorastelll[ecorastelllllllll].style.left=""+(ecorasteDescCalcLeft+parseInt(ecorastell[ecorastelllllllll].style.left))+"px";					var DesvertTop=0;					if((ecorastelllllllll>1) &&(ecorastelllllllll!=8)){DesvertTop=100+0;}else{DesvertTop=100;}					ecorastelll[ecorastelllllllll].style.top=""+(DesvertTop)+"px";				}				else				{					ecorastelll[ecorastelllllllll].style.left=""+(ecorasteDescCalcLeft)+"px";					ecorastelll[ecorastelllllllll].style.top=""+100+"px";				}			}			if((ecorastetitarr[ecorastelllllllll].length>0)||(ecorastedesarr[ecorastelllllllll].length>0))			{				if(2==2)				{					ecorasteIEDescOpacity=0;					ecorasteFFOpacity=0.00;					ecorastedo_FadeAnim();					ecorastelll[ecorastelllllllll].style.visibility="visible";				}				else				{					ecorastelll[ecorastelllllllll].style.visibility="visible";				}			}			else			{				ecorastelll[ecorastelllllllll].style.visibility="hidden";			}		}		return;	}	for(i=2;i<=8;i++)	{		ecorastelllll[i] = parseInt(ecorastelllll[i])+parseInt((ecorastellll[i]-ecorastelllll[i])/ecorastecurrstep);		if(ecorastehorvert==0)		{			ecorastell[i].style.left=""+ecorastelllll[i]+"px";		}		else		{			ecorastell[i].style.top=""+ecorastelllll[i]+"px";		}	}	if((2==1)&&(ecorastelllllllll>=1))	{		var dtop=0;		if((ecorastetitarr[ecorastelllllllll].length>0)||(ecorastedesarr[ecorastelllllllll].length>0))		{    		ecorastelll[ecorastelllllllll].style.visibility="visible";        }        else        {            ecorastelll[ecorastelllllllll].style.visibility="hidden";        }		dtop= 100+        parseInt(ecorasteDescCalcHeight-      ((ecorasteDescCalcHeight/ecorastestepcount)*(ecorastestepcount-(ecorastecurrstep-1)))         );		ecorastelll[ecorastelllllllll].style.top=""+dtop+"px";	}	ecorastecurrstep--;	setTimeout("ecorastedo_anim()",50);}function ecorastereposition(g){	for(i=1;i<=8;i++)	{		if(i<=g)		{			if(i==1)			{				ecorastellll[i]=0;			}			else			{				ecorastellll[i]=parseInt(((i-1)*ecorastellllllll)-0);			}		}		else		{			oncekix=0;			for(j=1;j<(i-1);j++)			{				oncekix=oncekix+ecorastellllllll;			}			if(ecorastehorvert==0)			{				ecorastellll[i]=parseInt(((320)+(oncekix)));			}			else			{				ecorastellll[i]=parseInt(((200)+(oncekix)));			}		}			}	if((ecorastehorvert==0)&&(8==g))	{		var bul1=ecorastellll[8]+0+320;		var bul2=450-bul1;		ecorastellll[8]=ecorastellll[8]+bul2;	}	if((ecorastehorvert==1)&&(8==g))	{		var bul1=ecorastellll[8]+0+200;		var bul2=200-bul1;		ecorastellll[8]=ecorastellll[8]+bul2;	}	ecorastecurrstep=ecorastestepcount;	ecorastedo_anim();}function ecorastemouse_over(g){	if(ecorasteintcomplate==0){return;}	if(g==ecorastelllllllll){return;}	ecorastelllllllll=g;	clearTimeout(ecorastetimeo);	if(0==1){if(ecorasteicerdemi==1){clearTimeout(ecorasteAutoPlayTimer);}}	for(i=1;i<=8;i++)	{		if(i!=g)		{			ecorastelll[i].style.visibility="hidden";			if(IEB==true)			{				ecorastelll[i].filters.item(0).opacity=100;			}			else			{				ecorastelll[i].style.opacity = 1.0;			}		}	}	ecorastereposition(g);}function ecorasteoutall(){	ecorasteicerdemi=1;	clearTimeout(ecorasteAutoPlayTimer);	clearTimeout(ecorastetimeo);}function ecorastemouse_divout2(){	ecorasteicerdemi=0;	clearTimeout(ecorastetimeo);	if(0==1)	{		clearTimeout(ecorasteAutoPlayTimer);		ecorasteAutoPlayCurrent=1;		ecorasteDoAutoPlay();	}	else	{	for(i=1;i<=8;i++)	{		ecorastelll[i].style.visibility="hidden";	}	for(i=1;i<=8;i++)	{		sx=(ecorastelllllll*(i-1))-0;		if(i==1)		{			ecorastellll[i]=0;		}		else		{			ecorastellll[i]=sx;		}			}	ecorastelllllllll=-1;	ecorastecurrstep=ecorastestepcount;	ecorastedo_anim();	}}function ecorastemouse_divout(){	clearTimeout(ecorastetimeo);	ecorastetimeo=setTimeout("ecorastemouse_divout2()",300);}