/*
* Allianz original pop-up code
*
* Taken from original Allianz Direct pop-up code
*/
function PopUp(URL) {
	var l = 0;
	var t = 0;
	var w = 1028;
	var h = 768;
	var strref = document.URL.substring(0,100);
	strref = strref.replace(/[^a-zA-Z 0-9/.:]+/g,'^');
	var strurl = document.referrer.substring(0,100);
	strurl = strurl.replace(/[^a-zA-Z 0-9/.:]+/g,'^');
	URL = URL + '+ASTREF(A1000):' + strref + '+ASTURL(A1000):' + strurl;
	var windowprops ="location=no,scrollbars=yes,menubars=no,toolbar=no,resizable=yes,status=yes" +",left=" + l + ",top=" + t + ",width=" + w + ",height=" + h;
	popup = window.open(URL,"MenuPopup",windowprops);
/*	popup.moveTo(0,0); */
}


function PopUp2(URL) {
	var l = 0;
	var t = 0;
	var w = 1028;
	var h = 768;
	var strref = document.URL.substring(0,100);
	strref = strref.replace(/[^a-zA-Z 0-9/.:]+/g,'^');
	var strurl = document.referrer.substring(0,100);
	strurl = strurl.replace(/[^a-zA-Z 0-9/.:]+/g,'^');
	URL = URL + '+funcparms+ASTREF(A1000):' + strref + '+ASTURL(A1000):' + strurl;
	var windowprops ="location=no,scrollbars=yes,menubars=no,toolbar=no,resizable=yes,status=yes" +",left=" + l + ",top=" + t + ",width=" + w + ",height=" + h;
	popup = window.open(URL,"MenuPopup",windowprops);
	popup.moveTo(0,0);
}


function PopUp3(URL) {
	var l = 115;
	var t = 75;
	var w =675;
	var h = 450;
	var windowprops = "location=no,scrollbars=yes,menubars=no,toolbar=yes,resizable=yes,status=yes" + ",left=" + l + ",top=" + t + ",width=" + w + ",height=" + h;
	popup = window.open( URL, "MenuPopup", windowprops );
}

function PopUp4(URL) {
	var l = 115;
	var t = 75;
	var w =658;
	var h = 450;
	var windowprops = "location=no,scrollbars=yes,menubars=no,toolbar=yes,resizable=yes,status=yes" + ",left=" + l + ",top=" + t + ",width=" + w + ",height=" + h;
	popup = window.open( URL, "MenuPopup", windowprops );
}

NS4 = ( document.layers);
IE4 = (document.all );
ver4 = ( NS4 || IE4 );
IE5 = ( IE4 && navigator.appVersion.indexOf( "5.") != -1 );
isMac = ( navigator.appVersion.indexOf( "Mac" ) != -1 );
