navHover = function() {
	var lis = document.getElementById("navmenu-h").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);


function checkContactUsInput() {
  name = document.f.name.value;
  if (name == '') { alert("Please provide a value for your name."); document.f.name.focus(); return;  }
  company = document.f.company.value;
  if (company == '') { alert("Please provide a value for your company."); document.f.company.focus(); return;  }
  phone = document.f.phone.value;
  if (phone == '') { alert("Please provide a value for your phone number."); document.f.phone.focus(); return;  }
  email = document.f.email.value;
  if (email == '') { alert("Please provide a value for your e-mail."); document.f.email.focus(); return  }
  how_heard = document.f.how_heard.value;
  if (how_heard == '') { alert("Please specify how you heard about us."); document.f.how_heard.focus(); return;  }
  document.f.submit();  
}

function checkABCInput() {
  name = document.f.name.value;
  if (name == '') {    alert("Please provide a value for your name.");    document.f.name.focus(); return;  }
  phone = document.f.phone.value;
  if (phone == '') {    alert("Please provide a value for your phone number."); document.f.phone.focus(); return;  }
  email = document.f.email.value;
  if (email == '') {    alert("Please provide a value for your e-mail.");    document.f.email.focus(); return  }
  subject = document.f.subject.value;
  if (subject == '') {    alert("Please specify your interest type.");    document.f.subject.focus(); return;  }
  if ((subject != '') && (subject != 'Personal')) {
    company = document.f.company.value;
    if (company == '') {    alert("Please provide your company name.");    document.f.company.focus(); return;  }
  }
  document.f.submit();  
}

function showhideBN() {
  subject = document.f.subject.value;
  obj = document.getElementById("bn");
  if ((subject == '') || (subject == 'Personal'))
    obj.style.display = 'none';
  else
    obj.style.display = '';  // DON'T USE 'BLOCK' - does not work in Firefox - '' works in IE and Firefox
}


