function openContainerWin(urlnum, mpspage) {
	var myWin = window.open("/rizatriptan_benzoate/maxalt/hcp/mps_pop/index.jsp?urlnum=" + urlnum + "&mps_page=" + mpspage + " ","container","toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=480,height=440")
	if (myWin.opener == null)
		myWin.opener = window;
	myWin.opener.name = "opener";
}
function openWindow(url) {
	var newwindow = null;
	newwindow = window.open(url,"maxalt","width=591,height=550,menubar=0,scrollbars=1,toolbar=no,resizable=0");
	newwindow.focus();
}


function mackbackopenVermontHCPDisclaimer(url,attr)
{
    var ok = confirm("NOTICE OF RESTRICTION FOR VERMONT HEALTHCARE PROFESSIONALS. Due to requirements that Vermont imposes on pharmaceutical manufacturers' interactions with healthcare professionals, healthcare professionals that practice in Vermont and are authorized to prescribe and licensed to provide healthcare in Vermont should not access or print patient reimbursement request forms from this website.\n\nIf you are NOT a Vermont healthcare professional, you may select OK to print the patient reimbursement request form.\n\nIf you are a Vermont healthcare professional, you must select Cancel.");
    if (!ok)
    {
        if (null == url)
        {   // called from onclick
            return false;
        }
        else
        {   // called from href
            return;
        }
    }

    // If function is called from onclick vs href, return different values
    if (null == url)
    {   // called from onclick
        return true;
    }
    else
    {   // called from href
        var day = new Date();
        var id = day.getTime();
        eval("page" + id + " = window.open(url, '" + id + "', attr);");
        return;
    }
}



