function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
   var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
   if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function CallOut_over(community,e){
	var posx = 0;
	var posy = 0;
	if (!e) var e = window.event;
	if (e.pageX || e.pageY) 	{
		posx = e.pageX+"px";
		posy = (20+e.pageY)+"px";
	}
	else if (e.clientX || e.clientY) 	{
		posx = e.clientX + document.body.scrollLeft
			+ document.documentElement.scrollLeft;
		posy = e.clientY + 20 + document.body.scrollTop
			+ document.documentElement.scrollTop;
	}
	// posx and posy contain the mouse position relative to the document
	// Do something with this information
	
	var CallOut = document.getElementById('CallOutID');
	var TopDim = posy;
	var LeftDim = posx;
	//alert (TopDim, "T",LeftDim);
	CallOut.style.visibility='visible'; 
	switch (community){
		case 'PSJ':
			CallOut.style.top=TopDim; 
			CallOut.style.left=LeftDim; 
			CallOut.innerHTML='<b><big>Port St. Johns</big></b><br>Discover Port St. John, striking a harmonious balance between luxury living and Florida’s natural splendor on 24 treed acres along the historic St. Johns River<br><br><b>From 700\'s</b>';
		break;
		
		case 'Istoria':
			CallOut.style.top=TopDim; 
			CallOut.style.left=LeftDim; 
			CallOut.innerHTML='<b><big>Istoria</big></b><br>** New development in progress.  Please check back in two weeks for more information<br><br><b>From 270\'s</b>';
		break;
		
		case 'Palencia':
			CallOut.style.top=TopDim; 
			CallOut.style.left=LeftDim; 
			CallOut.innerHTML='<b><big>Palencia</big></b><br>Beautiful homes, abundant amenities, bustling towncenter, and stunning natural setting along the west bank of Florida’s Intracoastal Waterway<br><br><b>Lots start from low 100\'s</b>';
		break;
		
		case 'Payasada':
			CallOut.style.top=TopDim; 
			CallOut.style.left=LeftDim; 
			CallOut.innerHTML='<b><big>Payasada Estates</big></b><br>Situated on 42 acres in beautiful St. Johns County off County Road 210, Payasada Estates symbolizes true Florida living<br><br><b>From 980\'s</b>';
		break;
		
		case 'TheSurf':
			CallOut.style.top=TopDim; 
			CallOut.style.left=LeftDim; 
			CallOut.innerHTML='<b><big>The Surf</big></b><br>Florida\'s seaside treasure offers the sparkling Atlantic and white sandy beaches. Designed in a West Indies-style, The Surf exudes a sense of serenity. <br><br><b>From 400\'s</b>';
		break;
		
		case 'ProvIsland':
			CallOut.style.top=TopDim; 
			CallOut.style.left=LeftDim; 
			CallOut.innerHTML='<b><big>Providence Island</big></b><br>Beautiful townhomes in one of Jacksonville\’s most prestigious neighborhoods, Queen\'s Harbour Yacht & Country Club.r<br><br><b>From 550\'s to 750\'s</b>';
		break;
		
		case 'AT':
			CallOut.style.top=TopDim; 
			CallOut.style.left=LeftDim; 
			CallOut.innerHTML='<b>Amelia Terrace</b><br>A beautiful community in a tranquil island setting off of A1A in Nassau County.<br><br><b>From 480\'s</b>';
		break;
		
		case 'AP':
			CallOut.style.top=TopDim; 
			CallOut.style.left=LeftDim; 
			CallOut.innerHTML='<b>Amelia Park</b><br>The community values of a traditional neighborhood with the modern conveniences of the new millennium<br><br><b>From 300\'s to 800\'s</b>';
		break;
	}
}

function CallOut_out() {
	var CallOut = document.getElementById('CallOutID');
	CallOut.style.visibility='hidden';

}