//alert ("newhelp.js Activated")

function Link(myValue) {
//alert("In Link("+myValue+")")
  if ( myValue == "score" ) {
    if ( currentCheck[0] && currentCheck[1])  {
      if ( currentStatType[0] != currentStatType[1] ) { i
        myValue="both" 
      } else {
        myValue="s"+currentStatType[0]
      }
    } else if ( currentCheck[1] ) {
      if ( currentDisp[1] == "text" ) {
        alert("This is not available for Text file options")
        return;
      } else {
        myValue="s"+currentStatType[1]
      }
    } else {
      if ( currentDisp[0] == "text" ) {
        alert("This is not available for Text file options")
        return;
      } else {
        myValue="s"+currentStatType[0]
      }
    }
  } 
  //alert ( "myValue= "+myValue)
  window.open("/cgi-bin/npvu.explain.cgi?link="+myValue,"help","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=550,height=600,alwaysraised=yes")
}

function whatSubmit() {
  window.open("","help","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=550,height=600,alwaysRaised=yes")
  document.qpfv.action="/cgi-bin/npvu.explain.cgi"
  document.qpfv.target="help"
  document.qpfv.submit()
}

function mailOpen() {
  window.open("mailme.html","mail","toolbar=no,location=no,directories=no,status=no,menubar=no,width=400px,height=200px")
  //window.open("mailme.html","mail","toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,width=400px,height=600px")
}
