﻿function MM_openBrWindow(theURL, winName, features) {window.open(theURL, winName, features);}

sfHover = function() {
    if (!document.getElementsByTagName) return false;

    var sfEls1 = document.getElementById("secnav").getElementsByTagName("li");

    for (var i = 0; i < sfEls1.length; i++) {
        sfEls1[i].onmouseover = function() {
            this.className += " sfhover1";
        }
        sfEls1[i].onmouseout = function() {
            this.className = this.className.replace(new RegExp(" sfhover1\\b"), "");
        }
    }
}
if (window.attachEvent) window.attachEvent("onload", sfHover);

//IE browser && alternatieve browsers
if (window.ActiveXObject) {
    xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
}
else if (window.XMLHttpRequest) {
    xmlhttp = new XMLHttpRequest();
}

function getContent(mypage, mylayer) {
    function verwerk() {
        if (xmlhttp.readyState == 4) {
            document.getElementById(mylayer).innerHTML = xmlhttp.responseText;
        }
    }
    xmlhttp.open("GET", mypage, true);
    xmlhttp.onreadystatechange = verwerk;
    xmlhttp.send(null);
}