function whatBrowser()
{
   var BrowserType = 0;
   if (document.getElementById) { 
      // Most Advanced
      browserType = 1;
   }
   else if (document.all) { 
      // Medium Compatibility
      browserType = 2;
   }
   else if (document.layers) {
      // Lowest Compatibility
      browserType=3;
   }
   return browserType;
}// end whatBrowser()


function goTop()
{
//Source:  Image and Audio, http://www.ImageAndAudio.com
//Date:    4/2003
//Purpose: Redirects the webpage to the link of the first item in a 
//         listmenu. The listment name should be "jumpmenu"
//         and should have a value that points to an anchor
//         at the top of the page. The listmenu must be
//         contained inside form tags.

//browser_in_use = whatBrowser();
//alert("Browser In Use: " + browser_in_use);

   //make sure the forms index matches the form that the
   //listmenu is in.
   //jumpmenu is the name of the listmenu item
   box = document.forms(0).jumpmenu; 
   box.selectedIndex = 0;
   destination = box.options(box.selectedIndex).value;
   if (destination) location.href = destination;

}//end goTop()

