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 mbhomes=null;var mbhomedescgoster=0;var mbhomethumbgoster=0;var mbhomecwidth=0;var mbhomecheight=0;var mbhomecalc=0;var mbhometam=0;var mbhomekalan=0;var mbhomekalany=0;var mbhomets="";var mbhomeds="";var mbhomejbtype=0;var mbhomerealcurrent=0;var mbhometimeo=null;mbhomethumbs_obj=null;mbhomemoving_obj=null;mbhomeTotalThumbWidth=0;mbhomeTotalThumbHeight=0;mbhomeMoveIcWidth=0;var TBW=0;var CursorStr="default";var mbhomeDescCalcWidth=0;var mbhomeDescCalcHeight=0;var mbhomeDescCalcIcWidth=0;var mbhomeDescCalcIcHeight=0;var MoveWidth=0;var ThumbAreaWidth=340;var ThumbAreaHeight=340;mbhomeimgarr=new Array();mbhomethumbimgstr=new Array();mbhomeimgstr=new Array();mbhomelinkstr=new Array();mbhomeclslinkstr=new Array();mbhometitarr=new Array();mbhomedesarr=new Array();mbhomeimgarr[0]=new Image();mbhomeimgarr[0].c=0;mbhomeimgarr[0].onload = mbhomesecondcomplate;mbhomeimgarr[0].src=mbhomefoldername+'prov.jpg';mbhomeimgstr[0]=mbhomefoldername+'prov.jpg';mbhomethumbimgstr[0]=mbhomefoldername+'prov.jpg';mbhomelinkstr[0]='';mbhomeclslinkstr[0]='';mbhometitarr[0]="";mbhomedesarr[0]="";mbhomeimgarr[1]=new Image();mbhomeimgarr[1].c=0;mbhomeimgarr[1].onload = mbhomesecondcomplate;mbhomeimgarr[1].src=mbhomefoldername+'fw.jpg';mbhomeimgstr[1]=mbhomefoldername+'fw.jpg';mbhomethumbimgstr[1]=mbhomefoldername+'fw.jpg';mbhomelinkstr[1]='<a href="/fastway/" target="_self" style="text-decoration: none;">';mbhomeclslinkstr[1]='</a>';mbhometitarr[1]="Fastway";mbhomedesarr[1]="Fastway mini-site";mbhomeimgarr[2]=new Image();mbhomeimgarr[2].c=0;mbhomeimgarr[2].onload = mbhomesecondcomplate;mbhomeimgarr[2].src=mbhomefoldername+'realtime.jpg';mbhomeimgstr[2]=mbhomefoldername+'realtime.jpg';mbhomethumbimgstr[2]=mbhomefoldername+'realtime.jpg';mbhomelinkstr[2]='<a href="real_time.php" target="_self" style="text-decoration: none;">';mbhomeclslinkstr[2]='</a>';mbhometitarr[2]="Real Time Info";mbhomedesarr[2]="Real Time Information page";mbhomeimgarr[3]=new Image();mbhomeimgarr[3].c=0;mbhomeimgarr[3].onload = mbhomesecondcomplate;mbhomeimgarr[3].src=mbhomefoldername+'lontrav.jpg';mbhomeimgstr[3]=mbhomefoldername+'lontrav.jpg';mbhomethumbimgstr[3]=mbhomefoldername+'lontrav.jpg';mbhomelinkstr[3]='<a href="http://www.tfl.gov.uk/" target="_blank" style="text-decoration: none;">';mbhomeclslinkstr[3]='</a>';mbhometitarr[3]="London Travel";mbhomedesarr[3]="London Travel Information";if((IEB==true)&&(scompat == "BackCompat" )){    mbhomecwidth=260;    mbhomecheight=150;}else{    mbhomecwidth=260-2*(0);    mbhomecheight=150-2*(0);}var mbhomeicwidth=260-2*(0);var mbhomeicheight=150-2*(0);mbhomeDescCalcWidth=260;mbhomeDescCalcHeight=80;if((IEB==true)&&(scompat == "BackCompat" )){	mbhomeDescCalcIcWidth=mbhomeDescCalcWidth;	mbhomeDescCalcIcHeight=mbhomeDescCalcHeight;}else{    mbhomeDescCalcIcWidth=mbhomeDescCalcWidth-2*(2)-2*(3);    mbhomeDescCalcIcHeight=mbhomeDescCalcHeight-2*(2)-2*(3);}document.write('<div style="position:relative;width:'+mbhomecwidth+'px;height:'+mbhomecheight+'px;overflow:hidden;border-style:'+'solid'+';border-width:'+0+'px;border-color:#'+'CCCCCC'+';'+''+''+'">');document.write('<div id="mbhomedv" style="position:relative;width:'+mbhomeicwidth+'px;height:'+mbhomeicheight+'px;overflow:hidden;padding:0px;margin:0px;z-index:1;'+'FILTER: progid:DXImageTransform.Microsoft.Fade(Overlap=1.00,duration=2,enabled=false);'+'"'+' onfilterchange=mbhomeFadeBitti()'+'></div>');for(i=0;i<4;i++){	if(0==0){mbhomeds=mbhomeds+mbhomelinkstr[i];if(mbhomelinkstr[i].length>2){CursorStr="pointer";}else{CursorStr="default";}}	mbhomeds=mbhomeds+'<div id="mbhomedesc'+i+'" style="position:absolute;top:'+120+'px;left:'+10+'px;width:'+mbhomeDescCalcWidth+'px;height:'+mbhomeDescCalcHeight+'px;visibility:hidden;overflow:hidden;cursor:'+CursorStr+';z-index:20;">';	mbhomeds=mbhomeds+'<div style="position:absolute;left:0px;top:0px;width:'+mbhomeDescCalcWidth+'px;height:'+mbhomeDescCalcHeight+'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>';	mbhomeds=mbhomeds+'<div style="position:relative;left:0px;top:0px;width:'+mbhomeDescCalcIcWidth+'px;height:'+mbhomeDescCalcIcHeight+'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;">';	mbhomeds=mbhomeds+'<span style="color:#'+'FECE3F'+';font-family:'+'arial'+';font-style:'+'normal'+';font-size: '+'14px'+';font-weight:'+'bold'+';text-decoration:'+'none'+';">'+mbhometitarr[i]+'</span><br />'+mbhomedesarr[i];	mbhomeds=mbhomeds+'</div>';	mbhomeds=mbhomeds+'</div>';	if(0==0){mbhomeds=mbhomeds+mbhomeclslinkstr[i];}	}document.write(''+mbhomeds);function mbhomeShowCurrentDesc(){	if((mbhomedescgoster==1)&&( (mbhometitarr[mbhomerealcurrent].length>0) || (mbhomedesarr[mbhomerealcurrent].length>0)  ))	{		after_des=document.getElementById('mbhomedesc'+mbhomerealcurrent);		after_des.style.visibility="visible";		}}function mbhomeHideCurrentDesc(){	before_des=document.getElementById('mbhomedesc'+mbhomevcurr);	before_des.style.visibility="hidden";}function mbhomeHighlightCurrTumb(){	if((0==1)&&(0==0))	{		mbhomebeforethumb=document.getElementById('mbhomethumb'+mbhomevcurr);		mbhomeafterthumb=document.getElementById('mbhomethumb'+mbhomerealcurrent);		mbhomebeforethumb.style.borderColor='999999';		mbhomeafterthumb.style.borderColor='990000';	}}document.write('</div>');function mbhomezindx(){	mbhomeobjn.style.visibility="visible";	mbhomeobjc.style.zIndex=2;	mbhomeobjn.style.zIndex=3;    }function mbhomeThumbOut(tobj,nm){	if((mbhomevcurr==nm)&&(0==0))	{}	else	{		tobj.style.borderColor='999999';	}}function mbhomeThumbOver(tobj,nm){	tobj.style.borderColor='990000';}function mbhomeSonrakiClick(c,n){	mbhomevcurr=c;	mbhomevnext=n;			mbhomeobjc=document.getElementById('mbhomed'+mbhomevcurr);	mbhomeobjn=document.getElementById('mbhomed'+mbhomevnext);		if(mbhomefademi!=1)	{		mbhomeobjc.style.visibility="visible";			mbhomeobjn.style.visibility="visible";		}		}function mbhomeSonraki(){	mbhomevcurr=mbhomevnext;	mbhomevnext=mbhomevnext+1;		if(mbhomevnext>=4)	{		mbhomevnext=0;		mbhometam=1;	}		mbhomeobjc=document.getElementById('mbhomed'+mbhomevcurr);	mbhomeobjn=document.getElementById('mbhomed'+mbhomevnext);		      }function mbhomesecondcomplate(){	this.c=1;}function mbhomedevam(fm,pt){	if((mbhomeimgarr[mbhomevnext].c==1)&&(mbhomeimgarr[mbhomevcurr].c==1))	{		mbhometimeo=setTimeout(fm+'()',pt);	}	else	{		setTimeout('mbhomedevam("'+fm+'")',500);	}	var mbhomecagain=1;	for(i=0;i<4;i++)	{		if(mbhomeimgarr[i].c==1){}		else{mbhomecagain=0;}	}	if(mbhomecagain==1){mbhometam=1;}}function ThumbClick(clicked_img,tobj){	if(mbhomejbtype==1){return;}	clearTimeout(mbhometimeo);	mbhomeSonrakiClick(mbhomerealcurrent,clicked_img);	if(mbhomefademi==1)        {            if(IEB==true)            {		if(mbhometam==0)		{	    		mbhomedevam("mbhomedotrans",4000);		}		else		{			mbhomedotrans();		}            }            else            {		if(mbhometam==0)		{    			mbhomedevam("mbhomebeftrans",4000);		}		else		{			mbhomebeftrans();		}            }        }	else if(mbhomefademi==2)	{		if(mbhometam==0)		{ 			mbhomedevam("mbhomeDoSlide",4000);		}		else		{			mbhomeDoSlide();		}	}	else if(mbhomefademi==3)	{		if(mbhometam==0)		{ 			mbhomedevam("mbhomeDoScrollUp",4000);		}		else		{			mbhomeDoScrollUp();		}	}	else if(mbhomefademi==4)	{		if(mbhometam==0)		{ 			mbhomedevam("mbhomeDoBlindX",4000);		}		else		{			mbhomeDoBlindX();		}	}	else if(mbhomefademi==5)	{		if(mbhometam==0)		{ 			mbhomedevam("mbhomeDoBlindY",4000);		}		else		{			mbhomeDoBlindY();		}	}	}function mbhomesl(){mbhomefademi=1;mbhomevcurr=0;mbhomevnext=0;mbhomevssdiv=null;stepc=20*(2);mbhomedif=0.00;mbhomeop=1.00;mbhomedif=(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:'+mbhomeicwidth+'px;height:'+mbhomeicheight+'px;left:0px;top:0px;padding:0px;margin:0px;text-align:'+'center'+';vertical-align:'+'middle'+';">';dstr3='<img id="mbhomeimg';dstr4='" src="';dstr5='"  border="0" style="position:relative;border-style:'+'solid'+';border-width:'+'0'+'px;border-color:'+'#CCCCCC'+';'+'width:'+mbhomeicwidth+'px;height:'+mbhomeicheight+'px;'+'" alt=""></img>';dstr56='</td></tr></table>';dstr6='</div>';this.mbhomedotrans=mbhomedotrans;this.mbhomeinitte=mbhomeinitte;this.mbhomeinitte2=mbhomeinitte2;this.mbhomebeftrans=mbhomebeftrans;this.mbhomedotransff=mbhomedotransff;}function mbhomeFadeBitti(){	mbhomejbtype=0;	mbhomeShowCurrentDesc();	}function mbhomedotrans(){	mbhomejbtype=1;	mbhomeHideCurrentDesc();	if(IEB==true){mbhomevssdiv.filters[0].apply();}	mbhomeobjc.style.visibility="hidden";	mbhomeobjn.style.visibility="visible";	if(IEB==true){mbhomevssdiv.filters[0].play();}	mbhomerealcurrent=mbhomevnext;	mbhomeHighlightCurrTumb();	mbhomeSonraki();			if(mbhometam==0){mbhomedevam("mbhomedotrans",((1000*2)+4000));}	else	{		mbhometimeo=setTimeout('mbhomedotrans()',((1000*2)+4000));	} 	}function mbhomedotransff(){	mbhomeop=mbhomeop-mbhomedif;		if(mbhomeop<(0.00)){mbhomeop=0.00;}	mbhomeobjc.style.opacity = mbhomeop;	mbhomeobjn.style.opacity = 1.00-mbhomeop;	if(mbhomeop>(0.00))	{		setTimeout('mbhomedotransff()',50);	}	else	{		mbhomeobjc.style.zIndex=2;		mbhomeobjn.style.zIndex=3;		mbhomerealcurrent=mbhomevnext;		mbhomeShowCurrentDesc();		mbhomeHighlightCurrTumb();				mbhomeSonraki();			        if(mbhometam==0){mbhomedevam("mbhomebeftrans",4000);}        	else {mbhometimeo=setTimeout('mbhomebeftrans()',4000);}		mbhomejbtype=0;  					}}function mbhomebeftrans(){	mbhomejbtype=1;	mbhomeHideCurrentDesc();    	mbhomeop=1.00;	mbhomeobjc.style.visibility="visible";	mbhomeobjn.style.visibility="visible";		mbhomeobjc.style.zIndex=3;	mbhomeobjn.style.zIndex=2;		mbhomeobjc.style.opacity = 1.00;		mbhomeobjn.style.opacity = 1.00;			mbhomedotransff();	}function mbhomeDoSlide(){	mbhomejbtype=1;	mbhomeHideCurrentDesc();	mbhomekalan=mbhomekalan-Math.ceil(mbhomekalan/2);	mbhomeobjc.style.left=""+(mbhomekalan-mbhomeicwidth)+"px";	mbhomeobjn.style.left=""+mbhomekalan+"px";		if(mbhomekalan<=0)	{		mbhomerealcurrent=mbhomevnext;		mbhomeShowCurrentDesc();		mbhomeHighlightCurrTumb();    		mbhomeSonraki();		mbhomekalan=mbhomeicwidth;		mbhomeobjn.style.left=""+mbhomekalan+"px";	        		mbhomezindx();          		mbhomejbtype=0;        		if(mbhometam==0){mbhomedevam("mbhomeDoSlide",4000);}		else {mbhometimeo=setTimeout('mbhomeDoSlide()',4000);}	}	else	{		setTimeout('mbhomeDoSlide()',50);    	} }function mbhomeDoScrollUp(){	mbhomejbtype=1;	mbhomeHideCurrentDesc();	mbhomekalan=mbhomekalan-Math.ceil(mbhomekalan/2);	mbhomeobjc.style.top=""+(mbhomekalan-mbhomeicheight)+"px";	mbhomeobjn.style.top=""+mbhomekalan+"px";	    if(mbhomekalan<=0)    {	mbhomerealcurrent=mbhomevnext;	mbhomeShowCurrentDesc();	mbhomeHighlightCurrTumb();        mbhomeSonraki();        mbhomekalan=mbhomeicheight;	mbhomeobjn.style.top=""+mbhomekalan+"px";	        mbhomezindx();                 	mbhomejbtype=0;        if(mbhometam==0){mbhomedevam('mbhomeDoScrollUp',4000);}        else{mbhometimeo=setTimeout('mbhomeDoScrollUp()',4000);}        }    else    {        setTimeout('mbhomeDoScrollUp()',50);        }}function mbhomeDoBlindX(){	mbhomejbtype=1;	mbhomeHideCurrentDesc();   	mbhomekalan=mbhomekalan-Math.ceil(mbhomekalan/2);	mbhomeobjc.style.left=""+(mbhomeicwidth-mbhomekalan)+"px";	mbhomeobjn.style.left=""+mbhomekalan+"px";	    if(mbhomekalan<=0)    {		mbhomerealcurrent=mbhomevnext;		mbhomeShowCurrentDesc();	mbhomeHighlightCurrTumb();            mbhomeSonraki();        mbhomekalan=mbhomeicwidth;	mbhomeobjn.style.left=""+mbhomekalan+"px";		    	        mbhomezindx();	mbhomejbtype=0;                  if(mbhometam==0){mbhomedevam("mbhomeDoBlindX",4000);}        else{mbhometimeo=setTimeout('mbhomeDoBlindX()',4000);}    }    else    {        setTimeout('mbhomeDoBlindX()',50);        }}function mbhomeDoBlindY(){	mbhomejbtype=1;	mbhomeHideCurrentDesc();  	mbhomekalan=mbhomekalan-Math.ceil(mbhomekalan/2);	mbhomeobjc.style.top=""+(mbhomeicheight-mbhomekalan)+"px";	mbhomeobjn.style.top=""+mbhomekalan+"px";	    if(mbhomekalan<=0)    {		mbhomerealcurrent=mbhomevnext;		mbhomeShowCurrentDesc();mbhomeHighlightCurrTumb();        mbhomeSonraki();        mbhomekalan=mbhomeicheight;	    mbhomeobjn.style.top=""+mbhomekalan+"px";                mbhomezindx();                 	mbhomejbtype=0;        if(mbhometam==0){mbhomedevam("mbhomeDoBlindY",4000);}        else{mbhometimeo=setTimeout('mbhomeDoBlindY()',4000);}        }    else    {        setTimeout('mbhomeDoBlindY()',50);        } }function mbhomeinitte2(){	mbhomethumbs_obj=document.getElementById('mbhomethumbsid');	mbhomemoving_obj=document.getElementById('mbhomemovingdiv');	mbhomevssdiv=document.getElementById("mbhomedv");	if(4>0)	{		mbhomeobjc=document.getElementById('mbhomed'+0);			mbhomeobjc.style.visibility="visible";		}	if(4>1)	{		mbhomevcurr=0;		mbhomevnext=0;		mbhomerealcurrent=0;        if(mbhomefademi==0)        {			mbhomevcurr=0;			mbhomevnext=1;			mbhomerealcurrent=0;			setTimeout('mbhomedotrans()',4000);                }        else if(mbhomefademi==1)        {            if(IEB==true)            {	    		mbhomeSonraki();			mbhomeShowCurrentDesc();			mbhomeHighlightCurrTumb();	    		mbhomedevam("mbhomedotrans",4000);                       }            else            {	    		mbhomeSonraki();			mbhomeShowCurrentDesc();			mbhomeHighlightCurrTumb();	    		mbhomedevam("mbhomebeftrans",4000);                        }        }         else if(mbhomefademi==2)        {		mbhomekalan=mbhomeicwidth;     		mbhomeSonraki();		mbhomerealcurrent=0;		mbhomeShowCurrentDesc();		mbhomeHighlightCurrTumb();		mbhomeobjn.style.left=""+mbhomekalan+"px";          			mbhomezindx();            		mbhomedevam("mbhomeDoSlide",4000);		   	                }        else if(mbhomefademi==3)        {		mbhomekalan=mbhomeicheight;            		mbhomeSonraki();		mbhomerealcurrent=0;		mbhomeShowCurrentDesc();		mbhomeHighlightCurrTumb();		mbhomeobjn.style.top=""+mbhomekalan+"px";            			mbhomezindx();                        		mbhomedevam("mbhomeDoScrollUp",4000);               }                  else if(mbhomefademi==4)        {                        mbhomekalan=mbhomeicwidth;                        mbhomeSonraki();		mbhomerealcurrent=0;		mbhomeShowCurrentDesc();mbhomeHighlightCurrTumb();        	mbhomeobjn.style.left=""+mbhomekalan+"px";	            	            mbhomezindx();                                   mbhomedevam("mbhomeDoBlindX",4000);                 }            else if(mbhomefademi==5)        {                        mbhomekalan=mbhomeicheight;                        mbhomeSonraki();		mbhomerealcurrent=0;		mbhomeShowCurrentDesc();mbhomeHighlightCurrTumb();        	mbhomeobjn.style.top=""+mbhomekalan+"px";            	            mbhomezindx();                                  mbhomedevam("mbhomeDoBlindY",4000);                 }												}}function mbhomeinitte(){	i=0;	innertxt="";	for(i=0;i<4;i++)	{		innertxt=innertxt+dstr1+"mbhomed"+i+dstr2+dstr23+mbhomelinkstr[i]+dstr3+i+dstr4+mbhomeimgstr[i]+dstr5+mbhomeclslinkstr[i]+dstr56+dstr6;	}	spage=document.getElementById('mbhomedv');	spage.innerHTML=""+innertxt;    setTimeout('mbhomeinitte2()',100);}function mbhomeBas(){        mbhomes=new mbhomesl();        mbhomes.mbhomeinitte();}setTimeout('mbhomeBas()',100);