uagent = window.navigator.userAgent.toLowerCase();IEB=(uagent.indexOf('msie') != -1)?true:false;OPB=(uagent.indexOf('opera') != -1)?true:false;CRB=(uagent.indexOf('chrome') != -1)?true:false;SFB=(uagent.indexOf('safari') != -1)?true:false;var scompat = document.compatMode;var Homes=null;var Homedescgoster=0;var Homethumbgoster=0;var Homecwidth=0;var Homecheight=0;var Homecalc=0;var Hometam=0;var Homekalan=0;var Homekalany=0;var Homets="";var Homeds="";var Homejbtype=0;var Homerealcurrent=0;var Hometimeo=null;Homethumbs_obj=null;Homemoving_obj=null;HomeTotalThumbWidth=0;HomeTotalThumbHeight=0;HomeMoveIcWidth=0;var TBW=0;var CursorStr="default";var HomeDescCalcWidth=0;var HomeDescCalcHeight=0;var HomeDescCalcIcWidth=0;var HomeDescCalcIcHeight=0;var MoveWidth=0;var ThumbAreaWidth=340;var ThumbAreaHeight=340;Homeimgarr=new Array();Homethumbimgstr=new Array();Homeimgstr=new Array();Homelinkstr=new Array();Homeclslinkstr=new Array();Hometitarr=new Array();Homedesarr=new Array();Homeimgarr[0]=new Image();Homeimgarr[0].c=0;Homeimgarr[0].onload = Homesecondcomplate;Homeimgarr[0].src=Homefoldername+'Jackson_Hole_Large.jpg';Homeimgstr[0]=Homefoldername+'Jackson_Hole_Large.jpg';Homethumbimgstr[0]=Homefoldername+'Jackson_Hole_Large.jpg';Homelinkstr[0]='';Homeclslinkstr[0]='';Hometitarr[0]="";Homedesarr[0]="";Homeimgarr[1]=new Image();Homeimgarr[1].c=0;Homeimgarr[1].onload = Homesecondcomplate;Homeimgarr[1].src=Homefoldername+'Downers_Grove_Large.jpg';Homeimgstr[1]=Homefoldername+'Downers_Grove_Large.jpg';Homethumbimgstr[1]=Homefoldername+'Downers_Grove_Large.jpg';Homelinkstr[1]='';Homeclslinkstr[1]='';Hometitarr[1]="";Homedesarr[1]="";Homeimgarr[2]=new Image();Homeimgarr[2].c=0;Homeimgarr[2].onload = Homesecondcomplate;Homeimgarr[2].src=Homefoldername+'Winsford_Large.jpg';Homeimgstr[2]=Homefoldername+'Winsford_Large.jpg';Homethumbimgstr[2]=Homefoldername+'Winsford_Large.jpg';Homelinkstr[2]='';Homeclslinkstr[2]='';Hometitarr[2]="";Homedesarr[2]="";Homeimgarr[3]=new Image();Homeimgarr[3].c=0;Homeimgarr[3].onload = Homesecondcomplate;Homeimgarr[3].src=Homefoldername+'Coronado_Large.jpg';Homeimgstr[3]=Homefoldername+'Coronado_Large.jpg';Homethumbimgstr[3]=Homefoldername+'Coronado_Large.jpg';Homelinkstr[3]='';Homeclslinkstr[3]='';Hometitarr[3]="";Homedesarr[3]="";Homeimgarr[4]=new Image();Homeimgarr[4].c=0;Homeimgarr[4].onload = Homesecondcomplate;Homeimgarr[4].src=Homefoldername+'St_Thomas_Large.jpg';Homeimgstr[4]=Homefoldername+'St_Thomas_Large.jpg';Homethumbimgstr[4]=Homefoldername+'St_Thomas_Large.jpg';Homelinkstr[4]='';Homeclslinkstr[4]='';Hometitarr[4]="";Homedesarr[4]="";if((IEB==true)&&(scompat == "BackCompat" )){    Homecwidth=400;    Homecheight=400;}else{    Homecwidth=400-2*(0);    Homecheight=400-2*(0);}var Homeicwidth=400-2*(0);var Homeicheight=400-2*(0);HomeDescCalcWidth=260;HomeDescCalcHeight=80;if((IEB==true)&&(scompat == "BackCompat" )){	HomeDescCalcIcWidth=HomeDescCalcWidth;	HomeDescCalcIcHeight=HomeDescCalcHeight;}else{    HomeDescCalcIcWidth=HomeDescCalcWidth-2*(2)-2*(3);    HomeDescCalcIcHeight=HomeDescCalcHeight-2*(2)-2*(3);}document.write('<div style="position:relative;width:'+Homecwidth+'px;height:'+Homecheight+'px;overflow:hidden;border-style:'+'solid'+';border-width:'+0+'px;border-color:#'+'CCCCCC'+';'+''+''+'">');document.write('<div id="Homedv" style="position:relative;width:'+Homeicwidth+'px;height:'+Homeicheight+'px;overflow:hidden;padding:0px;margin:0px;z-index:1;'+'FILTER: progid:DXImageTransform.Microsoft.Fade(Overlap=1.00,duration=2,enabled=false);'+'"'+' onfilterchange=HomeFadeBitti()'+'></div>');for(i=0;i<5;i++){	if(0==0){Homeds=Homeds+Homelinkstr[i];if(Homelinkstr[i].length>2){CursorStr="pointer";}else{CursorStr="default";}}	Homeds=Homeds+'<div id="Homedesc'+i+'" style="position:absolute;top:'+120+'px;left:'+10+'px;width:'+HomeDescCalcWidth+'px;height:'+HomeDescCalcHeight+'px;visibility:hidden;overflow:hidden;cursor:'+CursorStr+';z-index:20;">';	Homeds=Homeds+'<div style="position:absolute;left:0px;top:0px;width:'+HomeDescCalcWidth+'px;height:'+HomeDescCalcHeight+'px;border-style:solid;border-width:0px;border-color:#000000;background-color:#'+'000000'+';opacity: '+'0.50'+';filter:alpha(opacity='+'50'+');-moz-opacity:'+'0.50'+';"></div>';	Homeds=Homeds+'<div style="position:relative;left:0px;top:0px;width:'+HomeDescCalcIcWidth+'px;height:'+HomeDescCalcIcHeight+'px;overflow:hidden;padding:'+3+'px;text-align:'+'left'+';border-style:'+'solid'+';border-width:'+2+'px;border-color:#'+'990000'+';color:#'+'FFFFFF'+';font-family:'+'arial'+';font-style:'+'normal'+';font-size: '+'13px'+';font-weight:'+'normal'+';text-decoration:'+'none'+';opacity: 1.0;filter:alpha(opacity=100);-moz-opacity:1.0;">';	Homeds=Homeds+'<span style="color:#'+'FECE3F'+';font-family:'+'arial'+';font-style:'+'normal'+';font-size: '+'14px'+';font-weight:'+'bold'+';text-decoration:'+'none'+';">'+Hometitarr[i]+'</span><br />'+Homedesarr[i];	Homeds=Homeds+'</div>';	Homeds=Homeds+'</div>';	if(0==0){Homeds=Homeds+Homeclslinkstr[i];}	}document.write(''+Homeds);function HomeShowCurrentDesc(){	if((Homedescgoster==1)&&( (Hometitarr[Homerealcurrent].length>0) || (Homedesarr[Homerealcurrent].length>0)  ))	{		after_des=document.getElementById('Homedesc'+Homerealcurrent);		after_des.style.visibility="visible";		}}function HomeHideCurrentDesc(){	before_des=document.getElementById('Homedesc'+Homevcurr);	before_des.style.visibility="hidden";}function HomeHighlightCurrTumb(){	if((0==1)&&(0==0))	{		Homebeforethumb=document.getElementById('Homethumb'+Homevcurr);		Homeafterthumb=document.getElementById('Homethumb'+Homerealcurrent);		Homebeforethumb.style.borderColor='999999';		Homeafterthumb.style.borderColor='990000';	}}document.write('</div>');function Homezindx(){	Homeobjn.style.visibility="visible";	Homeobjc.style.zIndex=2;	Homeobjn.style.zIndex=3;    }function HomeThumbOut(tobj,nm){	if((Homevcurr==nm)&&(0==0))	{}	else	{		tobj.style.borderColor='999999';	}}function HomeThumbOver(tobj,nm){	tobj.style.borderColor='990000';}function HomeSonrakiClick(c,n){	Homevcurr=c;	Homevnext=n;			Homeobjc=document.getElementById('Homed'+Homevcurr);	Homeobjn=document.getElementById('Homed'+Homevnext);}function HomeSonraki(){	Homevcurr=Homevnext;	Homevnext=Homevnext+1;		if(Homevnext>=5)	{		Homevnext=0;		Hometam=1;	}		Homeobjc=document.getElementById('Homed'+Homevcurr);	Homeobjn=document.getElementById('Homed'+Homevnext);		      }function Homesecondcomplate(){	this.c=1;}function Homedevam(fm,pt){	if((Homeimgarr[Homevnext].c==1)&&(Homeimgarr[Homevcurr].c==1))	{		Hometimeo=setTimeout(fm+'()',pt);	}	else	{		setTimeout('Homedevam("'+fm+'")',500);	}	var Homecagain=1;	for(i=0;i<5;i++)	{		if(Homeimgarr[i].c==1){}		else{Homecagain=0;}	}	if(Homecagain==1){Hometam=1;}}function ThumbClick(clicked_img,tobj){	if(Homejbtype==1){return;}	clearTimeout(Hometimeo);	HomeSonrakiClick(Homerealcurrent,clicked_img);	if(Homefademi==1)        {            if(IEB==true)            {		if(Hometam==0)		{	    		Homedevam("Homedotrans",4000);		}		else		{			Homedotrans();		}            }            else            {		if(Hometam==0)		{    			Homedevam("Homebeftrans",4000);		}		else		{			Homebeftrans();		}            }        }	else if(Homefademi==2)	{		if(Hometam==0)		{ 			Homedevam("HomeDoSlide",4000);		}		else		{			HomeDoSlide();		}	}	else if(Homefademi==3)	{		if(Hometam==0)		{ 			Homedevam("HomeDoScrollUp",4000);		}		else		{			HomeDoScrollUp();		}	}	else if(Homefademi==4)	{		if(Hometam==0)		{ 			Homedevam("HomeDoBlindX",4000);		}		else		{			HomeDoBlindX();		}	}	else if(Homefademi==5)	{		if(Hometam==0)		{ 			Homedevam("HomeDoBlindY",4000);		}		else		{			HomeDoBlindY();		}	}	}function Homesl(){Homefademi=1;Homevcurr=0;Homevnext=0;Homevssdiv=null;stepc=20*(2);Homedif=0.00;Homeop=1.00;Homedif=(1.00/stepc);dstr1='<div id="';dstr2='" style="position:absolute;visibility:hidden;'+'left:0px;top:0px;'+'padding:0px;margin:0px;overflow:hidden;">';dstr23='<table cellspacing="0" cellpadding="0" style="position:relative;left:0px;top:0px;padding:0px;margin:0px;"><tr><td style="width:'+Homeicwidth+'px;height:'+Homeicheight+'px;left:0px;top:0px;padding:0px;margin:0px;text-align:'+'center'+';vertical-align:'+'middle'+';">';dstr3='<img id="Homeimg';dstr4='" src="';dstr5='"  border="0" style="position:relative;border-style:'+'solid'+';border-width:'+'0'+'px;border-color:'+'#CCCCCC'+';'+'width:'+Homeicwidth+'px;height:'+Homeicheight+'px;'+'" alt=""></img>';dstr56='</td></tr></table>';dstr6='</div>';this.Homedotrans=Homedotrans;this.Homeinitte=Homeinitte;this.Homeinitte2=Homeinitte2;this.Homebeftrans=Homebeftrans;this.Homedotransff=Homedotransff;}function HomeFadeBitti(){	Homejbtype=0;	HomeShowCurrentDesc();	}function Homedotrans(){	Homejbtype=1;	HomeHideCurrentDesc();	if(IEB==true){Homevssdiv.filters[0].apply();}	Homeobjc.style.visibility="hidden";	Homeobjn.style.visibility="visible";	if(IEB==true){Homevssdiv.filters[0].play();}	Homerealcurrent=Homevnext;	HomeHighlightCurrTumb();	HomeSonraki();			if(Hometam==0){Homedevam("Homedotrans",((1000*2)+4000));}	else	{		Hometimeo=setTimeout('Homedotrans()',((1000*2)+4000));	} 	}function Homedotransff(){	Homeop=Homeop-Homedif;		if(Homeop<(0.00)){Homeop=0.00;}	Homeobjc.style.opacity = Homeop;	Homeobjn.style.opacity = 1.00-Homeop;	if(Homeop>(0.00))	{		setTimeout('Homedotransff()',50);	}	else	{		Homeobjc.style.zIndex=2;		Homeobjn.style.zIndex=3;		Homerealcurrent=Homevnext;		HomeShowCurrentDesc();		HomeHighlightCurrTumb();				HomeSonraki();			        if(Hometam==0){Homedevam("Homebeftrans",4000);}        	else {Hometimeo=setTimeout('Homebeftrans()',4000);}		Homejbtype=0;  					}}function Homebeftrans(){	Homejbtype=1;	HomeHideCurrentDesc();    	Homeop=1.00;	Homeobjc.style.visibility="visible";	Homeobjn.style.visibility="visible";		Homeobjc.style.zIndex=3;	Homeobjn.style.zIndex=2;		Homeobjc.style.opacity = 1.00;		Homeobjn.style.opacity = 1.00;			Homedotransff();	}function HomeDoSlide(){	Homejbtype=1;	HomeHideCurrentDesc();	Homekalan=Homekalan-Math.ceil(Homekalan/2);	Homeobjc.style.left=""+(Homekalan-Homeicwidth)+"px";	Homeobjn.style.left=""+Homekalan+"px";		if(Homekalan<=0)	{		Homerealcurrent=Homevnext;		HomeShowCurrentDesc();		HomeHighlightCurrTumb();    		HomeSonraki();		Homekalan=Homeicwidth;		Homeobjn.style.left=""+Homekalan+"px";	        		Homezindx();          		Homejbtype=0;        		if(Hometam==0){Homedevam("HomeDoSlide",4000);}		else {Hometimeo=setTimeout('HomeDoSlide()',4000);}	}	else	{		setTimeout('HomeDoSlide()',50);    	} }function HomeDoScrollUp(){	Homejbtype=1;	HomeHideCurrentDesc();	Homekalan=Homekalan-Math.ceil(Homekalan/2);	Homeobjc.style.top=""+(Homekalan-Homeicheight)+"px";	Homeobjn.style.top=""+Homekalan+"px";	    if(Homekalan<=0)    {	Homerealcurrent=Homevnext;	HomeShowCurrentDesc();	HomeHighlightCurrTumb();        HomeSonraki();        Homekalan=Homeicheight;	Homeobjn.style.top=""+Homekalan+"px";	        Homezindx();                 	Homejbtype=0;        if(Hometam==0){Homedevam('HomeDoScrollUp',4000);}        else{Hometimeo=setTimeout('HomeDoScrollUp()',4000);}        }    else    {        setTimeout('HomeDoScrollUp()',50);        }}function HomeDoBlindX(){	Homejbtype=1;	HomeHideCurrentDesc();   	Homekalan=Homekalan-Math.ceil(Homekalan/2);	Homeobjc.style.left=""+(Homeicwidth-Homekalan)+"px";	Homeobjn.style.left=""+Homekalan+"px";	    if(Homekalan<=0)    {		Homerealcurrent=Homevnext;		HomeShowCurrentDesc();	HomeHighlightCurrTumb();            HomeSonraki();        Homekalan=Homeicwidth;	Homeobjn.style.left=""+Homekalan+"px";		    	        Homezindx();	Homejbtype=0;                  if(Hometam==0){Homedevam("HomeDoBlindX",4000);}        else{Hometimeo=setTimeout('HomeDoBlindX()',4000);}    }    else    {        setTimeout('HomeDoBlindX()',50);        }}function HomeDoBlindY(){	Homejbtype=1;	HomeHideCurrentDesc();  	Homekalan=Homekalan-Math.ceil(Homekalan/2);	Homeobjc.style.top=""+(Homeicheight-Homekalan)+"px";	Homeobjn.style.top=""+Homekalan+"px";	    if(Homekalan<=0)    {		Homerealcurrent=Homevnext;		HomeShowCurrentDesc();HomeHighlightCurrTumb();        HomeSonraki();        Homekalan=Homeicheight;	    Homeobjn.style.top=""+Homekalan+"px";                Homezindx();                 	Homejbtype=0;        if(Hometam==0){Homedevam("HomeDoBlindY",4000);}        else{Hometimeo=setTimeout('HomeDoBlindY()',4000);}        }    else    {        setTimeout('HomeDoBlindY()',50);        } }function Homeinitte2(){	Homethumbs_obj=document.getElementById('Homethumbsid');	Homemoving_obj=document.getElementById('Homemovingdiv');	Homevssdiv=document.getElementById("Homedv");	if(5>0)	{		Homeobjc=document.getElementById('Homed'+0);			Homeobjc.style.visibility="visible";		}	if(5>1)	{		Homevcurr=0;		Homevnext=0;		Homerealcurrent=0;        if(Homefademi==0)        {			Homevcurr=0;			Homevnext=1;			Homerealcurrent=0;			setTimeout('Homedotrans()',4000);                }        else if(Homefademi==1)        {            if(IEB==true)            {	    		HomeSonraki();			HomeShowCurrentDesc();			HomeHighlightCurrTumb();	    		Homedevam("Homedotrans",4000);                       }            else            {	    		HomeSonraki();			HomeShowCurrentDesc();			HomeHighlightCurrTumb();	    		Homedevam("Homebeftrans",4000);                        }        }         else if(Homefademi==2)        {		Homekalan=Homeicwidth;     		HomeSonraki();		Homerealcurrent=0;		HomeShowCurrentDesc();		HomeHighlightCurrTumb();		Homeobjn.style.left=""+Homekalan+"px";          			Homezindx();            		Homedevam("HomeDoSlide",4000);		   	                }        else if(Homefademi==3)        {		Homekalan=Homeicheight;            		HomeSonraki();		Homerealcurrent=0;		HomeShowCurrentDesc();		HomeHighlightCurrTumb();		Homeobjn.style.top=""+Homekalan+"px";            			Homezindx();                        		Homedevam("HomeDoScrollUp",4000);               }                  else if(Homefademi==4)        {                        Homekalan=Homeicwidth;                        HomeSonraki();		Homerealcurrent=0;		HomeShowCurrentDesc();HomeHighlightCurrTumb();        	Homeobjn.style.left=""+Homekalan+"px";	            	            Homezindx();                                   Homedevam("HomeDoBlindX",4000);                 }            else if(Homefademi==5)        {                        Homekalan=Homeicheight;                        HomeSonraki();		Homerealcurrent=0;		HomeShowCurrentDesc();HomeHighlightCurrTumb();        	Homeobjn.style.top=""+Homekalan+"px";            	            Homezindx();                                  Homedevam("HomeDoBlindY",4000);                 }												}}function Homeinitte(){	i=0;	innertxt="";	for(i=0;i<5;i++)	{		innertxt=innertxt+dstr1+"Homed"+i+dstr2+dstr23+Homelinkstr[i]+dstr3+i+dstr4+Homeimgstr[i]+dstr5+Homeclslinkstr[i]+dstr56+dstr6;	}	spage=document.getElementById('Homedv');	spage.innerHTML=""+innertxt;    setTimeout('Homeinitte2()',100);}function HomeBas(){        Homes=new Homesl();        Homes.Homeinitte();}setTimeout('HomeBas()',100);
