var strTypeBrowser = '' if (document.layers) { strTypeBrowser = 'NS'; } else if (document.all) { strTypeBrowser = 'IE'; } else if (document.getElementById) { strTypeBrowser = 'MO'; } function f_setbgcolor(p_id, color) { if (strTypeBrowser == 'NS') document[p_id.id].bgColor = color == 'transparent' ? null : color; else if (strTypeBrowser == 'IE') { document.all[p_id].bgColor = color; } else if (strTypeBrowser == 'MO') { document.getElementById(p_id).bgColor = color; } } function f_settxcolor(p_id, color) { if (strTypeBrowser == 'NS') { document[p_id].color = color == 'transparent' ? null : color; } else if (strTypeBrowser == 'IE') { document.all[p_id].style.color = color; } else if (strTypeBrowser == 'MO') { document.getElementById(p_id).style.color = color; } } function selectbevlist(objSel, waarde) { // Selecteert de waarde die in objSel voorkomt for (var i = 0; i < objSel.options.length; i++) { if (objSel.options[i].value==waarde) { objSel.options[i].selected=true; } } } function DoMouseNavTD(p_id, colorbg, colortxt){ f_setbgcolor(p_id, colorbg); f_settxcolor(p_id, colortxt); } var numHeight = 550; var numWidth = 650; var resizeable = "1"; var wPop ; var strScrollbars = "no" ; function f_popup(strPagina) { var posX = (screen.width / 2) - (numWidth / 2); var posY = (screen.height / 2) - (numHeight / 2) ; // 20 posX = posX.toString(); posY = posY.toString(); var strParms = "resizable=" + resizeable + ", width=" + numWidth.toString() + ",height=" + numHeight.toString() + ",status=no,toolbar=no,menubar=no,scrollbars=" + strScrollbars + ",screenx=" + posX + ",left=" + posX + ",top=" + posY + ",screeny=" + posY ; wPop = window.open(strPagina,"yz123_popup",strParms); wPop.focus(); return wPop; } function f_publicatie(pub_id, strType, strVrnaam) { // pub_id: publicatie id // strType: vr / hr / sr // strVrnaam: vaste rubriek naam if (strType=='vr') { // Vaste rubriek parent.main.location.href='ijz_publicaties.asp?vr_id=' + strVrnaam + '&hr_id=&sr_id='; } else { if (strType=='hr') { // Hoofdrubriek parent.main.location.href='ijz_publicaties.asp?hr_id=' + pub_id.toString(); } else { // Subrubriek parent.main.location.href='ijz_publicaties.asp?sr_id=' + pub_id.toString(); } } } function f_show(p_id) { document.getElementById(p_id).style.display='block'; } function f_hide(p_id) { document.getElementById(p_id).style.display='none'; } function f_status(p_id) { return document.getElementById(p_id).style.display; } function doPopUpPreviewTekst(strVeld1, strVeld2, strTabel, strKey) { strLink = '../shared/beh_tekst_preview_popup.asp?v1=' + strVeld1 + '&v2=' + strVeld2 + '&t=' + strTabel + '&i=' + strKey; scrollable = "yes"; f_popup(strLink); } function doPopUpOpmaaktext() { strLink = '../shared/beh_uitleg_opmaak.asp' f_popup(strLink); }