var mortgagePopupWindow;

function OpenMortgagePopup(imageSource,width,height)
{
	if(mortgagePopupWindow==null || mortgagePopupWindow.closed==true)
	{
	  mortgagePopupWindow=window.open(
	    imageSource,
	    "",
	    "menubar=no,titlebar=no,toolbar=no,resizable=yes,width="+width+",height="+height);
	}
	else
	{
	   mortgagePopupWindow.focus(); 
	}
}