//Function to open the Privacy Policy and Legal Notices Windows
//Taken from thehartford.com
function openBWindow(pageToLoad, winName, rs, w, h, thex, they) 
{
	xposition=0; yposition=0;
   if ((parseInt(navigator.appVersion) >= 4 ) && (thex) && (they))
   {
   	xposition = thex
      yposition = they
   }
	var resize = "";
	if (rs) {
		resize = "resizable,";
	}
	
	msgWindow=open(pageToLoad,winName,'toolbar=1,scrollbars=1,location=1,statusbar=0,menubar=1,' + resize + 'width=' + w + ',height=' + h);
	if (msgWindow.opener == null){
		msgWindow.opener = self;
	}
	if(! window.focus){
	
	}
	else{
		msgWindow.focus();
	}
}

function createNamedWindow(page, name, w, h){
	remote=window.open(page,name,'width='+w+',height='+h+',screenX=50,screenY=50,top=50,left=50,scrollbars=1,toolbar=0,directories=0,status=0,menubar=0,resizable=1'); 	
	remote.focus();
	remote.opener = self;
}
