// JavaScript Document

navHover = function() {
	var lis = document.getElementById("navmenu").getElementsByTagName("LI");
	for (var i=0; i<lis.length; i++) {
		lis[i].onmouseover=function() {
			this.className+=" iehover";
		}
		lis[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" iehover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", navHover);


// Javascript Emails
function jemail(user, domain, suffix, txtDisplay){
document.write('<a href="' + 'mailto:' + user + '@' + domain + '.' + suffix + '">' + txtDisplay + '</a>');

}

function doKeyPress(formName,event)
  {
      if((event.which == 13) || (event.keyCode==13))
      {
          this.form.submit();
          event.returnValue=false;
          event.cancel=false;
          return false;   
      }
      else
      {
          return true;
      }
  }