// COPYRIGHT (C) 2004 SLIM WEB ARCHITECTURE, BREDA, THE NETHERLANDS
// ALL CODE IS COPYRIGHTED MATERIAL
// NOTHING MAY BE COPIED OR USED WITHOUT EXPRESS PERMISSION FROM SLIM WEB ARCHITECTURE
// WWW.SLIMWEB.NL

function openhtms(bestand,breed,hoog) {
var xxwin,wd,hg;
if (window.screen) {
 wd=Math.round((window.screen.width-breed)/2);
 hg=Math.round((window.screen.height-hoog)/2);
 } else {
 wd=100;hg=100;
 }
xxwin=window.open(bestand,'openhtms','width='+breed+',height='+hoog+',left='+wd+',top='+hg+',dependent=yes,resizable=0,toolbar=0,scrollbars=1');
if (window.screen) xxwin.focus();
}

function addbookmark() {
if (document.all) window.external.AddFavorite("http://miweb.netherlands.glaxo/forum/frm_ndx.php","MIWEB Forum");
}

function profile(id) {
openhtms("/forum/profileshow.php?pid="+id,500,450);
}

function spExp(oid) {
 var Lyr;
 if ((navigator.appName == "Netscape") && (navigator.userAgent.indexOf("Gecko") == -1)) {
  if (document[oid].visibility != "show") {
   document[oid].visibility="show";
  } else {
   document[oid].visibility="hide";
  }
 } else {
  Lyr = document.getElementById(oid);
  if (Lyr.className == 'spoiler') {
   Lyr.className = 'spoilershow';
  } else {
   Lyr.className = 'spoiler';
  }
 }
}
