function New(page, pageName) {
	window.open(page, pageName, "toolbar=no,menubar=no,location=yes,scrollbars=yes,resizable=yes,height=450,width=800");
}
	
function popup(url,w,h) {
	newPopup = window.open (url, 'lbcpop', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,width='+w+',height='+h);  newPopup.focus();
}
	
function getParams() {
	var idx = document.URL.indexOf('|');
	// insert default mcc code
	var mcc='XJS';
	if (idx != -1) {
		var mcc = document.URL.substring(idx+1, document.URL.length);
		//mcc = pairs[1];
	}
	mcc = '&MCC='+ mcc;
	return mcc;
}

function passMCC(url) {
	var mcc = getParams();
	url = url+mcc;
	document.location = url;
}


//this is the pop-up function used on ENT pages. i have included it here to take care of pages built for large.
function open_popup(page,x,y,s,r) {
	eval("page" + " = window.open(page, '"+"', 'toolbars=0,scrollbars=' + s + ',location=0,statusbars=0,menubars=0,resizable=' + r + ',width=' + x + ',height=' + y);");
	return false;
}


function partner_link(url)
{	
	if(confirm("You are leaving HP.com to visit a web site that is not maintained by HP and where the HP privacy policy does not apply.\n\nThis link is provided to you for convenience and does not serve as an endorsement by HP of any information or contacts that you may find on this non-HP site. Remember, when you need information about HP products or services, come back to our Web site. Thank you for visiting HP.com.\n\nClick OK to continue, or Cancel to stay on the HP.com site.")){
		window.open(url);
	}
}