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 threebedoceans=null;var threebedoceandescgoster=1;var threebedoceanthumbgoster=1;var threebedoceancwidth=0;var threebedoceancheight=0;var threebedoceancalc=0;var threebedoceantam=0;var threebedoceankalan=0;var threebedoceankalany=0;var threebedoceants="";var threebedoceands="";var threebedoceanjbtype=0;var threebedoceanrealcurrent=0;var threebedoceantimeo=null;threebedoceanthumbs_obj=null;threebedoceanmoving_obj=null;threebedoceanTotalThumbWidth=0;threebedoceanTotalThumbHeight=0;threebedoceanMoveIcWidth=0;var TBW=0;var CursorStr="default";var threebedoceanDescCalcWidth=0;var threebedoceanDescCalcHeight=0;var threebedoceanDescCalcIcWidth=0;var threebedoceanDescCalcIcHeight=0;var MoveWidth=0;var ThumbAreaWidth=600;var ThumbAreaHeight=70;threebedoceanimgarr=new Array();threebedoceanthumbimgstr=new Array();threebedoceanimgstr=new Array();threebedoceanlinkstr=new Array();threebedoceanclslinkstr=new Array();threebedoceantitarr=new Array();threebedoceandesarr=new Array();threebedoceanimgarr[0]=new Image();threebedoceanimgarr[0].c=0;threebedoceanimgarr[0].onload = threebedoceansecondcomplate;threebedoceanimgarr[0].src=threebedoceanfoldername+'0022BensonphotoCopyright.jpg';threebedoceanimgstr[0]=threebedoceanfoldername+'0022BensonphotoCopyright.jpg';threebedoceanthumbimgstr[0]=threebedoceanfoldername+'0022BensonphotoCopyright.jpg';threebedoceanlinkstr[0]='';threebedoceanclslinkstr[0]='';threebedoceantitarr[0]="";threebedoceandesarr[0]="Apartment sample 1";threebedoceanimgarr[1]=new Image();threebedoceanimgarr[1].c=0;threebedoceanimgarr[1].onload = threebedoceansecondcomplate;threebedoceanimgarr[1].src=threebedoceanfoldername+'0023BensonphotoCopyright.jpg';threebedoceanimgstr[1]=threebedoceanfoldername+'0023BensonphotoCopyright.jpg';threebedoceanthumbimgstr[1]=threebedoceanfoldername+'0023BensonphotoCopyright.jpg';threebedoceanlinkstr[1]='';threebedoceanclslinkstr[1]='';threebedoceantitarr[1]="";threebedoceandesarr[1]="Apartment sample 1";threebedoceanimgarr[2]=new Image();threebedoceanimgarr[2].c=0;threebedoceanimgarr[2].onload = threebedoceansecondcomplate;threebedoceanimgarr[2].src=threebedoceanfoldername+'0024BensonphotoCopyright.jpg';threebedoceanimgstr[2]=threebedoceanfoldername+'0024BensonphotoCopyright.jpg';threebedoceanthumbimgstr[2]=threebedoceanfoldername+'0024BensonphotoCopyright.jpg';threebedoceanlinkstr[2]='';threebedoceanclslinkstr[2]='';threebedoceantitarr[2]="";threebedoceandesarr[2]="Apartment sample 1";threebedoceanimgarr[3]=new Image();threebedoceanimgarr[3].c=0;threebedoceanimgarr[3].onload = threebedoceansecondcomplate;threebedoceanimgarr[3].src=threebedoceanfoldername+'0040BensonphotoCopyright.jpg';threebedoceanimgstr[3]=threebedoceanfoldername+'0040BensonphotoCopyright.jpg';threebedoceanthumbimgstr[3]=threebedoceanfoldername+'0040BensonphotoCopyright.jpg';threebedoceanlinkstr[3]='';threebedoceanclslinkstr[3]='';threebedoceantitarr[3]="";threebedoceandesarr[3]="Apartment sample 2";threebedoceanimgarr[4]=new Image();threebedoceanimgarr[4].c=0;threebedoceanimgarr[4].onload = threebedoceansecondcomplate;threebedoceanimgarr[4].src=threebedoceanfoldername+'0041BensonphotoCopyright.jpg';threebedoceanimgstr[4]=threebedoceanfoldername+'0041BensonphotoCopyright.jpg';threebedoceanthumbimgstr[4]=threebedoceanfoldername+'0041BensonphotoCopyright.jpg';threebedoceanlinkstr[4]='';threebedoceanclslinkstr[4]='';threebedoceantitarr[4]="";threebedoceandesarr[4]="Apartment sample 2";threebedoceanimgarr[5]=new Image();threebedoceanimgarr[5].c=0;threebedoceanimgarr[5].onload = threebedoceansecondcomplate;threebedoceanimgarr[5].src=threebedoceanfoldername+'0043BensonphotoCopyright.jpg';threebedoceanimgstr[5]=threebedoceanfoldername+'0043BensonphotoCopyright.jpg';threebedoceanthumbimgstr[5]=threebedoceanfoldername+'0043BensonphotoCopyright.jpg';threebedoceanlinkstr[5]='';threebedoceanclslinkstr[5]='';threebedoceantitarr[5]="";threebedoceandesarr[5]="Apartment sample 2";threebedoceanimgarr[6]=new Image();threebedoceanimgarr[6].c=0;threebedoceanimgarr[6].onload = threebedoceansecondcomplate;threebedoceanimgarr[6].src=threebedoceanfoldername+'0044BensonphotoCopyright.jpg';threebedoceanimgstr[6]=threebedoceanfoldername+'0044BensonphotoCopyright.jpg';threebedoceanthumbimgstr[6]=threebedoceanfoldername+'0044BensonphotoCopyright.jpg';threebedoceanlinkstr[6]='';threebedoceanclslinkstr[6]='';threebedoceantitarr[6]="";threebedoceandesarr[6]="Apartment sample 2";threebedoceanimgarr[7]=new Image();threebedoceanimgarr[7].c=0;threebedoceanimgarr[7].onload = threebedoceansecondcomplate;threebedoceanimgarr[7].src=threebedoceanfoldername+'0046BensonphotoCopyright.jpg';threebedoceanimgstr[7]=threebedoceanfoldername+'0046BensonphotoCopyright.jpg';threebedoceanthumbimgstr[7]=threebedoceanfoldername+'0046BensonphotoCopyright.jpg';threebedoceanlinkstr[7]='';threebedoceanclslinkstr[7]='';threebedoceantitarr[7]="";threebedoceandesarr[7]="Apartment sample 2";threebedoceanimgarr[8]=new Image();threebedoceanimgarr[8].c=0;threebedoceanimgarr[8].onload = threebedoceansecondcomplate;threebedoceanimgarr[8].src=threebedoceanfoldername+'0048BensonphotoCopyright.jpg';threebedoceanimgstr[8]=threebedoceanfoldername+'0048BensonphotoCopyright.jpg';threebedoceanthumbimgstr[8]=threebedoceanfoldername+'0048BensonphotoCopyright.jpg';threebedoceanlinkstr[8]='';threebedoceanclslinkstr[8]='';threebedoceantitarr[8]="";threebedoceandesarr[8]="Apartment sample 2";if((IEB==true)&&(scompat == "BackCompat" )){    threebedoceancwidth=600;    threebedoceancheight=500;}else{    threebedoceancwidth=600-2*(0);    threebedoceancheight=500-2*(0);}var threebedoceanicwidth=600-2*(0);var threebedoceanicheight=500-2*(0);threebedoceanDescCalcWidth=260;threebedoceanDescCalcHeight=80;if((IEB==true)&&(scompat == "BackCompat" )){	threebedoceanDescCalcIcWidth=threebedoceanDescCalcWidth;	threebedoceanDescCalcIcHeight=threebedoceanDescCalcHeight;}else{    threebedoceanDescCalcIcWidth=threebedoceanDescCalcWidth-2*(0)-2*(3);    threebedoceanDescCalcIcHeight=threebedoceanDescCalcHeight-2*(0)-2*(3);}document.write('<div style="position:relative;width:'+threebedoceancwidth+'px;height:'+threebedoceancheight+'px;overflow:hidden;border-style:'+'solid'+';border-width:'+0+'px;border-color:#'+'CCCCCC'+';'+''+''+'">');document.write('<div id="threebedoceandv" style="position:relative;width:'+threebedoceanicwidth+'px;height:'+threebedoceanicheight+'px;overflow:hidden;padding:0px;margin:0px;z-index:1;'+'FILTER: progid:DXImageTransform.Microsoft.Fade(Overlap=1.00,duration=2,enabled=false);'+'"'+' onfilterchange=threebedoceanFadeBitti()'+'></div>');for(i=0;i<9;i++){	if(0==0){threebedoceands=threebedoceands+threebedoceanlinkstr[i];if(threebedoceanlinkstr[i].length>2){CursorStr="pointer";}else{CursorStr="default";}}	threebedoceands=threebedoceands+'<div id="threebedoceandesc'+i+'" style="position:absolute;top:'+80+'px;left:'+0+'px;width:'+threebedoceanDescCalcWidth+'px;height:'+threebedoceanDescCalcHeight+'px;visibility:hidden;overflow:hidden;cursor:'+CursorStr+';z-index:20;">';	threebedoceands=threebedoceands+'<div style="position:absolute;left:0px;top:0px;width:'+threebedoceanDescCalcWidth+'px;height:'+threebedoceanDescCalcHeight+'px;border-style:solid;border-width:0px;border-color:#000000;background-color:#'+'000000'+';opacity: '+'0.00'+';filter:alpha(opacity='+'0'+');-moz-opacity:'+'0.00'+';"></div>';	threebedoceands=threebedoceands+'<div style="position:relative;left:0px;top:0px;width:'+threebedoceanDescCalcIcWidth+'px;height:'+threebedoceanDescCalcIcHeight+'px;overflow:hidden;padding:'+3+'px;text-align:'+'center'+';border-style:'+'solid'+';border-width:'+0+'px;border-color:#'+'426377'+';color:#'+'FFFFFF'+';font-family:'+'arial'+';font-style:'+'normal'+';font-size: '+'18px'+';font-weight:'+'normal'+';text-decoration:'+'none'+';opacity: 1.0;filter:alpha(opacity=100);-moz-opacity:1.0;">';	threebedoceands=threebedoceands+'<span style="color:#'+'380416'+';font-family:'+'arial'+';font-style:'+'normal'+';font-size: '+'14px'+';font-weight:'+'bold'+';text-decoration:'+'none'+';">'+threebedoceantitarr[i]+'</span><br />'+threebedoceandesarr[i];	threebedoceands=threebedoceands+'</div>';	threebedoceands=threebedoceands+'</div>';	if(0==0){threebedoceands=threebedoceands+threebedoceanclslinkstr[i];}	}document.write(''+threebedoceands);function threebedoceanShowCurrentDesc(){	if((threebedoceandescgoster==1)&&( (threebedoceantitarr[threebedoceanrealcurrent].length>0) || (threebedoceandesarr[threebedoceanrealcurrent].length>0)  ))	{		after_des=document.getElementById('threebedoceandesc'+threebedoceanrealcurrent);		after_des.style.visibility="visible";		}}function threebedoceanHideCurrentDesc(){	before_des=document.getElementById('threebedoceandesc'+threebedoceanvcurr);	before_des.style.visibility="hidden";}var Xpos=0;function threebedoceanThumbMoveVert(event){	if(ThumbAreaHeight>=MoveHeight){return;}	var obj= event.target || event.srcElement;	var EX=0;	e=null;	if((IEB==true)||(OPB==true)||(CRB==true)||(SFB==true))	{		EX=parseInt(event.offsetY);		e=event.srcElement;	}	else	{		EX=parseInt(event.layerY);		e=event.target;	}	if(e.tagName=="IMG")	{		if((IEB==true)||(OPB==true)||(CRB==true)||(SFB==true)){TBW=1+1;}else{TBW=0;}		obj2=obj.offsetParent;		Xpos=EX+parseInt(obj2.style.top)+TBW+parseInt(""+threebedoceanmoving_obj.style.top);		zz=Xpos-threebedoceanTotalThumbHeight;		oran=(zz/(ThumbAreaHeight-2*threebedoceanTotalThumbHeight));		yy=Xpos-parseInt(oran*threebedoceanMoveIcHeight)-threebedoceanTotalThumbHeight;		if(yy>0){yy=0;}		if(yy<(ThumbAreaHeight-MoveHeight)){yy=ThumbAreaHeight-MoveHeight;}		threebedoceanmoving_obj.style.top=""+(yy)+  "px";	}	else	{		if(obj==threebedoceanmoving_obj)		{			Xpos=EX+parseInt(""+threebedoceanmoving_obj.style.top);			zz=Xpos-threebedoceanTotalThumbHeight;			oran=(zz/(ThumbAreaHeight-2*threebedoceanTotalThumbHeight));			yy=Xpos-parseInt(oran*threebedoceanMoveIcHeight)-threebedoceanTotalThumbHeight;			if(yy>0){yy=0;}			if(yy<(ThumbAreaHeight-MoveHeight)){yy=ThumbAreaHeight-MoveHeight;}			threebedoceanmoving_obj.style.top=""+(yy)+  "px";		}		else		{			if(obj)			{				obj2=obj.offsetParent;				if(obj2==threebedoceanmoving_obj)				{					if((IEB==true)||(OPB==true)){TBW=1;}else{TBW=0;}					if(OPB==true){TBW=TBW+1;}					Xpos=EX+parseInt(obj.style.top)+TBW+parseInt(""+threebedoceanmoving_obj.style.top);					zz=Xpos-threebedoceanTotalThumbHeight;					oran=(zz/(ThumbAreaHeight-2*threebedoceanTotalThumbHeight));					yy=Xpos-parseInt(oran*threebedoceanMoveIcHeight)-threebedoceanTotalThumbHeight;					if(yy>0){yy=0;}					if(yy<(ThumbAreaHeight-MoveHeight)){yy=ThumbAreaHeight-MoveHeight;}					threebedoceanmoving_obj.style.top=""+(yy)+  "px";					}			}		}	}}function threebedoceanThumbMoveHor(event){	if(ThumbAreaWidth>=MoveWidth){return;}	var obj= event.target || event.srcElement;	var EX=0;	e=null;	if((IEB==true)||(OPB==true)||(CRB==true)||(SFB==true))	{		EX=parseInt(event.offsetX);		e=event.srcElement;	}	else	{		EX=parseInt(event.layerX);		e=event.target;	}	if(e.tagName=="IMG")	{		if((IEB==true)||(OPB==true)||(CRB==true)||(SFB==true)){TBW=1+1;}else{TBW=0;}		obj2=obj.offsetParent;		Xpos=EX+parseInt(obj2.style.left)+TBW+parseInt(""+threebedoceanmoving_obj.style.left);		zz=Xpos-threebedoceanTotalThumbWidth;		oran=(zz/(ThumbAreaWidth-2*threebedoceanTotalThumbWidth));		yy=Xpos-parseInt(oran*threebedoceanMoveIcWidth)-threebedoceanTotalThumbWidth;		if(yy>0){yy=0;}		if(yy<(ThumbAreaWidth-MoveWidth)){yy=ThumbAreaWidth-MoveWidth;}		threebedoceanmoving_obj.style.left=""+(yy)+  "px";	}	else	{		if(obj==threebedoceanmoving_obj)		{			Xpos=EX+parseInt(""+threebedoceanmoving_obj.style.left);			zz=Xpos-threebedoceanTotalThumbWidth;			oran=(zz/(ThumbAreaWidth-2*threebedoceanTotalThumbWidth));			yy=Xpos-parseInt(oran*threebedoceanMoveIcWidth)-threebedoceanTotalThumbWidth;			if(yy>0){yy=0;}			if(yy<(ThumbAreaWidth-MoveWidth)){yy=ThumbAreaWidth-MoveWidth;}			threebedoceanmoving_obj.style.left=""+(yy)+  "px";		}		else		{			if(obj)			{				obj2=obj.offsetParent;				if(obj2==threebedoceanmoving_obj)				{					if((IEB==true)||(OPB==true)){TBW=1;}else{TBW=0;}					if(OPB==true){TBW=TBW+1;}					Xpos=EX+parseInt(obj.style.left)+TBW+parseInt(""+threebedoceanmoving_obj.style.left);					zz=Xpos-threebedoceanTotalThumbWidth;					oran=(zz/(ThumbAreaWidth-2*threebedoceanTotalThumbWidth));					yy=Xpos-parseInt(oran*threebedoceanMoveIcWidth)-threebedoceanTotalThumbWidth;					if(yy>0){yy=0;}					if(yy<(ThumbAreaWidth-MoveWidth)){yy=ThumbAreaWidth-MoveWidth;}					threebedoceanmoving_obj.style.left=""+(yy)+  "px";				}			}		}	}}threebedoceanTotalThumbWidth=60+2*1+2*1;threebedoceanTotalThumbHeight=45+2*1+2*1;if(0==0){	ThumbAreaHeight=threebedoceanTotalThumbHeight;	MoveWidth=(9*threebedoceanTotalThumbWidth)+((9-1)*3);	MoveHeight=threebedoceanTotalThumbHeight;}else{	ThumbAreaWidth=threebedoceanTotalThumbWidth;	MoveWidth=threebedoceanTotalThumbWidth;	MoveHeight=(9*threebedoceanTotalThumbHeight)+((9-1)*3);}threebedoceanMoveIcWidth=MoveWidth-2*threebedoceanTotalThumbWidth;threebedoceanMoveIcHeight=MoveHeight-2*threebedoceanTotalThumbHeight;tleft=0;ttop=0;threebedoceants=threebedoceants+'<div id="threebedoceanthumbsid" style="position:absolute;width:'+ThumbAreaWidth+'px;height:'+ThumbAreaHeight+'px;overflow:hidden;visibility:inherit;top:'+20+'px;left:'+0+'px;border-style:'+'solid'+';border-width:'+0+'px;border-color:#'+'FFFFFF'+';z-index:30;" onMousemove="threebedoceanThumbMoveHor(event)">';threebedoceants=threebedoceants+'<div id="threebedoceanaltid" style="position:absolute;width:'+ThumbAreaWidth+'px;height:'+ThumbAreaHeight+'px;overflow:hidden;visibility:inherit;top:0px;left:0px;border-style:solid;border-width:0px;border-color:#FFFFFF;z-index:31;background:#000000;opacity:0.01;filter:alpha(opacity=1);">';threebedoceants=threebedoceants+'</div>';threebedoceants=threebedoceants+'<div id="threebedoceanmovingdiv" style="position:absolute;top:0px;left:0px;z-index:32;width:'+MoveWidth+'px;height:'+MoveHeight+'px;overflow:visible;visibility:inherit;border-style:solid;border-width:0px;border-color:#00006C;z-index:32;">';for(i=0;i<9;i++){	if(0==0)	{		tleft=((i*threebedoceanTotalThumbWidth)+(i*3));		ttop=0;	}	else	{		tleft=0;		ttop=((i*threebedoceanTotalThumbHeight)+(i*3));	}	threebedoceants=threebedoceants+'<div id="threebedoceanthumb'+i+'" style="position:absolute;left:'+tleft+'px;top:'+ttop+'px;padding:'+1+'px;border-style:'+'solid'+';border-width:'+1+'px;border-color:'+'297801'+';" onclick="ThumbClick('+i+',this)" onMouseOver="threebedoceanThumbOver(this,'+i+')" onMouseOut="threebedoceanThumbOut(this,'+i+')"><img src="'+threebedoceanthumbimgstr[i]+'" style="left:0px;width:'+60+'px;height:'+45+'px;cursor:pointer;" TITLE=""></img></div>';}threebedoceants=threebedoceants+'</div>';threebedoceants=threebedoceants+'</div>';document.write(''+threebedoceants);function threebedoceanHighlightCurrTumb(){	if((1==1)&&(0==0))	{		threebedoceanbeforethumb=document.getElementById('threebedoceanthumb'+threebedoceanvcurr);		threebedoceanafterthumb=document.getElementById('threebedoceanthumb'+threebedoceanrealcurrent);		threebedoceanbeforethumb.style.borderColor='297801';		threebedoceanafterthumb.style.borderColor='426377';	}}document.write('</div>');function threebedoceanzindx(){	threebedoceanobjn.style.visibility="visible";	threebedoceanobjc.style.zIndex=2;	threebedoceanobjn.style.zIndex=3;    }function threebedoceanThumbOut(tobj,nm){	if((threebedoceanvcurr==nm)&&(0==0))	{}	else	{		tobj.style.borderColor='297801';	}}function threebedoceanThumbOver(tobj,nm){	tobj.style.borderColor='426377';}function threebedoceanSonrakiClick(c,n){	threebedoceanvcurr=c;	threebedoceanvnext=n;			threebedoceanobjc=document.getElementById('threebedoceand'+threebedoceanvcurr);	threebedoceanobjn=document.getElementById('threebedoceand'+threebedoceanvnext);}function threebedoceanSonraki(){	threebedoceanvcurr=threebedoceanvnext;	threebedoceanvnext=threebedoceanvnext+1;		if(threebedoceanvnext>=9)	{		threebedoceanvnext=0;		threebedoceantam=1;	}		threebedoceanobjc=document.getElementById('threebedoceand'+threebedoceanvcurr);	threebedoceanobjn=document.getElementById('threebedoceand'+threebedoceanvnext);		      }function threebedoceansecondcomplate(){	this.c=1;}function threebedoceandevam(fm,pt){	if((threebedoceanimgarr[threebedoceanvnext].c==1)&&(threebedoceanimgarr[threebedoceanvcurr].c==1))	{		threebedoceantimeo=setTimeout(fm+'()',pt);	}	else	{		setTimeout('threebedoceandevam("'+fm+'")',500);	}	var threebedoceancagain=1;	for(i=0;i<9;i++)	{		if(threebedoceanimgarr[i].c==1){}		else{threebedoceancagain=0;}	}	if(threebedoceancagain==1){threebedoceantam=1;}}function ThumbClick(clicked_img,tobj){	if(threebedoceanjbtype==1){return;}	clearTimeout(threebedoceantimeo);	threebedoceanSonrakiClick(threebedoceanrealcurrent,clicked_img);	if(threebedoceanfademi==1)        {            if(IEB==true)            {		if(threebedoceantam==0)		{	    		threebedoceandevam("threebedoceandotrans",4000);		}		else		{			threebedoceandotrans();		}            }            else            {		if(threebedoceantam==0)		{    			threebedoceandevam("threebedoceanbeftrans",4000);		}		else		{			threebedoceanbeftrans();		}            }        }	else if(threebedoceanfademi==2)	{		if(threebedoceantam==0)		{ 			threebedoceandevam("threebedoceanDoSlide",4000);		}		else		{			threebedoceanDoSlide();		}	}	else if(threebedoceanfademi==3)	{		if(threebedoceantam==0)		{ 			threebedoceandevam("threebedoceanDoScrollUp",4000);		}		else		{			threebedoceanDoScrollUp();		}	}	else if(threebedoceanfademi==4)	{		if(threebedoceantam==0)		{ 			threebedoceandevam("threebedoceanDoBlindX",4000);		}		else		{			threebedoceanDoBlindX();		}	}	else if(threebedoceanfademi==5)	{		if(threebedoceantam==0)		{ 			threebedoceandevam("threebedoceanDoBlindY",4000);		}		else		{			threebedoceanDoBlindY();		}	}	}function threebedoceansl(){threebedoceanfademi=1;threebedoceanvcurr=0;threebedoceanvnext=0;threebedoceanvssdiv=null;stepc=20*(2);threebedoceandif=0.00;threebedoceanop=1.00;threebedoceandif=(1.00/stepc);dstr1='<div id="';dstr2='" style="position:absolute;visibility:hidden;'+'left:0px;bottom:10px;'+'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:'+threebedoceanicwidth+'px;height:'+threebedoceanicheight+'px;left:0px;top:0px;padding:0px;margin:0px;text-align:'+'center'+';vertical-align:'+'bottom'+';">';dstr3='<img id="threebedoceanimg';dstr4='" src="';dstr5='"  border="0" style="position:relative;border-style:'+'solid'+';border-width:'+'0'+'px;border-color:'+'#137017'+';'+'width:600px;height:400px;'+'" alt=""></img>';dstr56='</td></tr></table>';dstr6='</div>';this.threebedoceandotrans=threebedoceandotrans;this.threebedoceaninitte=threebedoceaninitte;this.threebedoceaninitte2=threebedoceaninitte2;this.threebedoceanbeftrans=threebedoceanbeftrans;this.threebedoceandotransff=threebedoceandotransff;}function threebedoceanFadeBitti(){	threebedoceanjbtype=0;	threebedoceanShowCurrentDesc();	}function threebedoceandotrans(){	threebedoceanjbtype=1;	threebedoceanHideCurrentDesc();	if(IEB==true){threebedoceanvssdiv.filters[0].apply();}	threebedoceanobjc.style.visibility="hidden";	threebedoceanobjn.style.visibility="visible";	if(IEB==true){threebedoceanvssdiv.filters[0].play();}	threebedoceanrealcurrent=threebedoceanvnext;	threebedoceanHighlightCurrTumb();	threebedoceanSonraki();			if(threebedoceantam==0){threebedoceandevam("threebedoceandotrans",((1000*2)+4000));}	else	{		threebedoceantimeo=setTimeout('threebedoceandotrans()',((1000*2)+4000));	} 	}function threebedoceandotransff(){	threebedoceanop=threebedoceanop-threebedoceandif;		if(threebedoceanop<(0.00)){threebedoceanop=0.00;}	threebedoceanobjc.style.opacity = threebedoceanop;	threebedoceanobjn.style.opacity = 1.00-threebedoceanop;	if(threebedoceanop>(0.00))	{		setTimeout('threebedoceandotransff()',50);	}	else	{		threebedoceanobjc.style.zIndex=2;		threebedoceanobjn.style.zIndex=3;		threebedoceanrealcurrent=threebedoceanvnext;		threebedoceanShowCurrentDesc();		threebedoceanHighlightCurrTumb();				threebedoceanSonraki();			        if(threebedoceantam==0){threebedoceandevam("threebedoceanbeftrans",4000);}        	else {threebedoceantimeo=setTimeout('threebedoceanbeftrans()',4000);}		threebedoceanjbtype=0;  					}}function threebedoceanbeftrans(){	threebedoceanjbtype=1;	threebedoceanHideCurrentDesc();    	threebedoceanop=1.00;	threebedoceanobjc.style.visibility="visible";	threebedoceanobjn.style.visibility="visible";		threebedoceanobjc.style.zIndex=3;	threebedoceanobjn.style.zIndex=2;		threebedoceanobjc.style.opacity = 1.00;		threebedoceanobjn.style.opacity = 1.00;			threebedoceandotransff();	}function threebedoceanDoSlide(){	threebedoceanjbtype=1;	threebedoceanHideCurrentDesc();	threebedoceankalan=threebedoceankalan-Math.ceil(threebedoceankalan/2);	threebedoceanobjc.style.left=""+(threebedoceankalan-threebedoceanicwidth)+"px";	threebedoceanobjn.style.left=""+threebedoceankalan+"px";		if(threebedoceankalan<=0)	{		threebedoceanrealcurrent=threebedoceanvnext;		threebedoceanShowCurrentDesc();		threebedoceanHighlightCurrTumb();    		threebedoceanSonraki();		threebedoceankalan=threebedoceanicwidth;		threebedoceanobjn.style.left=""+threebedoceankalan+"px";	        		threebedoceanzindx();          		threebedoceanjbtype=0;        		if(threebedoceantam==0){threebedoceandevam("threebedoceanDoSlide",4000);}		else {threebedoceantimeo=setTimeout('threebedoceanDoSlide()',4000);}	}	else	{		setTimeout('threebedoceanDoSlide()',50);    	} }function threebedoceanDoScrollUp(){	threebedoceanjbtype=1;	threebedoceanHideCurrentDesc();	threebedoceankalan=threebedoceankalan-Math.ceil(threebedoceankalan/2);	threebedoceanobjc.style.top=""+(threebedoceankalan-threebedoceanicheight)+"px";	threebedoceanobjn.style.top=""+threebedoceankalan+"px";	    if(threebedoceankalan<=0)    {	threebedoceanrealcurrent=threebedoceanvnext;	threebedoceanShowCurrentDesc();	threebedoceanHighlightCurrTumb();        threebedoceanSonraki();        threebedoceankalan=threebedoceanicheight;	threebedoceanobjn.style.top=""+threebedoceankalan+"px";	        threebedoceanzindx();                 	threebedoceanjbtype=0;        if(threebedoceantam==0){threebedoceandevam('threebedoceanDoScrollUp',4000);}        else{threebedoceantimeo=setTimeout('threebedoceanDoScrollUp()',4000);}        }    else    {        setTimeout('threebedoceanDoScrollUp()',50);        }}function threebedoceanDoBlindX(){	threebedoceanjbtype=1;	threebedoceanHideCurrentDesc();   	threebedoceankalan=threebedoceankalan-Math.ceil(threebedoceankalan/2);	threebedoceanobjc.style.left=""+(threebedoceanicwidth-threebedoceankalan)+"px";	threebedoceanobjn.style.left=""+threebedoceankalan+"px";	    if(threebedoceankalan<=0)    {		threebedoceanrealcurrent=threebedoceanvnext;		threebedoceanShowCurrentDesc();	threebedoceanHighlightCurrTumb();            threebedoceanSonraki();        threebedoceankalan=threebedoceanicwidth;	threebedoceanobjn.style.left=""+threebedoceankalan+"px";		    	        threebedoceanzindx();	threebedoceanjbtype=0;                  if(threebedoceantam==0){threebedoceandevam("threebedoceanDoBlindX",4000);}        else{threebedoceantimeo=setTimeout('threebedoceanDoBlindX()',4000);}    }    else    {        setTimeout('threebedoceanDoBlindX()',50);        }}function threebedoceanDoBlindY(){	threebedoceanjbtype=1;	threebedoceanHideCurrentDesc();  	threebedoceankalan=threebedoceankalan-Math.ceil(threebedoceankalan/2);	threebedoceanobjc.style.top=""+(threebedoceanicheight-threebedoceankalan)+"px";	threebedoceanobjn.style.top=""+threebedoceankalan+"px";	    if(threebedoceankalan<=0)    {		threebedoceanrealcurrent=threebedoceanvnext;		threebedoceanShowCurrentDesc();threebedoceanHighlightCurrTumb();        threebedoceanSonraki();        threebedoceankalan=threebedoceanicheight;	    threebedoceanobjn.style.top=""+threebedoceankalan+"px";                threebedoceanzindx();                 	threebedoceanjbtype=0;        if(threebedoceantam==0){threebedoceandevam("threebedoceanDoBlindY",4000);}        else{threebedoceantimeo=setTimeout('threebedoceanDoBlindY()',4000);}        }    else    {        setTimeout('threebedoceanDoBlindY()',50);        } }function threebedoceaninitte2(){	threebedoceanthumbs_obj=document.getElementById('threebedoceanthumbsid');	threebedoceanmoving_obj=document.getElementById('threebedoceanmovingdiv');	threebedoceanvssdiv=document.getElementById("threebedoceandv");	if(9>0)	{		threebedoceanobjc=document.getElementById('threebedoceand'+0);			threebedoceanobjc.style.visibility="visible";		}	if(9>1)	{		threebedoceanvcurr=0;		threebedoceanvnext=0;		threebedoceanrealcurrent=0;        if(threebedoceanfademi==0)        {			threebedoceanvcurr=0;			threebedoceanvnext=1;			threebedoceanrealcurrent=0;			setTimeout('threebedoceandotrans()',4000);                }        else if(threebedoceanfademi==1)        {            if(IEB==true)            {	    		threebedoceanSonraki();			threebedoceanShowCurrentDesc();			threebedoceanHighlightCurrTumb();	    		threebedoceandevam("threebedoceandotrans",4000);                       }            else            {	    		threebedoceanSonraki();			threebedoceanShowCurrentDesc();			threebedoceanHighlightCurrTumb();	    		threebedoceandevam("threebedoceanbeftrans",4000);                        }        }         else if(threebedoceanfademi==2)        {		threebedoceankalan=threebedoceanicwidth;     		threebedoceanSonraki();		threebedoceanrealcurrent=0;		threebedoceanShowCurrentDesc();		threebedoceanHighlightCurrTumb();		threebedoceanobjn.style.left=""+threebedoceankalan+"px";          			threebedoceanzindx();            		threebedoceandevam("threebedoceanDoSlide",4000);		   	                }        else if(threebedoceanfademi==3)        {		threebedoceankalan=threebedoceanicheight;            		threebedoceanSonraki();		threebedoceanrealcurrent=0;		threebedoceanShowCurrentDesc();		threebedoceanHighlightCurrTumb();		threebedoceanobjn.style.top=""+threebedoceankalan+"px";            			threebedoceanzindx();                        		threebedoceandevam("threebedoceanDoScrollUp",4000);               }                  else if(threebedoceanfademi==4)        {                        threebedoceankalan=threebedoceanicwidth;                        threebedoceanSonraki();		threebedoceanrealcurrent=0;		threebedoceanShowCurrentDesc();threebedoceanHighlightCurrTumb();        	threebedoceanobjn.style.left=""+threebedoceankalan+"px";	            	            threebedoceanzindx();                                   threebedoceandevam("threebedoceanDoBlindX",4000);                 }            else if(threebedoceanfademi==5)        {                        threebedoceankalan=threebedoceanicheight;                        threebedoceanSonraki();		threebedoceanrealcurrent=0;		threebedoceanShowCurrentDesc();threebedoceanHighlightCurrTumb();        	threebedoceanobjn.style.top=""+threebedoceankalan+"px";            	            threebedoceanzindx();                                  threebedoceandevam("threebedoceanDoBlindY",4000);                 }												}}function threebedoceaninitte(){	i=0;	innertxt="";	for(i=0;i<9;i++)	{		innertxt=innertxt+dstr1+"threebedoceand"+i+dstr2+dstr23+threebedoceanlinkstr[i]+dstr3+i+dstr4+threebedoceanimgstr[i]+dstr5+threebedoceanclslinkstr[i]+dstr56+dstr6;	}	spage=document.getElementById('threebedoceandv');	spage.innerHTML=""+innertxt;    setTimeout('threebedoceaninitte2()',100);}function threebedoceanBas(){        threebedoceans=new threebedoceansl();        threebedoceans.threebedoceaninitte();}setTimeout('threebedoceanBas()',100);