  <!-- Hide from other browsers

  //function handleError (err, url, line)
  //{
    //if (err.indexOf('is not defined') != -1)
	//{
      //alert('Oops, something is not defined.\n' +
             //err + '\n' + url + '\nline no: ' + line);
      //return true; // error is handled 
	//}
	//else
	//{
      //return false; // let the browser handle the error
	//}
  //}
  //window.onerror = handleError;

	function displayCSS(mouseOn)
  {
      var dropdown, visible, hidden;
      var book = "<!--IMAIL.GetAddresses-->";
	
	  if((is_nav4up || is_ie4up) && (book.search('@') != -1))
	  {
      if (document.layers)
	    {
	      visible = 'show';
        hidden = 'hide';
        dropdown = document.layers[CSSObject];
	    }
	    else if (document.all)
	    {
        visible = 'visible';
        hidden = 'hidden';
        dropdown = document.all(CSSObject).style;
	    }
      else if (document.getElementById)
      {
        visible = 'visible';
        hidden = 'hidden';
        dropdown = document.getElementById(CSSObject).style;
      }
	  
	    if(mouseOn == 1)
	    {
        dropdown.visibility = visible;
	    }
	    if(mouseOn == 0 && CSSstatus=="1")
	    {
        dropdown.visibility = visible;
	    }
	    if(mouseOn == 0 && CSSstatus=="0")
	    {
        dropdown.visibility = hidden;
	    }
    }
  }

	function printCSS(choice, codeNum)
  {
	  var zero = "0";
	  var one  = "1";
	  var book2 = "<!--IMAIL.GetAddresses-->";
  
    if(is_ie4up && choice == "menu" && codeNum=="2")
	  {
	    document.writeln('<TR><TD></TD><TD COLSPAN="5"><DIV ID=' + CSSObject +'><TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0"><TR>');
	    document.write('<FORM name="CSSForm"><TD><SELECT NAME="menuChoices" SIZE="1" VALIGN="top" onChange="return getAddress();"');
	    document.write('onFocus="CSSstatus=' + one + '; return true;" onBlur="CSSstatus=' + zero + '; setTimeout(');
      document.write("'displayCSS(0)',500);");
      document.write('">');
	    document.writeln('<OPTION VALUE="#">'+ CSSselect + '</OPTION>');
	    document.write(book2);
	    document.writeln('</SELECT></TD></FORM></TR></TABLE></DIV></TD></TR>');
	  }
	  if(is_nav4up && choice == "menu" && codeNum=="1")
	  {  
	    document.writeln('<DIV ID=' + CSSObject +'><TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0"><TR>');
	    document.write('<FORM ID="myAddrForm" name="CSSForm"><TD><SELECT NAME="menuChoices" SIZE="1" VALIGN="top" onChange="return getAddress();"');
	    document.write('onFocus="CSSstatus=' + one + '; return true;" onBlur="CSSstatus=' + zero + '; setTimeout(');
      document.write("'displayCSS(0)',500);");
      document.write('">');
	    document.writeln('<OPTION VALUE="#">'+ CSSselect + '</OPTION>');
	    document.write(book2);
	    document.writeln('</SELECT></TD></FORM></TR></TABLE></DIV>');
	  }
	  
  }

  function getAddress()
  {
	  var address;
    var i;
    var ip   = "";
    var j    = 0;
    var user = "";
    var name;
    var email;
    var range = CSSObject        // Defined for Navigator 4.X
    var styleObj = ".document.CSSForm"  // Defined for Navigator 4.X


	  if (document.layers)
	  {
		  eval("i = document." + CSSObject + ".document.CSSForm.menuChoices.selectedIndex");
	  }
	  else if (document.all)
	  {
		  range = "all";
      styleObj = ".CSSForm.";
		  eval("i = document.all.CSSForm.menuChoices.selectedIndex");
	  }
    else if (document.getElementById)
    {
      range = "getElementById('myAddrForm')";
      styleObj = ".";
      i = document.getElementById("myAddrForm").menuChoices.selectedIndex;
    }

    if (i == -1)
	    return;

    eval("address = document." + range + styleObj + "menuChoices.options[i].text");

    if (address == "--No Addresses--" || address == CSSselect || address.length == 0)
	  {
      return;
    }
	  if (address == "" || (address.charAt(0)!='<' && address.charAt(0)!='"'))
    {
      return;
    }
    if (address.charAt(0) == '<')
    {
      i = address.length;
	    email = address.substring(j+1, i-1);
      location="<!--IMAIL.UserKey-->/newmsg.cgi?mbx=<!--IMAIL.CurrentMailbox-->&to="+ email;
      return;
    }
    while (address.charAt(j) != '<')  
    {
      j = j+1;
      if (j > address.length )
        break;
    }
    if (j > address.length)
    {
      j = 1;
      i = address.length;
        
      while (address.charAt(j) != '"')
        j = j + 1;
      name = address.substring(1,j);
      if (address.charAt(i - 1) == '>')
        email = address.substring(j+2, i-1);
      else
        email = address.substring(j+2, i);
    }
	  else
    {
      name = address.substring(1, j-2);
      i = address.length;
      email = address.substring(j+1, i-1);
    }
	  
	  location="<!--IMAIL.UserKey-->/newmsg.cgi?mbx=<!--IMAIL.CurrentMailbox-->&to="+ email;
    return;
  } 

  // -->


