//Validtae form
function validate() {
			var validateOK = true;
			var validateMsg = "   The following must contain a value to continue\n\n";
			validateMsg += "--------------------------------------------------------------------------------\n\n";
			if(document.getElementById("email").value == "") {
					validateOK = false;
					validateMsg += "    - You have not provided your email address\n";
			} else {
				var email_regex = new RegExp ("^(\\w+)(\@)(\\w+)(\\.)(\\w+)$");
				var result = email_regex.exec (document.getElementById("email").value);
				if (result == null) {
					validateOK = false;
					validateMsg += "    - Your email address appears invalid\n";
				}
			}
			//txtEmailName
			if(document.getElementById("realname").value == "") {
					validateOK = false;
					validateMsg += "    - You have not provided your name\n";
				}			
			//txtMsg
			if(document.getElementById("requirements").value == "") {
					validateOK = false;
					validateMsg += "    - Please enter your requirements in textbox provided\n";
				}
			validateMsg += "\n--------------------------------------------------------------------------------\n\n";
			
			if (!validateOK) {
					alert(validateMsg);
				}
			return validateOK;
		}

	function todayStr() {
var today=new Date();
var year=today.getYear();
 if(year < 2000) { year = year + 1900; }
return today.getMonth()+1+"/"+today.getDate()+"/"+year;
}

