function externalLinks() {
    if (!document.getElementsByTagName) return;
    var anchors = document.getElementsByTagName("a");
    for (var i = 0; i < anchors.length; i++) {
        var anchor = anchors[i];
        if (anchor.getAttribute("href") && anchor.getAttribute("rel") == "external")
            anchor.target = "_blank";
    }
}

window.onload = externalLinks;

function OffRamp()
{
    return (confirm('You are about to leave Berinert.com \n\nThe site you are accessing is maintained by a third party over whom CSL Behring has no control. CSL Behring does not review, approve, or necessarily endorse viewpoints, inferences, or conclusions stated in or implied by the content of this site. CSL Behring is not responsible for third-party content or the consequences of your use thereof.'));
}
function OffRampInternal()
{
    return (confirm('You are about to leave Berinert.com \n\nYou are about to enter AllAboutHAE.com, a CSL Behring site designed to help you learn more about hereditary angioedema (HAE).'));
}

