function setFocus() 
{
 if (document.forms.length>0)
 {
  for (var fld = 0; fld < document.forms[0].elements.length; fld++) 
  {
   var elt = document.forms[0].elements[fld];
   // skip certain element types
   if ( (elt.type == "password") || (elt.type == "text") || (elt.type == "textarea") || (elt.type == "select-one") || (elt.type == "select-multiple") ) 
   {
    elt.focus();
    return true;
   }
  }
 }

// var isIE=false;
// if (navigator.appName != "Netscape") {
//  isIE=true;
// }
 
// if (isIE) {
//  document.all.loading.style.visibility="hidden";
//  document.all.myapplet.style.visibility="visible";
//  document.applets[0].repaint();
// }
// else {
// document.loading.visibility="hide";
//  document.myapplet.visibility="visible";
// }

 return true;
}

function send( sAction )
{
 document.forms[0].AnalyserButton.value = sAction ;
 document.forms[0].submit();
}

