function openWindow(documentName) 
{
   var pp=window.open(documentName, "popup", "width=500,height=500,center,toolbar=no,location=no,directories=0,status=no,menubar=no,scrollbars=yes,resizable=yes");
}

function openWindowmap(documentName) 
{
   var winName = window.opener.name;
   window.open(documentName,winName,'');
}

function eFriend()  
{
	u = escape(window.location);
	eSubj= "Hey take a look at this page";

	var eAdd= prompt('Enter your friend\'s email address:',' ');
	if (eAdd) 
	{
		window.location="mailto:"+eAdd+"?subject="+eSubj+"&body="+document.title+" "+u;
	}
}

function confirm_check()
{
	if(document.frmInitialDisclosure.chkKeyFacts.checked==true)
	{
		document.frmInitialDisclosure.submit();
	}else{
		alert("Please confirm we have provided you with our Key Facts about our Mortgage Services document!");
	}
}


function popUp(URL) 
{
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=1,menubar=0,resizable=1,width=600,height=700,left = 390,top = 162');");
}

