function newwin (url,h,w) {
    if ( h == "big" ) {
      h = 700; w = 1000; }
    else if ( h == "small" ) {
      h = 300; w = 600; }

    params = "width=" + w + ",height=" + h + ",status=yes,resizable=yes,menubar=yes,scrollbars=yes,resizable=yes,screenX=100,screenY=50,left=100,top=50";
    win = window.open(url,"NEWWIN",params);
    win.focus();
//    win.moveTo(100,50);

// onMouseover='status="Click to Enlarge."; return true;' onMouseout='status=""; return true;'
}
// add p_ to beginning of html filename and redirect to that
// printer friendly page

function showtip(current,e,text,text2,text3) {
  t2=text2
  t3=text3
  
  if (document.all||document.getElementById) {
    thetitle=text.split('<br>')
  
    if (thetitle.length>1) {
      thetitles=''
      for (i=0;i<thetitle.length;i++)
        thetitles+=thetitle[i]
      current.title=thetitles+'   '+t2+'   '+t3
    }
    else
      alltext=text

    if ((t2 != "") && ( t2 != null))
      alltext = alltext + '\no ' + t2
    if ((t3 != "") && ( t3 != null))
      alltext = alltext + '\no ' + t3
    current.title=alltext
  }
  else if (document.layers) {
    document.tooltip.document.write('<layer width=100% background=#FFFFCC bgColor=#FFFFCC style="border:2px solid navy; background-color: #FFFFCC; font-size: 13pt;">'+text+t2+t3+'</layer>')
    document.tooltip.document.close()
    document.tooltip.left=e.pageX+5
    document.tooltip.top=e.pageY+5
    document.tooltip.visibility="show"
  }

}

function hidetip() {
  if (document.layers)
    document.tooltip.visibility="hidden"
}
