uagent = window.navigator.userAgent.toLowerCase();IEB=(uagent.indexOf('msie') != -1)?true:false;var scompat = document.compatMode;var propertyintcomplate=0;propertyimgarr=new Array();propertyaltarr=new Array();propertylinkarr=new Array();propertytargetarr=new Array();propertytitarr=new Array();propertydesarr=new Array();propertyimgarr[0]="";propertyaltarr[0]="";propertylinkarr[0]="";propertytargetarr[0]="";propertytitarr[0]="";propertydesarr[0]="";propertyimgarr[1]="Garrapata Ridge Road copy.jpg";propertyaltarr[1]="view property";propertylinkarr[1]="http://www.lifeinbigsur.com/Property%20slideshows/GarrapataRidge/GarrapataRidge.htm";propertytargetarr[1]="_self";propertytitarr[1]="Many Points Of View on Tranquil Garrapata Ridge  ";propertydesarr[1]="Home on 81+ scenic acres situated just 10 miles south of Carmel.";propertyimgarr[2]="Cowan HWY1 copy.jpg";propertyaltarr[2]="view property";propertylinkarr[2]="http://www.lifeinbigsur.com/Property%20slideshows/Sea%20and%20Sky/Wind%20And%20Sea.htm";propertytargetarr[2]="_self";propertytitarr[2]="Wind And Sea";propertydesarr[2]="Tranquil Oceanfront on the Majestic Big Sur Coast";propertyimgarr[3]="Dolores copy.jpg";propertyaltarr[3]="view property";propertylinkarr[3]="http://www.lifeinbigsur.com/Property%20slideshows/Dolores/Dolores.htm";propertytargetarr[3]="_self";propertytitarr[3]="24726 Dolores Street, Carmel, CA";propertydesarr[3]="New Carmel Home with the Finest Quality Available";propertyimgarr[4]="Alta copy.jpg";propertyaltarr[4]="view property";propertylinkarr[4]="http://www.lifeinbigsur.com/Property%20slideshows/Alta/Alta%20Street.htm";propertytargetarr[4]="_self";propertytitarr[4]="Cozy Cottage in Carmel-by-the-Sea";propertydesarr[4]="3+ bed/4 bath, 3 fireplaces, approx. 1500 sqft.";propertyimgarr[5]="Carpenter St copy.jpg";propertyaltarr[5]="view property";propertylinkarr[5]="http://www.lifeinbigsur.com/Property%20slideshows/Carpenter/Carpenter.htm";propertytargetarr[5]="_self";propertytitarr[5]="The Perfect Carmel Cottage";propertydesarr[5]="Carpenter Street, 2 NW of 3rd, Carmel-by-the-Sea, CA.";propertyimgarr[6]="8 LaPlaya copy.jpg";propertyaltarr[6]="View Property";propertylinkarr[6]="http://www.lifeinbigsur.com/Property%20slideshows/LaPlaya/LaPlaya.htm";propertytargetarr[6]="_self";propertytitarr[6]="8 La Playa";propertydesarr[6]="Waterfront in Monterey, CA.";propertyimgarr[7]="Cabin copy.jpg";propertyaltarr[7]="view property";propertylinkarr[7]="http://www.lifeinbigsur.com/Property%20slideshows/GarrapataCabin/GarrapataCabin.htm";propertytargetarr[7]="_self";propertytitarr[7]="Garrapata Ridge Cabin";propertydesarr[7]="1 bedroom/1 bath: approx. 980 sqft on 15 acres";propertyimgarr[8]="MLS copy.jpg";propertyaltarr[8]="Search the MLS";propertylinkarr[8]="../MLS/Home_Search.htm";propertytargetarr[8]="_self";propertytitarr[8]="Search The Mutliple Listing Service";propertydesarr[8]="";var gnrated='';var propertystepcount=20;var propertycurrstep=10;var propertytimeo=null;var propertyhorvert=0;var propertyllllll=0;var propertylllllll=0;var propertyllllllll=0;var propertyll=new Array();var propertylll=new Array();var propertyllll=new Array();var propertystartposx=new Array();var propertylllll=new Array();var i=0;var propertylllllllll=0;var propertyDescCalcLeftBir=0;var propertyDescCalcLeft=0;var propertyDescCalcWidth=0;var propertyDescCalcHeight=0;var propertyDescCalcIcWidth=0;var propertyDescCalcIcHeight=0;var propertyhpiece='';var propertyds="";var propertyIEDescOpacity=100;var propertyFFOpacity=1.0;var propertyDescFadeEffectTimer=null;var propertyAutoPlayTimer=null;var propertyAutoPlayCurrent=1;var propertyicerdemi=0;function propertyWriteDesc(){	if(propertylinkarr[i].length>2){propertyds=propertyds+'<a href="'+propertylinkarr[i]+'" target="'+propertytargetarr[i]+'" style="text-decoration:none;">';}	propertyds=propertyds+'<div id="propertyadesc'+i+'" style="position:absolute;top:'+275+'px;left:0px;width:'+propertyDescCalcWidth+'px;height:'+propertyDescCalcHeight+'px;visibility:hidden;overflow:hidden;cursor:pointer;filter:alpha(opacity=100);opacity:1.00;" onMouseOut="propertyoutall()">';	propertyds=propertyds+'<div style="position:absolute;left:0px;top:0px;width:'+propertyDescCalcWidth+'px;height:'+propertyDescCalcHeight+'px;border-style:solid;border-width:0px;border-color:#000000;background-color:#'+'000000'+';opacity: '+0.50+';filter:alpha(opacity='+50+');" onMouseOut="propertyoutall()"></div>';	propertyds=propertyds+'<div style="position:relative;left:0px;top:0px;width:'+propertyDescCalcIcWidth+';height:'+propertyDescCalcIcHeight+'px;text-align:'+'center'+';overflow:hidden;padding:'+3+'px;border-style:'+'solid'+';border-width:'+2+'px;border-color:#'+'808080'+';color:#'+'FFFFFF'+';font-family:'+'arial'+';font-style:'+'normal'+';font-size: '+13+';font-weight:'+'normal'+';text-decoration:'+'none'+';opacity: 1.0;filter:alpha(opacity=100);" onMouseOut="propertyoutall()">';	propertyds=propertyds+'<span style="color:#'+'C0C0C0'+';font-family:'+'arial'+';font-style:'+'normal'+';font-size: '+14+';font-weight:'+'bold'+';text-decoration:'+'none'+';" onMouseOut="propertyoutall()">'+propertytitarr[i]+'</span>';	if(propertytitarr[i].length>0){propertyds=propertyds+'<br />';}			propertyds=propertyds+''+propertydesarr[i];	propertyds=propertyds+'</div>';	propertyds=propertyds+'</div>';	if(propertylinkarr[i].length>2){propertyds=propertyds+'</a>';}}function propertyinit_doc(fstr,hormuvertmi){	propertyDescCalcLeftBir=25;		if((0==0)&&(propertyhorvert==0))	{		propertyDescCalcLeft=25+0;	}	else	{		propertyDescCalcLeft=25;	}	if(0==0)	{		propertyDescCalcWidth=500-25-5;	}	else	{		propertyDescCalcWidth=850-25-5;	}	if((propertyhorvert==1)&&(0==1))	{		propertyDescCalcHeight=325-275-5;	}	else	{		propertyDescCalcHeight=325-275-5;	}	if((IEB==true)&&(scompat == "BackCompat" ))	{		propertyDescCalcIcWidth=propertyDescCalcWidth;		propertyDescCalcIcHeight=propertyDescCalcHeight;	}	else	{		propertyDescCalcIcWidth=propertyDescCalcWidth-2*(2)-2*(3);		propertyDescCalcIcHeight=propertyDescCalcHeight-2*(2)-2*(3);	}	propertyfolderset=fstr;	var tmpleftpad=0;	var tmptoppad=0;	propertyhpiece=propertyhpiece+'<div style="position:relative;width:'+850+'px;height:'+325+'px;border-style:solid;border-width:'+0+'px;border-color:#'+'666666'+';">';	propertyhpiece=propertyhpiece+'<div style="position:relative;width:'+850+'px;height:'+325+'px;overflow:hidden;border-style:solid;border-width:0px;border-color:#FFFFFF;cursor:default;" onMouseOver="propertyoutall()" onMouseOut="propertymouse_divout()">';	if(0==1)	{		for(i=1;i<=8;i++) 		{			propertyWriteDesc();		}	}	for(i=1;i<=8;i++)	{		if(propertyhorvert==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="propertypo'+i+'" style="position:absolute;left:0px;top:0px;" onMouseOver="propertymouse_over('+i+')" onMouseOut="propertyoutall()"><div style="background-color:#FFFFFF;padding-left:'+tmpleftpad+'px;padding-top:'+tmptoppad+'px;"><a href="'+propertylinkarr[i]+'" target="'+propertytargetarr[i]+'"><img width="'+500+'" height="'+325+'" src="'+propertyfolderset+propertyimgarr[i]+'" style="border-style:solid;border-width:0px;" TITLE="'+propertyaltarr[i]+'"></img></a>';		if(0==0)		{			propertyds="";			propertyWriteDesc();			gnrated=gnrated+propertyds;		}		gnrated=gnrated+'</div></div>';	}	propertyhpiece=propertyhpiece+gnrated;	if(0==1)	{		propertyhpiece=propertyhpiece+propertyds;	}	propertyhpiece=propertyhpiece+'</div>';	propertyhpiece=propertyhpiece+'</div>';	document.write(''+propertyhpiece);	setTimeout("propertyinit_position("+parseInt(hormuvertmi)+")",50);}function propertyinit_position(hv){	propertyhorvert=hv;	for(i=1;i<=8;i++)	{		propertyll[i]=document.getElementById('propertypo'+i);		propertylll[i]=document.getElementById('propertyadesc'+i);		if((propertyll[i]==null)||(propertylll[i]==null))		{		    setTimeout("propertyinit_position("+parseInt(hv)+")",200);		    return;		}	}		if(propertyhorvert==0)	{		propertyllllll=parseInt(     (850-((8-1)*0))     /(8));		propertylllllll=propertyllllll+0;		propertyllllllll=parseInt(((850-500)/(8-1)));	}	else	{		propertyllllll=parseInt(     (280-((8-1)*0))     /(8));		propertylllllll=propertyllllll+0;		propertyllllllll=parseInt(((280-325)/(8-1)));	}	for(i=1;i<=8;i++)	{		propertyll[i]=document.getElementById('propertypo'+i);		sx=(propertylllllll*(i-1))-0;		if(propertyhorvert==0)		{			if(i==1)			{				propertyll[i].style.left="0px";			}			else			{				propertyll[i].style.left=""+sx+"px";			}		}		else		{			if(i==1)			{				propertyll[i].style.top="0px";			}			else			{				propertyll[i].style.top=""+sx+"px";			}		}		propertystartposx[i]=sx;		propertylllll[i]=propertystartposx[i];		if(i==1)		{			propertylll[i].style.left=""+propertyDescCalcLeftBir+"px";		}		else		{			propertylll[i].style.left=""+propertyDescCalcLeft+"px";		}			}	propertyintcomplate=1;	if(0==1)	{		propertyDoAutoPlay();	}}function propertyDoAutoPlay(){	propertymouse_over(propertyAutoPlayCurrent);	propertyAutoPlayCurrent=propertyAutoPlayCurrent+1;	if(propertyAutoPlayCurrent>8)	{		propertyAutoPlayCurrent=1;	}	propertyAutoPlayTimer=setTimeout("propertyDoAutoPlay()",4000);}function propertydo_FadeAnim(){	if(propertylllllllll<1)	{		return;	}	propertyIEDescOpacity=propertyIEDescOpacity+5;	propertyFFOpacity=propertyFFOpacity+0.05;	if(IEB==true)	{		if(propertyIEDescOpacity>100)		{			propertyIEDescOpacity=100;			return;		}	}	else	{		if(propertyFFOpacity>1.00)		{			propertyFFOpacity=1.00;			return;		}	}	if(IEB==true)	{		propertylll[propertylllllllll].filters.item(0).opacity=propertyIEDescOpacity;	}	else	{		propertylll[propertylllllllll].style.opacity = propertyFFOpacity;	}	propertyDescFadeEffectTimer=setTimeout("propertydo_FadeAnim()",20);}function propertydo_anim(){	if(propertycurrstep<=0)	{		if(propertylllllllll>=1)		{			if(propertyhorvert==0)			{				if(propertylllllllll==1)				{					propertylll[propertylllllllll].style.left=""+propertyDescCalcLeftBir+"px";				}				else				{					propertylll[propertylllllllll].style.left=""+propertyDescCalcLeft+"px";				}			}			else			{				if(0==0)				{					propertylll[propertylllllllll].style.left=""+(propertyDescCalcLeft+parseInt(propertyll[propertylllllllll].style.left))+"px";					var DesvertTop=0;					if((propertylllllllll>1) &&(propertylllllllll!=8)){DesvertTop=275+0;}else{DesvertTop=275;}					propertylll[propertylllllllll].style.top=""+(DesvertTop)+"px";				}				else				{					propertylll[propertylllllllll].style.left=""+(propertyDescCalcLeft)+"px";					propertylll[propertylllllllll].style.top=""+275+"px";				}			}			if((propertytitarr[propertylllllllll].length>0)||(propertydesarr[propertylllllllll].length>0))			{				if(1==2)				{					propertyIEDescOpacity=0;					propertyFFOpacity=0.00;					propertydo_FadeAnim();					propertylll[propertylllllllll].style.visibility="visible";				}				else				{					propertylll[propertylllllllll].style.visibility="visible";				}			}			else			{				propertylll[propertylllllllll].style.visibility="hidden";			}		}		return;	}	for(i=2;i<=8;i++)	{		propertylllll[i] = parseInt(propertylllll[i])+parseInt((propertyllll[i]-propertylllll[i])/propertycurrstep);		if(propertyhorvert==0)		{			propertyll[i].style.left=""+propertylllll[i]+"px";		}		else		{			propertyll[i].style.top=""+propertylllll[i]+"px";		}	}	if((1==1)&&(propertylllllllll>=1))	{		var dtop=0;		if((propertytitarr[propertylllllllll].length>0)||(propertydesarr[propertylllllllll].length>0))		{    		propertylll[propertylllllllll].style.visibility="visible";        }        else        {            propertylll[propertylllllllll].style.visibility="hidden";        }		dtop= 275+        parseInt(propertyDescCalcHeight-      ((propertyDescCalcHeight/propertystepcount)*(propertystepcount-(propertycurrstep-1)))         );		propertylll[propertylllllllll].style.top=""+dtop+"px";	}	propertycurrstep--;	setTimeout("propertydo_anim()",20);}function propertyreposition(g){	for(i=1;i<=8;i++)	{		if(i<=g)		{			if(i==1)			{				propertyllll[i]=0;			}			else			{				propertyllll[i]=parseInt(((i-1)*propertyllllllll)-0);			}		}		else		{			oncekix=0;			for(j=1;j<(i-1);j++)			{				oncekix=oncekix+propertyllllllll;			}			if(propertyhorvert==0)			{				propertyllll[i]=parseInt(((500)+(oncekix)));			}			else			{				propertyllll[i]=parseInt(((325)+(oncekix)));			}		}			}	if((propertyhorvert==0)&&(8==g))	{		var bul1=propertyllll[8]+0+500;		var bul2=850-bul1;		propertyllll[8]=propertyllll[8]+bul2;	}	if((propertyhorvert==1)&&(8==g))	{		var bul1=propertyllll[8]+0+325;		var bul2=325-bul1;		propertyllll[8]=propertyllll[8]+bul2;	}	propertycurrstep=propertystepcount;	propertydo_anim();}function propertymouse_over(g){	if(propertyintcomplate==0){return;}	if(g==propertylllllllll){return;}	propertylllllllll=g;	clearTimeout(propertytimeo);	if(0==1){if(propertyicerdemi==1){clearTimeout(propertyAutoPlayTimer);}}	for(i=1;i<=8;i++)	{		if(i!=g)		{			propertylll[i].style.visibility="hidden";			if(IEB==true)			{				propertylll[i].filters.item(0).opacity=100;			}			else			{				propertylll[i].style.opacity = 1.0;			}		}	}	propertyreposition(g);}function propertyoutall(){	propertyicerdemi=1;	clearTimeout(propertyAutoPlayTimer);	clearTimeout(propertytimeo);}function propertymouse_divout2(){	propertyicerdemi=0;	clearTimeout(propertytimeo);	if(0==1)	{		clearTimeout(propertyAutoPlayTimer);		propertyAutoPlayCurrent=1;		propertyDoAutoPlay();	}	else	{	for(i=1;i<=8;i++)	{		propertylll[i].style.visibility="hidden";	}	for(i=1;i<=8;i++)	{		sx=(propertylllllll*(i-1))-0;		if(i==1)		{			propertyllll[i]=0;		}		else		{			propertyllll[i]=sx;		}			}	propertylllllllll=-1;	propertycurrstep=propertystepcount;	propertydo_anim();	}}function propertymouse_divout(){	clearTimeout(propertytimeo);	propertytimeo=setTimeout("propertymouse_divout2()",300);}