function ChangeMediumImage(aListingId, aAddress, aImageName, aDescription)
{
	var img = document.getElementById("BigPicture");    			
	var hyperlink = document.getElementById("PictureViewerHyperlink");    			
	var pictureDescriptionSpan = document.getElementById("PictureDescriptionSpan");
									
	img.src = "MediumPictureRetriever.aspx?ListingId=" + aListingId + "&Address=" + aAddress + "&" + "Name=" + aImageName;
			
	hyperlink.href = "javascript:OpenNewWindow('PictureViewer.aspx?ListingId=" + aListingId + "&Address=" + aAddress + "&" + "Name=" + aImageName + "');";
			
	pictureDescriptionSpan.innerHTML = aDescription;
}
function ChangeLargeImage(aListingId, aAddress, aImageName, aDescription)
{
	var img = document.getElementById("LargePicture");
									
	img.src = "LargePictureRetriever.aspx?ListingId=" + aListingId + "&Address=" + aAddress + "&" + "Name=" + aImageName;
}

function OpenNewWindow(aPage)
{
	window.open(aPage, "PictureViewer", "width=850, height=800, [resizable=1, scrollbars=1]");
}

function FindAHomeMenuMouseOver()
{
	var submenuDiv = document.getElementById("SubmenuDiv");
	
	var html = "<table cellspacing=0px><tr>";
	
	html = html + "<td align=left width=20px></td>";

	html = html + "<td align=left>";
	
	html = html + "<a id=\"BocaGrandeHyperlink\" href = \"FindAHome.aspx?City=Boca Grande\" style=\"COLOR: #999999; text-decoration:none;\" align=left onmouseover=\"BocaGrandeHyperlinkMouseOver();\" onmouseout=\"BocaGrandeHyperlinkMouseOut();\">Boca Grande</a>";
		
	html = html + "</td>";		
	
	html = html + "<td align=left width=20px></td>";

	html = html + "<td align=left>";
	
	html = html + "<a id=\"SanibelHyperlink\" href = \"FindAHome.aspx?City=SanibelCaptiva\" style=\"COLOR: #999999; text-decoration:none;\" align=left onmouseover=\"SanibelHyperlinkMouseOver();\" onmouseout=\"SanibelHyperlinkMouseOut();\">Sanibel / Captiva / Fort Myers</a>";
	
	html = html + "</td>";	
	
	html = html + "<td align=left width=20px></td>";

	html = html + "<td align=left>";
	
	html = html + "<a id=\"NaplesHyperlink\" href = \"FindAHome.aspx?City=Naples\" style=\"COLOR: #999999; text-decoration:none;\" align=left onmouseover=\"NaplesHyperlinkMouseOver();\" onmouseout=\"NaplesHyperlinkMouseOut();\">Naples</a>";
		
	html = html + "</td>";		
	
	html = html + "</tr></table>";
	
	submenuDiv.innerHTML = html;
}

function SanibelFindAHomeMenuMouseOver()
{
//	var submenuDiv = document.getElementById("SubmenuDiv");
//	
//	var html = "<table cellspacing=0px><tr>";
//	
//	html = html + "<td align=left width=20px></td>";

//	html = html + "<td align=left>";
//	
//	html = html + "<a id=\"SanibelHyperlink\" href = \"FindASanibelHome.aspx?City=Sanibel\" style=\"COLOR: #999999; text-decoration:none;\" align=left onmouseover=\"SanibelHyperlinkMouseOver();\" onmouseout=\"SanibelHyperlinkMouseOut();\">Sanibel and Captiva</a>";
//		
//	html = html + "</td>";	
//	
//	html = html + "<td align=left width=20px></td>";

//	html = html + "<td align=left>";
//	
//	html = html + "<a id=\"FortMyersHyperlink\" href = \"FindASanibelHome.aspx?City=FortMyers\" style=\"COLOR: #999999; text-decoration:none;\" align=left onmouseover=\"FortMyersHyperlinkMouseOver();\" onmouseout=\"FortMyersHyperlinkMouseOut();\">Fort Myers</a>";
//	
//	html = html + "</td>";
//			
//	html = html + "<td align=left width=20px></td>";

//	html = html + "<td align=left>";
//	
//	html = html + "<a id=\"NaplesHyperlink\" href = \"FindASanibelHome.aspx?City=Naples\" style=\"COLOR: #999999; text-decoration:none;\" align=left onmouseover=\"NaplesHyperlinkMouseOver();\" onmouseout=\"NaplesHyperlinkMouseOut();\">Naples</a>";
//	
//	html = html + "</td>";
//	
//	html = html + "<td align=left width=20px></td>";

//	html = html + "<td align=left>";
//	
//	html = html + "<a id=\"BonitaSpringsHyperlink\" href = \"FindASanibelHome.aspx?City=BonitaSprings\" style=\"COLOR: #999999; text-decoration:none;\" align=left onmouseover=\"BonitaSpringsHyperlinkMouseOver();\" onmouseout=\"BonitaSpringsHyperlinkMouseOut();\">Bonita Springs and Estero</a>";
//	
//	html = html + "</td>";

//	html = html + "</tr></table>";

//	submenuDiv.innerHTML = html;
}

function EnglewoodFindAHomeMenuMouseOver()
{
//	var submenuDiv = document.getElementById("SubmenuDiv");
//	
//	var html = "<table cellspacing=0px><tr>";		
//	
//	html = html + "<td align=left width=20px></td>";

//	html = html + "<td align=left>";
//	
//	html = html + "<a id=\"EnglewoodHyperlink\" href = \"FindAnEnglewoodHome.aspx?City=Englewood\" style=\"COLOR: #999999; text-decoration:none;\" align=left onmouseover=\"EnglewoodHyperlinkMouseOver();\" onmouseout=\"EnglewoodHyperlinkMouseOut();\">Englewood</a>";
//	
//	html = html + "</td>";
//	
//	html = html + "<td align=left width=20px></td>";

//	html = html + "<td align=left>";
//	
//	html = html + "<a id=\"CapeHazeHyperlink\" href = \"FindAnEnglewoodHome.aspx?City=CapeHaze\" style=\"COLOR: #999999; text-decoration:none;\" align=left onmouseover=\"CapeHazeHyperlinkMouseOver();\" onmouseout=\"CapeHazeHyperlinkMouseOut();\">Cape Haze</a>";
//	
//	html = html + "</td>";
//	
//	html = html + "<td align=left width=20px></td>";

//	html = html + "<td align=left>";
//	
//	html = html + "<a id=\"PlacidaHyperlink\" href = \"FindAnEnglewoodHome.aspx?City=Placida\" style=\"COLOR: #999999; text-decoration:none;\" align=left onmouseover=\"PlacidaHyperlinkMouseOver();\" onmouseout=\"PlacidaHyperlinkMouseOut();\">Placida</a>";
//		
//	html = html + "</td>";
//	
//	html = html + "<td align=left width=20px></td>";

//	html = html + "<td align=left>";
//	
//	html = html + "<a id=\"RotondaHyperlink\" href = \"FindAnEnglewoodHome.aspx?City=Rotonda\" style=\"COLOR: #999999; text-decoration:none;\" align=left onmouseover=\"RotondaHyperlinkMouseOver();\" onmouseout=\"RotondaHyperlinkMouseOut();\">Rotonda</a>";
//	
//	html = html + "</td>";
//	
//	html = html + "</tr></table>";
//	
//	submenuDiv.innerHTML = html;
}

function FindARentalMenuMouseOver()
{
	var submenuDiv = document.getElementById("SubmenuDiv");
	
	var html = "";
		
	submenuDiv.innerHTML = html;
}

function AboutMenuMouseOver()
{
	var submenuDiv = document.getElementById("SubmenuDiv");
	
	var html = "";
		
	submenuDiv.innerHTML = html;
}

function ContactMenuMouseOver()
{
	var submenuDiv = document.getElementById("SubmenuDiv");
	
	var html = "";	
	
	submenuDiv.innerHTML = html;
}

function FindInternationalPropertyMenuMouseOver()
{
	var submenuDiv = document.getElementById("SubmenuDiv");
	
	var html = "";	
	
	submenuDiv.innerHTML = html;
}

function VisitSignatureMenuMouseOver()
{
	var submenuDiv = document.getElementById("SubmenuDiv");
	
	var html = "";	
	
	submenuDiv.innerHTML = html;
}

function LocalAttractionsMenuMouseOver()
{
	var submenuDiv = document.getElementById("SubmenuDiv");
	
	var html = "";	
	
	submenuDiv.innerHTML = html;
}

function BocaGrandeHyperlinkMouseOver()
{		
	var bocaGrandeHyperlink = document.getElementById("BocaGrandeHyperlink");
	
	bocaGrandeHyperlink.style.textDecoration = "underline";
	bocaGrandeHyperlink.style.color= "white";
}

function BocaGrandeHyperlinkMouseOut()
{
	var bocaGrandeHyperlink = document.getElementById("BocaGrandeHyperlink");
	
	bocaGrandeHyperlink.style.textDecoration = "none";
	bocaGrandeHyperlink.style.color= "#999999";
}

function SanibelHyperlinkMouseOver()
{		
	var sanibelHyperlink = document.getElementById("SanibelHyperlink");
	
	sanibelHyperlink.style.textDecoration = "underline";
	sanibelHyperlink.style.color= "white";
}

function SanibelHyperlinkMouseOut()
{
	var sanibelHyperlink = document.getElementById("SanibelHyperlink");
	
	sanibelHyperlink.style.textDecoration = "none";
	sanibelHyperlink.style.color= "#999999";
}

function CaptivaHyperlinkMouseOver()
{		
	var captivaHyperlink = document.getElementById("CaptivaHyperlink");
	
	captivaHyperlink.style.textDecoration = "underline";
	captivaHyperlink.style.color= "white";
}

function CaptivaHyperlinkMouseOut()
{
	var captivaHyperlink = document.getElementById("CaptivaHyperlink");
	
	captivaHyperlink.style.textDecoration = "none";
	captivaHyperlink.style.color= "#999999";
}

function PlacidaHyperlinkMouseOver()
{
	var placidaHyperlink = document.getElementById("PlacidaHyperlink");
	
	placidaHyperlink.style.textDecoration = "underline";
	placidaHyperlink.style.color= "white";		
}

function PlacidaHyperlinkMouseOut()
{
	var placidaHyperlink = document.getElementById("PlacidaHyperlink");
	
	placidaHyperlink.style.textDecoration = "none";
	placidaHyperlink.style.color= "#999999";
}

function EnglewoodHyperlinkMouseOver()
{
	var englewoodHyperlink = document.getElementById("EnglewoodHyperlink");
	
	englewoodHyperlink.style.textDecoration = "underline";
	englewoodHyperlink.style.color= "white";		
}

function EnglewoodHyperlinkMouseOut()
{
	var englewoodHyperlink = document.getElementById("EnglewoodHyperlink");
	
	englewoodHyperlink.style.textDecoration = "none";
	englewoodHyperlink.style.color= "#999999";
}

function CapeHazeHyperlinkMouseOver()
{
	var capeHazeHyperlink = document.getElementById("CapeHazeHyperlink");
	
	capeHazeHyperlink.style.textDecoration = "underline";
	capeHazeHyperlink.style.color= "white";		
}

function CapeHazeHyperlinkMouseOut()
{
	var capeHazeHyperlink = document.getElementById("CapeHazeHyperlink");
	
	capeHazeHyperlink.style.textDecoration = "none";
	capeHazeHyperlink.style.color= "#999999";
}

function RotondaHyperlinkMouseOver()
{
	var rotondaHyperlink = document.getElementById("RotondaHyperlink");
	
	rotondaHyperlink.style.textDecoration = "underline";
	rotondaHyperlink.style.color= "white";		
}

function RotondaHyperlinkMouseOut()
{
	var rotondaHyperlink = document.getElementById("RotondaHyperlink");
	
	rotondaHyperlink.style.textDecoration = "none";
	rotondaHyperlink.style.color= "#999999";
}

function FortMyersHyperlinkMouseOver()
{
	var fortMyersHyperlink = document.getElementById("FortMyersHyperlink");
	
	fortMyersHyperlink.style.textDecoration = "underline";
	fortMyersHyperlink.style.color= "white";		
}

function FortMyersHyperlinkMouseOut()
{
	var fortMyersHyperlink = document.getElementById("FortMyersHyperlink");
	
	fortMyersHyperlink.style.textDecoration = "none";
	fortMyersHyperlink.style.color= "#999999";
}


function FortMyersBeachHyperlinkMouseOver()
{
	var fortMyersBeachHyperlink = document.getElementById("FortMyersBeachHyperlink");
	
	fortMyersBeachHyperlink.style.textDecoration = "underline";
	fortMyersBeachHyperlink.style.color= "white";		
}

function FortMyersBeachHyperlinkMouseOut()
{
	var fortMyersBeachHyperlink = document.getElementById("FortMyersBeachHyperlink");
	
	fortMyersBeachHyperlink.style.textDecoration = "none";
	fortMyersBeachHyperlink.style.color= "#999999";
}


function NorthFortMyersHyperlinkMouseOver()
{
	var northFortMyersHyperlink = document.getElementById("NorthFortMyersHyperlink");
	
	northFortMyersHyperlink.style.textDecoration = "underline";
	northFortMyersHyperlink.style.color= "white";		
}

function NorthFortMyersHyperlinkMouseOut()
{
	var northFortMyersHyperlink = document.getElementById("NorthFortMyersHyperlink");
	
	northFortMyersHyperlink.style.textDecoration = "none";
	northFortMyersHyperlink.style.color= "#999999";
}

function CapeCoralHyperlinkMouseOver()
{
	var capeCoralHyperlink = document.getElementById("CapeCoralHyperlink");
	
	capeCoralHyperlink.style.textDecoration = "underline";
	capeCoralHyperlink.style.color= "white";		
}

function CapeCoralHyperlinkMouseOut()
{
	var capeCoralHyperlink = document.getElementById("CapeCoralHyperlink");
	
	capeCoralHyperlink.style.textDecoration = "none";
	capeCoralHyperlink.style.color= "#999999";
}

function NaplesHyperlinkMouseOver()
{
	var naplesHyperlink = document.getElementById("NaplesHyperlink");
	
	naplesHyperlink.style.textDecoration = "underline";
	naplesHyperlink.style.color= "white";		
}

function NaplesHyperlinkMouseOut()
{
	var naplesHyperlink = document.getElementById("NaplesHyperlink");
	
	naplesHyperlink.style.textDecoration = "none";
	naplesHyperlink.style.color= "#999999";
}

function BonitaSpringsHyperlinkMouseOver()
{
	var bonitaSpringsHyperlink = document.getElementById("BonitaSpringsHyperlink");
	
	bonitaSpringsHyperlink.style.textDecoration = "underline";
	bonitaSpringsHyperlink.style.color= "white";		
}

function BonitaSpringsHyperlinkMouseOut()
{
	var bonitaSpringsHyperlink = document.getElementById("BonitaSpringsHyperlink");
	
	bonitaSpringsHyperlink.style.textDecoration = "none";
	bonitaSpringsHyperlink.style.color= "#999999";
}

function PalmIslandHyperlinkMouseOver()
{
	var palmIslandHyperlink = document.getElementById("PalmIslandHyperlink");
	
	palmIslandHyperlink.style.textDecoration = "underline";
	palmIslandHyperlink.style.color= "white";		
}

function PalmIslandHyperlinkMouseOut()
{
	var palmIslandHyperlink = document.getElementById("PalmIslandHyperlink");
	
	palmIslandHyperlink.style.textDecoration = "none";
	palmIslandHyperlink.style.color= "#999999";
}

function OpenInquiryWindow()
{
	window.open("InquiryForm.aspx", "Inquiry", "width=650, height=800, [resizable=1, scrollbars=1]");
}

function SubmitInquiry()
{		
			
}

function Print()
{
	window.print();
}

function BocaGrandeOfficeButtonMouseOver()
{
	var buttonImage = document.getElementById("BocaGrandeOfficeButton");
	
	buttonImage.src = "images/BocaGrandeButtonHot.png";
}
function BocaGrandeOfficeButtonMouseOut()
{
	var buttonImage = document.getElementById("BocaGrandeOfficeButton");
								
    buttonImage.src = "images/BocaGrandeButton.png";
}
function SanibelOfficeButtonMouseOver()
{
	var buttonImage = document.getElementById("SanibelOfficeButton");
									
    buttonImage.src = "images/SanibelButtonHot.png";
}
function SanibelOfficeButtonMouseOut()
{
	var buttonImage = document.getElementById("SanibelOfficeButton");
								
	buttonImage.src = "images/SanibelButton.png";    
}

function LocalAttractionsMenuMouseOver()
{
	var submenuDiv = document.getElementById("SubmenuDiv");
	
	var html = "<table cellspacing=0px><tr>";
	
	html = html + "<td align=right width=522px></td>";

	html = html + "<td align=right>";
	
	html = html + "<a id=\"BocaGrandeHyperlink\" href = \"LocalAttractions.aspx\" style=\"COLOR: #999999; text-decoration:none;\" align=right onmouseover=\"BocaGrandeHyperlinkMouseOver();\" onmouseout=\"BocaGrandeHyperlinkMouseOut();\">Boca Grande</a>";
		
	html = html + "</td>";		
	
	html = html + "<td align=right width=20px></td>";

	html = html + "<td align=right>";
	
	html = html + "<a id=\"SanibelHyperlink\" href = \"SanibelAttractions.aspx\" style=\"COLOR: #999999; text-decoration:none;\" align=right onmouseover=\"SanibelHyperlinkMouseOver();\" onmouseout=\"SanibelHyperlinkMouseOut();\">Sanibel / Captiva / Fort Myers</a>";
	
	html = html + "</td>";	
	
	html = html + "</tr></table>";

	submenuDiv.innerHTML = html;
}
