<!-- Drop down nav ie fix -->
sfHover = function() {
	var sfEls = document.getElementById("navigation").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);


<!-- ----------------------------------------------------------------------- -->


function checkFields() {
missinginfo = "";
if (document.contact.first_name.value == "") {
missinginfo += "\n     -  First Name";
}
if (document.contact.last_name.value == "") {
missinginfo += "\n     -  Last Name";
}
if (document.contact.company.value == "") {
missinginfo += "\n     -  Company";
}
if ((document.contact.email.value == "") || 
(document.contact.email.value.indexOf('@') == -1) || 
(document.contact.email.value.indexOf('.') == -1)) {
missinginfo += "\n     -  Valid Email Address";
}
if (document.contact.phone.value == "") {
missinginfo += "\n     -  Phone";
}
if (document.contact.SolutionInterest.value == "") {
missinginfo += "\n     -  Solution Interest";
}
if (missinginfo != "") {
missinginfo ="You failed to correctly fill in your:\n" +
missinginfo + "\n_____________________________________________________" +
"\n\nPlease make sure you complete all required items and submit again.";
alert(missinginfo);
return false;
}
else return true;
}


<!-- ----------------------------------------------------------------------- -->


function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}


<!-- ----------------------------------------------------------------------- -->


function checkFields2() {
missinginfo = "";
if (document.download.first_name.value == "") {
missinginfo += "\n     -  First Name";
}
if (document.download.last_name.value == "") {
missinginfo += "\n     -  Last Name";
}
if ((document.download.email.value == "") || 
(document.download.email.value.indexOf('@') == -1) || 
(document.download.email.value.indexOf('.') == -1)) {
missinginfo += "\n     -  Valid Email Address";
}
if (document.download.company.value == "") {
missinginfo += "\n     -  Company";
}
if (document.download.city.value == "") {
missinginfo += "\n     -  City";
}
if (document.download.state.value == "") {
missinginfo += "\n     -  State";
}
if (document.download.application.value == "") {
missinginfo += "\n     -  Application Download";
}
if (missinginfo != "") {
missinginfo ="You failed to correctly fill in your:\n" +
missinginfo + "\n_____________________________________________________" +
"\n\nPlease make sure you complete all required items and submit again.";
alert(missinginfo);
return false;
}
else return true;
}
