// JavaScript Document

function winpopup (URL,WIDTH,HEIGHT) {
  window.open (URL,  "wmwindow","alwaysLowered=0,alwaysRaised=0,channelmode=0,dependent=0,directories=0,fullscreen=0,hotkeys=1,location=0,menubar=1,resizable=1,scrollbars=1,status=0,titlebar=1,toolbar=0,z-lock=0,width="+WIDTH+",height="+HEIGHT);
  //wmwindow.moveTo(0,0);
}

function showorhide(obj, val, divids) {
  if (obj.options[obj.selectedIndex].value == val) {
    state = 'block';
  } else {
    state = 'none';
  }
  for (i=0; i<divids.length; i++) {
    if (document.getElementById) { // DOM3 = IE5, NS6
      document.getElementById(divids[i]).style.display = state;
    } else {
      if (document.layers) {
        document.divids[i].display = state;
      } else {
        document.all.divids[i].style.visibility = state;
      }
    }
  }
}

