// JavaScript Document
			function CheckEmail (strng) 
			{
				var error="";

				if (strng == "") {
					error = "You didn't enter an E-mail address.";
				}

			    var emailFilter=/^.+@.+\..{2,3}$/;
			    if (!(emailFilter.test(strng))) { 
					error = "Please enter a valid E-mail address.";
				}
				else {
					//test email for illegal characters
					var illegalChars= /[\(\)\<\>\,\;\:\\\"\[\]]/
					if (strng.match(illegalChars)) {
    	    			error = "The E-Mail address contains illegal characters.";
    	   			}
    			}
				return error;    
			}
		
			function FormValidate(ContactITMngr)
			{
				var error;
				
				if (document.emailform.Name.value == "")
				{
					alert("You must enter your Name before continuing.");
					document.emailform.Name.focus();
					document.emailform.Name.select();
					return false;
				}
				if (document.emailform.Emailaddress.value == "")
				{
					alert("You must enter your Email before continuing.");
					document.emailform.Emailaddress.focus();
					document.emailform.Emailaddress.select();
					return false;
				}
				if (document.emailform.Address.value == "")
				{
					alert("You must enter your Street Address before continuing.");
					document.emailform.Address.focus();
					document.emailform.Address.select();
					return false;
				}
				if (document.emailform.City.value == "")
				{
					alert("You must enter your City before continuing.");
					document.emailform.City.focus();
					document.emailform.City.select();
					return false;
				}
				if (document.emailform.State.value == "")
				{
					alert("You must enter your State before continuing.");
					document.emailform.State.focus();
					document.emailform.State.select();
					return false;
				}
				if (document.emailform.Zip.value == "")
				{
					alert("You must enter your Zip Code before continuing.");
					document.emailform.Zip.focus();
					document.emailform.Zip.select();
					return false;
				}
				if (document.emailform.Homephone.value == "")
				{
					alert("You must enter your Home Phone before continuing.");
					document.emailform.Homephone.focus();
					document.emailform.Homephone.select();
					return false;
				}
				if (document.emailform.Workphone.value == "")
				{
					alert("You must enter your Work Phone before continuing.");
					document.emailform.Workphone.focus();
					document.emailform.Workphone.select();
					return false;
				}
				if (document.emailform.questions.value == "")
				{
					alert("You must enter your Questions/Comments before continuing.");
					document.emailform.questions.focus();
					document.emailform.questions.select();
					return false;
				}				

				return (true);
			}
			function FormValidate2(ContactITMngr)
			{
				var error;
				
				if (document.emailform2.Name.value == "")
				{
					alert("You must enter your Name before continuing.");
					document.emailform2.Name.focus();
					document.emailform2.Name.select();
					return false;
				}
				if (document.emailform2.Address.value == "")
				{
					alert("You must enter your address before continuing.");
					document.emailform2.Address.focus();
					document.emailform2.Address.select();
					return false;
				}
				if (document.emailform2.City.value == "")
				{
					alert("You must enter your city before continuing.");
					document.emailform2.City.focus();
					document.emailform2.City.select();
					return false;
				}				
				if (document.emailform2.State.value == "")
				{
					alert("You must enter your state before continuing.");
					document.emailform2.State.focus();
					document.emailform2.State.select();
					return false;
				}								

				return (true);
			}
			
