
// Prevents session timeout
var timer = setTimeout('refresh()', 30000);
function refresh() {
    var xmlHttp;
    if (window.ActiveXObject) {
        var xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
    }
    else {
        var xmlHttp = new XMLHttpRequest();
    }

    xmlHttp.open("GET", "/Reconnect.aspx", false);
    xmlHttp.send();

    str = xmlHttp.responseText

    //alert(str);

    timer = setTimeout('refresh()', 30000);
}



function openLinkZoeken(inputZoekenId, SearchDefaultStr, LangStr) 
{
    var theInputZoeken = document.getElementById(inputZoekenId);
    if (theInputZoeken) {
        if (theInputZoeken.value == SearchDefaultStr) { theInputZoeken.value = '' }
        window.location = '/'+ LangStr +'/Artikelen.aspx?zoeken=1&q=' + theInputZoeken.value;
    }
}

