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=yes,scrollbars=no,toolbar=no')
  }
  
 function openFloorPlanFullSize(imagePath) { 
	popupWin = window.open(imagePath,'FloorPlan','width=700,height=600,resizable=yes,scrollbars=yes,toolbar=yes')
  }
  
 function findImagePath(path) {
		var imgPath = path.split("?")[1].split("&")[0].split("=")[1];
		imgPath += path.split("?")[1].split("&")[1].split("=")[1];
		window.open(imgPath);
	}
	
function openBrWindow(theURL,winName,features) {
  window.open(theURL,winName,features);
  }
