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 tourss=null;var toursdescgoster=0;var toursthumbgoster=0;var tourscwidth=0;var tourscheight=0;var tourscalc=0;var tourstam=0;var tourskalan=0;var tourskalany=0;var toursts="";var toursds="";var toursjbtype=0;var toursrealcurrent=0;var tourstimeo=null;toursthumbs_obj=null;toursmoving_obj=null;toursTotalThumbWidth=0;toursTotalThumbHeight=0;toursMoveIcWidth=0;var TBW=0;var CursorStr="default";var toursDescCalcWidth=0;var toursDescCalcHeight=0;var toursDescCalcIcWidth=0;var toursDescCalcIcHeight=0;var MoveWidth=0;var ThumbAreaWidth=340;var ThumbAreaHeight=340;toursimgarr=new Array();toursthumbimgstr=new Array();toursimgstr=new Array();tourslinkstr=new Array();toursclslinkstr=new Array();tourstitarr=new Array();toursdesarr=new Array();toursimgarr[0]=new Image();toursimgarr[0].c=0;toursimgarr[0].onload = tourssecondcomplate;toursimgarr[0].src=toursfoldername+'collette.jpg';toursimgstr[0]=toursfoldername+'collette.jpg';toursthumbimgstr[0]=toursfoldername+'collette.jpg';tourslinkstr[0]='<a href="http://www.cheapertravel.com/tours/Collette" target="_self" style="text-decoration: none;">';toursclslinkstr[0]='</a>';tourstitarr[0]="";toursdesarr[0]="";toursimgarr[1]=new Image();toursimgarr[1].c=0;toursimgarr[1].onload = tourssecondcomplate;toursimgarr[1].src=toursfoldername+'contiki.jpg';toursimgstr[1]=toursfoldername+'contiki.jpg';toursthumbimgstr[1]=toursfoldername+'contiki.jpg';tourslinkstr[1]='<a href="http://www.cheapertravel.com/tours/Contiki" target="_self" style="text-decoration: none;">';toursclslinkstr[1]='</a>';tourstitarr[1]="";toursdesarr[1]="";toursimgarr[2]=new Image();toursimgarr[2].c=0;toursimgarr[2].onload = tourssecondcomplate;toursimgarr[2].src=toursfoldername+'trafalgar-2.jpg';toursimgstr[2]=toursfoldername+'trafalgar-2.jpg';toursthumbimgstr[2]=toursfoldername+'trafalgar-2.jpg';tourslinkstr[2]='<a href="http://www.cheapertravel.com/tours/Trafalgar" target="_self" style="text-decoration: none;">';toursclslinkstr[2]='</a>';tourstitarr[2]="";toursdesarr[2]="";toursimgarr[3]=new Image();toursimgarr[3].c=0;toursimgarr[3].onload = tourssecondcomplate;toursimgarr[3].src=toursfoldername+'globus.jpg';toursimgstr[3]=toursfoldername+'globus.jpg';toursthumbimgstr[3]=toursfoldername+'globus.jpg';tourslinkstr[3]='<a href="http://www.cheapertravel.com/tours/Globus" target="_self" style="text-decoration: none;">';toursclslinkstr[3]='</a>';tourstitarr[3]="";toursdesarr[3]="";toursimgarr[4]=new Image();toursimgarr[4].c=0;toursimgarr[4].onload = tourssecondcomplate;toursimgarr[4].src=toursfoldername+'trafalgar-1.jpg';toursimgstr[4]=toursfoldername+'trafalgar-1.jpg';toursthumbimgstr[4]=toursfoldername+'trafalgar-1.jpg';tourslinkstr[4]='<a href="http://www.cheapertravel.com/tours/Trafalgar" target="_self" style="text-decoration: none;">';toursclslinkstr[4]='</a>';tourstitarr[4]="";toursdesarr[4]="";if((IEB==true)&&(scompat == "BackCompat" )){    tourscwidth=465;    tourscheight=254;}else{    tourscwidth=465-2*(0);    tourscheight=254-2*(0);}var toursicwidth=465-2*(0);var toursicheight=254-2*(0);toursDescCalcWidth=260;toursDescCalcHeight=80;if((IEB==true)&&(scompat == "BackCompat" )){	toursDescCalcIcWidth=toursDescCalcWidth;	toursDescCalcIcHeight=toursDescCalcHeight;}else{    toursDescCalcIcWidth=toursDescCalcWidth-2*(2)-2*(3);    toursDescCalcIcHeight=toursDescCalcHeight-2*(2)-2*(3);}document.write('<div style="position:relative;width:'+tourscwidth+'px;height:'+tourscheight+'px;overflow:hidden;border-style:'+'solid'+';border-width:'+0+'px;border-color:#'+'CCCCCC'+';'+''+''+'">');document.write('<div id="toursdv" style="position:relative;width:'+toursicwidth+'px;height:'+toursicheight+'px;overflow:hidden;padding:0px;margin:0px;z-index:1;'+'FILTER: progid:DXImageTransform.Microsoft.Fade(Overlap=1.00,duration=2,enabled=false);'+'"'+' onfilterchange=toursFadeBitti()'+'></div>');for(i=0;i<5;i++){	if(0==0){toursds=toursds+tourslinkstr[i];if(tourslinkstr[i].length>2){CursorStr="pointer";}else{CursorStr="default";}}	toursds=toursds+'<div id="toursdesc'+i+'" style="position:absolute;top:'+120+'px;left:'+10+'px;width:'+toursDescCalcWidth+'px;height:'+toursDescCalcHeight+'px;visibility:hidden;overflow:hidden;cursor:'+CursorStr+';z-index:20;">';	toursds=toursds+'<div style="position:absolute;left:0px;top:0px;width:'+toursDescCalcWidth+'px;height:'+toursDescCalcHeight+'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>';	toursds=toursds+'<div style="position:relative;left:0px;top:0px;width:'+toursDescCalcIcWidth+'px;height:'+toursDescCalcIcHeight+'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;">';	toursds=toursds+'<span style="color:#'+'FECE3F'+';font-family:'+'arial'+';font-style:'+'normal'+';font-size: '+'14px'+';font-weight:'+'bold'+';text-decoration:'+'none'+';">'+tourstitarr[i]+'</span><br />'+toursdesarr[i];	toursds=toursds+'</div>';	toursds=toursds+'</div>';	if(0==0){toursds=toursds+toursclslinkstr[i];}	}document.write(''+toursds);function toursShowCurrentDesc(){	if((toursdescgoster==1)&&( (tourstitarr[toursrealcurrent].length>0) || (toursdesarr[toursrealcurrent].length>0)  ))	{		after_des=document.getElementById('toursdesc'+toursrealcurrent);		after_des.style.visibility="visible";		}}function toursHideCurrentDesc(){	before_des=document.getElementById('toursdesc'+toursvcurr);	before_des.style.visibility="hidden";}function toursHighlightCurrTumb(){	if((0==1)&&(0==0))	{		toursbeforethumb=document.getElementById('toursthumb'+toursvcurr);		toursafterthumb=document.getElementById('toursthumb'+toursrealcurrent);		toursbeforethumb.style.borderColor='999999';		toursafterthumb.style.borderColor='990000';	}}document.write('</div>');function tourszindx(){	toursobjn.style.visibility="visible";	toursobjc.style.zIndex=2;	toursobjn.style.zIndex=3;    }function toursThumbOut(tobj,nm){	if((toursvcurr==nm)&&(0==0))	{}	else	{		tobj.style.borderColor='999999';	}}function toursThumbOver(tobj,nm){	tobj.style.borderColor='990000';}function toursSonrakiClick(c,n){	toursvcurr=c;	toursvnext=n;			toursobjc=document.getElementById('toursd'+toursvcurr);	toursobjn=document.getElementById('toursd'+toursvnext);		if(toursfademi!=1)	{		toursobjc.style.visibility="visible";			toursobjn.style.visibility="visible";		}		}function toursSonraki(){	toursvcurr=toursvnext;	toursvnext=toursvnext+1;		if(toursvnext>=5)	{		toursvnext=0;		tourstam=1;	}		toursobjc=document.getElementById('toursd'+toursvcurr);	toursobjn=document.getElementById('toursd'+toursvnext);		      }function tourssecondcomplate(){	this.c=1;}function toursdevam(fm,pt){	if((toursimgarr[toursvnext].c==1)&&(toursimgarr[toursvcurr].c==1))	{		tourstimeo=setTimeout(fm+'()',pt);	}	else	{		setTimeout('toursdevam("'+fm+'")',500);	}	var tourscagain=1;	for(i=0;i<5;i++)	{		if(toursimgarr[i].c==1){}		else{tourscagain=0;}	}	if(tourscagain==1){tourstam=1;}}function ThumbClick(clicked_img,tobj){	if(toursjbtype==1){return;}	clearTimeout(tourstimeo);	toursSonrakiClick(toursrealcurrent,clicked_img);	if(toursfademi==1)        {            if(IEB==true)            {		if(tourstam==0)		{	    		toursdevam("toursdotrans",4000);		}		else		{			toursdotrans();		}            }            else            {		if(tourstam==0)		{    			toursdevam("toursbeftrans",4000);		}		else		{			toursbeftrans();		}            }        }	else if(toursfademi==2)	{		if(tourstam==0)		{ 			toursdevam("toursDoSlide",4000);		}		else		{			toursDoSlide();		}	}	else if(toursfademi==3)	{		if(tourstam==0)		{ 			toursdevam("toursDoScrollUp",4000);		}		else		{			toursDoScrollUp();		}	}	else if(toursfademi==4)	{		if(tourstam==0)		{ 			toursdevam("toursDoBlindX",4000);		}		else		{			toursDoBlindX();		}	}	else if(toursfademi==5)	{		if(tourstam==0)		{ 			toursdevam("toursDoBlindY",4000);		}		else		{			toursDoBlindY();		}	}	}function tourssl(){toursfademi=1;toursvcurr=0;toursvnext=0;toursvssdiv=null;stepc=20*(2);toursdif=0.00;toursop=1.00;toursdif=(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:'+toursicwidth+'px;height:'+toursicheight+'px;left:0px;top:0px;padding:0px;margin:0px;text-align:'+'center'+';vertical-align:'+'middle'+';">';dstr3='<img id="toursimg';dstr4='" src="';dstr5='"  border="0" style="position:relative;border-style:'+'solid'+';border-width:'+'0'+'px;border-color:'+'#CCCCCC'+';'+""+'" alt=""></img>';dstr56='</td></tr></table>';dstr6='</div>';this.toursdotrans=toursdotrans;this.toursinitte=toursinitte;this.toursinitte2=toursinitte2;this.toursbeftrans=toursbeftrans;this.toursdotransff=toursdotransff;}function toursFadeBitti(){	toursjbtype=0;	toursShowCurrentDesc();	}function toursdotrans(){	toursjbtype=1;	toursHideCurrentDesc();	if(IEB==true){toursvssdiv.filters[0].apply();}	toursobjc.style.visibility="hidden";	toursobjn.style.visibility="visible";	if(IEB==true){toursvssdiv.filters[0].play();}	toursrealcurrent=toursvnext;	toursHighlightCurrTumb();	toursSonraki();			if(tourstam==0){toursdevam("toursdotrans",((1000*2)+4000));}	else	{		tourstimeo=setTimeout('toursdotrans()',((1000*2)+4000));	} 	}function toursdotransff(){	toursop=toursop-toursdif;		if(toursop<(0.00)){toursop=0.00;}	toursobjc.style.opacity = toursop;	toursobjn.style.opacity = 1.00-toursop;	if(toursop>(0.00))	{		setTimeout('toursdotransff()',50);	}	else	{		toursobjc.style.zIndex=2;		toursobjn.style.zIndex=3;		toursrealcurrent=toursvnext;		toursShowCurrentDesc();		toursHighlightCurrTumb();				toursSonraki();			        if(tourstam==0){toursdevam("toursbeftrans",4000);}        	else {tourstimeo=setTimeout('toursbeftrans()',4000);}		toursjbtype=0;  					}}function toursbeftrans(){	toursjbtype=1;	toursHideCurrentDesc();    	toursop=1.00;	toursobjc.style.visibility="visible";	toursobjn.style.visibility="visible";		toursobjc.style.zIndex=3;	toursobjn.style.zIndex=2;		toursobjc.style.opacity = 1.00;		toursobjn.style.opacity = 1.00;			toursdotransff();	}function toursDoSlide(){	toursjbtype=1;	toursHideCurrentDesc();	tourskalan=tourskalan-Math.ceil(tourskalan/2);	toursobjc.style.left=""+(tourskalan-toursicwidth)+"px";	toursobjn.style.left=""+tourskalan+"px";		if(tourskalan<=0)	{		toursrealcurrent=toursvnext;		toursShowCurrentDesc();		toursHighlightCurrTumb();    		toursSonraki();		tourskalan=toursicwidth;		toursobjn.style.left=""+tourskalan+"px";	        		tourszindx();          		toursjbtype=0;        		if(tourstam==0){toursdevam("toursDoSlide",4000);}		else {tourstimeo=setTimeout('toursDoSlide()',4000);}	}	else	{		setTimeout('toursDoSlide()',50);    	} }function toursDoScrollUp(){	toursjbtype=1;	toursHideCurrentDesc();	tourskalan=tourskalan-Math.ceil(tourskalan/2);	toursobjc.style.top=""+(tourskalan-toursicheight)+"px";	toursobjn.style.top=""+tourskalan+"px";	    if(tourskalan<=0)    {	toursrealcurrent=toursvnext;	toursShowCurrentDesc();	toursHighlightCurrTumb();        toursSonraki();        tourskalan=toursicheight;	toursobjn.style.top=""+tourskalan+"px";	        tourszindx();                 	toursjbtype=0;        if(tourstam==0){toursdevam('toursDoScrollUp',4000);}        else{tourstimeo=setTimeout('toursDoScrollUp()',4000);}        }    else    {        setTimeout('toursDoScrollUp()',50);        }}function toursDoBlindX(){	toursjbtype=1;	toursHideCurrentDesc();   	tourskalan=tourskalan-Math.ceil(tourskalan/2);	toursobjc.style.left=""+(toursicwidth-tourskalan)+"px";	toursobjn.style.left=""+tourskalan+"px";	    if(tourskalan<=0)    {		toursrealcurrent=toursvnext;		toursShowCurrentDesc();	toursHighlightCurrTumb();            toursSonraki();        tourskalan=toursicwidth;	toursobjn.style.left=""+tourskalan+"px";		    	        tourszindx();	toursjbtype=0;                  if(tourstam==0){toursdevam("toursDoBlindX",4000);}        else{tourstimeo=setTimeout('toursDoBlindX()',4000);}    }    else    {        setTimeout('toursDoBlindX()',50);        }}function toursDoBlindY(){	toursjbtype=1;	toursHideCurrentDesc();  	tourskalan=tourskalan-Math.ceil(tourskalan/2);	toursobjc.style.top=""+(toursicheight-tourskalan)+"px";	toursobjn.style.top=""+tourskalan+"px";	    if(tourskalan<=0)    {		toursrealcurrent=toursvnext;		toursShowCurrentDesc();toursHighlightCurrTumb();        toursSonraki();        tourskalan=toursicheight;	    toursobjn.style.top=""+tourskalan+"px";                tourszindx();                 	toursjbtype=0;        if(tourstam==0){toursdevam("toursDoBlindY",4000);}        else{tourstimeo=setTimeout('toursDoBlindY()',4000);}        }    else    {        setTimeout('toursDoBlindY()',50);        } }function toursinitte2(){	toursthumbs_obj=document.getElementById('toursthumbsid');	toursmoving_obj=document.getElementById('toursmovingdiv');	toursvssdiv=document.getElementById("toursdv");	if(5>0)	{		toursobjc=document.getElementById('toursd'+0);			toursobjc.style.visibility="visible";		}	if(5>1)	{		toursvcurr=0;		toursvnext=0;		toursrealcurrent=0;        if(toursfademi==0)        {			toursvcurr=0;			toursvnext=1;			toursrealcurrent=0;			setTimeout('toursdotrans()',4000);                }        else if(toursfademi==1)        {            if(IEB==true)            {	    		toursSonraki();			toursShowCurrentDesc();			toursHighlightCurrTumb();	    		toursdevam("toursdotrans",4000);                       }            else            {	    		toursSonraki();			toursShowCurrentDesc();			toursHighlightCurrTumb();	    		toursdevam("toursbeftrans",4000);                        }        }         else if(toursfademi==2)        {		tourskalan=toursicwidth;     		toursSonraki();		toursrealcurrent=0;		toursShowCurrentDesc();		toursHighlightCurrTumb();		toursobjn.style.left=""+tourskalan+"px";          			tourszindx();            		toursdevam("toursDoSlide",4000);		   	                }        else if(toursfademi==3)        {		tourskalan=toursicheight;            		toursSonraki();		toursrealcurrent=0;		toursShowCurrentDesc();		toursHighlightCurrTumb();		toursobjn.style.top=""+tourskalan+"px";            			tourszindx();                        		toursdevam("toursDoScrollUp",4000);               }                  else if(toursfademi==4)        {                        tourskalan=toursicwidth;                        toursSonraki();		toursrealcurrent=0;		toursShowCurrentDesc();toursHighlightCurrTumb();        	toursobjn.style.left=""+tourskalan+"px";	            	            tourszindx();                                   toursdevam("toursDoBlindX",4000);                 }            else if(toursfademi==5)        {                        tourskalan=toursicheight;                        toursSonraki();		toursrealcurrent=0;		toursShowCurrentDesc();toursHighlightCurrTumb();        	toursobjn.style.top=""+tourskalan+"px";            	            tourszindx();                                  toursdevam("toursDoBlindY",4000);                 }												}}function toursinitte(){	i=0;	innertxt="";	for(i=0;i<5;i++)	{		innertxt=innertxt+dstr1+"toursd"+i+dstr2+dstr23+tourslinkstr[i]+dstr3+i+dstr4+toursimgstr[i]+dstr5+toursclslinkstr[i]+dstr56+dstr6;	}	spage=document.getElementById('toursdv');	spage.innerHTML=""+innertxt;    setTimeout('toursinitte2()',100);}function toursBas(){        tourss=new tourssl();        tourss.toursinitte();}setTimeout('toursBas()',100);