// site.js -- site-wide JavaScript

// ----------------------
// selectURL( objSelect )
// ----------------------
// Handler for class selection forms.
// Each <form> has a <select> element whose <option>s contain URL values.
// Upon selection, user is sent to the corresponding URL.
// Install this function as the <select>'s onchange handler:
//   <select ... onchange="selectURL( this );">
// objSelect is the <select> object.
function selectURL( objSelect )
{
  var index = objSelect.selectedIndex;
  var url = objSelect.options[index].value;
  window.location = url;
}

