function OpenImage()	{
	window.open(document.getElementById("PropertyPicture").src,"")
}

function HideZoom()	{
	try{
		document.getElementById("Zoom").style.display="none"
	}catch(e){}
}

function HideSlide()	{
	try{
		document.getElementById("Slide").style.display="none"
	}catch(e){}
}

function Abuse()	{
	window.showModalDialog("Include/PopUpIframe.asp?page=../Abuse_Report&QueryString=propertyID=" + PropertyId ,null,"dialogHeight: 500px; dialogWidth: 470px; dialogTop: px; dialogLeft: px; edge: Raised; center: Yes; help: No; resizable: No; status: No;");
	return false;
}

function GetPropertyPicture(sel)	{
	run=false;
	var selIn=sel.selectedIndex
	if(selIn)
		document.getElementById("PropertyPicture").src=arrPerload[selIn].src;
}

function doSlide(){
	if(iCount>arrPerload.length-1)iCount=1;
	document.getElementById("PropertyPicture").src=arrPerload[iCount++].src;
}

onload=function () {
		doPrint()
}

function openPanoramicLink(URL){
	window.open(URL,'','width=486,height=398,toolbar=no,status=no,scrolbar=no')
}

function getMAP(objState,objCity,objAddress,objZip,objCon){
	if (objCon== 1001)
		childwin=window.open("http://www.mapquest.com/maps/map.adp?city=" + objCity + "&state=" + objState + "&address=" + objAddress,'','width=610,height=630,status=false,toolbar=false,menubar=false,location=false,resizable=yes,scrollbars=no')
	else
		childwin=window.open("http://www.mapquest.com/maps/map.adp?city=" + objCity + "&country=" + objState + "&address=" + objAddress,'','width=610,height=630,status=false,toolbar=false,menubar=false,location=false,resizable=yes,scrollbars=no')
}

