// avoid error of passing event object in older browsers // if (!document.layers && !document.all) { // event = "nope" // } function doTooltip(evt,txt) { // enclose tip in nested tables for uniform 'tooltip' effect // customize here var tip = '
' + txt + '<\/td><\/tr><\/table>' // check for object (i.e., layers or all) // for Netscape 4+ if (document.layers) { document.tooltip.document.write(tip) document.tooltip.document.close() document.tooltip.left = evt.pageX + 8 document.tooltip.top = evt.pageY + 8 document.tooltip.visibility = "show" } // for IE 4+ if (document.all) { document.all.tooltip.innerHTML = tip document.all.tooltip.style.pixelLeft = event.clientX+document.body.scrollLeft+15 document.all.tooltip.style.pixelTop = event.clientY+document.body.scrollTop document.all.tooltip.style.visibility = "visible" } } function hideTip() { if (document.layers) { document.tooltip.visibility = "hide" } if (document.all) { document.all.tooltip.style.visibility = "hidden" } } function showtext(element,text) { if (document.layers) { document(element).document.write(text); document(element).document.close(); } if (document.all) { document.all(element).innerHTML = text; } } function go(link, target) { if (target == '') { self.location=link; } else { top.open(link, target); } } //---------------------------------------------------------------------- function redirect(url, target, time) { if (time > 0) { document.write("U wordt over " +time+ " seconden doorverwezen"); } link = go(url,target); self.setTimeout(link, (time*1000)); } // browser test: bName = navigator.appName; bVer = parseInt(navigator.appVersion); browserVer = 2; if (bName == "Netscape" && bVer >= 3) browserVer = 1; function Popup(info,width,height,scrollbar){ //if scrollbar=='' { //scrollbar='no' //} //+scrollbar+ popup=window.open(info,'toelichting','resizable,width='+width+',height='+height+',scrollbars='+scrollbar); // if (browserVer == 1) popup.focus(); } //------------------------------------------------------------------------------ function server_execute(routine,action,name,britevalues,item_id) { var strUrl='brite.asp?action=server_execute&routine=' + routine + '&subroutine=' + action + '&name=' + name + '&item_id=' + item_id + '&britevalue=' + britevalues top.open(strUrl,'hidden','','false'); } function displaychat(id) { window.open("chat/frameset.asp?id=" + id,id,"width=200,height=400,status,resizable=yes") } function BookmarkPage(sLink, sDescription) { window.external.addFavorite(sLink, sDescription) } //maakt kleuren in tabelrijen function filltr(){ var c = 1; var t = document.getElementsByTagName("TABLE").length if (t==0) return; var tbls = document.getElementsByTagName("TABLE") //for ( t = 0; t < tbls.length; t ++ ) // { var tbl = tbls.item(t-1); var rows = tbl.getElementsByTagName("TR"); for ( r = 0 ; r < rows.length ; r ++) { var row = rows.item(r); if (c==1) { c=2; } else { c=1; } row.className="rij_" + c; } // } } function help(keyword){ window.open('/web_os_1_4/popup.asp?action=display_help&trefwoord=' + keyword,'help','width=230,height=300,resizable=1,toolbar=0'); } // opent correcte link vanaf permissiebalk function go_edit(url,target){ if (target=='popup') { window.open(url,'popup','width=400,height=350,resizable=1,scrollbars=1,top=20,left=20'); return } try { if (parent.location.pathname=='/web_os_1_4/viewtab.asp') { this.location.href=url } } catch(e) {} if (top.main) { top.main.location.href=url return } this.location.href=url }