<!--
// JavaScript for switching to web page when user selects option from list box
// Written by Kelly Yancey, 1997.
// Copyright Kelly Yancey, 1997, 1998. May not be reproduced without permission.

function switchpage(select) {
// routine to automatically load new page when user selects
// item from list box. Should be invoked via the onChange
// method from a SELECT form field, for example:
// <SELECT onChange="switchpage(this)">
// the URL of the page to load when the OPTION is selected
// is given in the object's VALUE field.
  var index;	// variable to scan through OPTIONs

  for(index=0; index<select.options.length; index++)
    if(select.options[index].selected)
      {
        if(select.options[index].value!="") window.location.href=select.options[index].value;
        break;
      }
}

// -->
