function wpopup(st,w,h) {
    var ww=window.open(st,'newwin','toolbar=no,menubar=yes,scrollbars=no,resizable=no,location=no,width=532,height=296,top=0,left=0');
    ww.resizeTo(w,h);
    ww.focus();
}

  var rowHighlight = true
  var colHighlight = true

 function getElement(el) {
    var tagList = new Object
    for (var i = 1; i < arguments.length; i++) tagList[arguments[i]] = true
    while ((el!=null) && (tagList[el.tagName]==null)) el = el.parentElement
    return el
  }
 function checkHighlight(which) {
    var el = getElement(event.srcElement,"TH","TD")
    if (el==null) return
    if ((el.tagName=="TD") && (rowHighlight)) {
      var row = getElement(el, "TR") 
      var table = getElement(row, "TABLE")
      if (which) row.className = "rov"
      else row.className = ""
      cache = row
    }
  }
