<script language="javascript" type="text/javascript"><!--
function getFile(pURL) {
    if (window.XMLHttpRequest) { // code for Mozilla, Safari, etc 
        xmlhttp=new XMLHttpRequest();
        xmlhttp.open("GET", pURL, true); // leave true for Gecko
        xmlhttp.send(null);
    } else if (window.ActiveXObject) { //IE 
        xmlhttp=new ActiveXObject('Microsoft.XMLHTTP'); 
        if (xmlhttp) {
            xmlhttp.open('GET', pURL, false);
            xmlhttp.send();
        }
    }
}
getFile("<?php global $request_type;echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER).DIR_WS_CATALOG;?>javascript_check.php?<?php echo zen_session_name() . '=' . zen_session_id(); ?>");
//--></script>