<!--

function popup_gpa() {
  window.open('gpa.html', 'GPA', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=175,height=390');
}
function popup_cvv2() {
  window.open('cvv2.html', 'CVV2 Code', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=400,height=410');
}
function popup_ccp_help() {
  window.open('ccp_help_buttons.html', 'Help', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=400,height=410');
}
function popup_csearch() {
  window.open('csearch_prev.php', 'College Search Preview', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=775,height=525');
}
function popup_cpricing() {
  window.open('cpricing.php', 'College Pricing', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=500,height=525');
}
function check_search_results(theform) {
  var num_checked = 0
  for (i = 0; i < theform.elements.length; i++) {
    var e=theform.elements[i]
    if (e.name == 'chk_student[]') {
      if (e.checked) {
        num_checked++
      }
    }
  }
  if (num_checked == 0) {
    alert('Please select a student from the list before pressing this button.')
    return false
  }
}
function hupdate_hs_list(ctrl, updatectrl) {
  var s_url;
  s_url = 'hregister_hslist.php?hs_state='+ctrl.value;
  top.list_hs.location.href = s_url;
  return;
}

function get_element( id )
{
    if (document.getElementById)
        var returnVar = document.getElementById(id);
    else if (document.all)
        var returnVar = document.all[id];
    else if (document.layers)
        var returnVar = document.layers[id];
    return returnVar;
}

-->
