function mortgagePopUp(URL,WinWidth,WinHeight) {
	window.open(URL,  "Mortgage Calculator", 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width='+WinWidth+',height='+WinHeight+',left = 10,top = 10');
	}
	
function openPicture(WinHeightVal, WinWidthVal, PicHeightVal, PicWidthVal, PicName){
	strURL = "/HomeBuilder/Testimonial_HomeImage.aspx?PicHeightVal=" + PicHeightVal +"&PicWidthVal=" + PicWidthVal + "&PicName=" + PicName;
	strWin = window.open(strURL, "", "height=" + WinHeightVal + ",width=" + WinWidthVal + ", left=0,top=0, resizable=yes, center=yes, status=yes,location=no,toolbar=no,menubar=no" );
	}
	
function openWindow_flash(imagePath) { 
	popupWin = window.open(imagePath,'myHomeDesigner','width=1005,height=650,resizable=1,scrollbars=0,toolbar=0,menubar=0')
  }
  
function openWindow_designStudio() { 
	popupWin = window.open('/HomeBuilder/DesignStudio.aspx','DesignStudio','width=969,height=640,resizable=1,scrollbars=0,toolbar=0,menubar=0')
	}

function openWindow_homeTourVideo(imagePath) { 
	popupWin = window.open(imagePath,'homeTourVideo','width=347,height=336,resizable=0,scrollbars=0,toolbar=0,menubar=0')
	}

function openFloorPlanFullSize(imagePath) { 
	popupWin = window.open(imagePath,'FloorPlan','width=700,height=600,resizable=1,scrollbars=0,toolbar=0,menubar=0')
	}

function findImagePath(path) {
	var imgPath = path.split("?")[1].split("&")[0].split("=")[1];
	imgPath += path.split("?")[1].split("&")[1].split("=")[1];
	window.open(imgPath);
	}

function openSiteMap(imagePath) { 
	popupWin = window.open(imagePath,'SitePlan','width=820,height=620,resizable=1,scrollbars=0,toolbar=0,menubar=0')
	}