//<![CDATA[<!--
function ValidateForm() {
	var emailaddress = document.mail.txtFrom.value;
	if (!emailaddress == "") {
		if (!ValidateEmail(emailaddress)) {
			alert ('Please enter a valid e-mail address');
			document.mail.txtFrom.focus();
			document.mail.txtFrom.select();
			return false;
		}	
	}
}
function ValidateEmail(email) {
	//validate email
	var offset = email.indexOf('@');
	if (offset == -1) {
	// no @ symbol
	return false;
	}
	if (email.indexOf('@', offset + 1) != -1) {
		// more than 1 @ symbol
		return false;
	}
	if (email.indexOf(' ') != -1) {
		// space in email
		return false;
	}
	if (email.indexOf(',') != -1) {
		// comma in email
		return false;
	}
	if (offset == 0) {
		// nothing before the @ symbol
		return false;
	}
	if (email.substring(offset - 1, offset) == '.' || email.substring(offset + 1, offset + 2) == '.') {
		// . just before or just after the @ symbol
		return false;
	}

	if (email.indexOf('.', offset + 2) == -1) {
		// no . after the @ symbol
		return false;
	}
	while (offset != -1) {
		offset = email.indexOf('.', offset + 1)
		if (email.substring(offset + 1, offset + 2) == '.') {
			// double . (..)
			return false;
		}
	} 
return true;
}
function getInfo()
    {
    var now = new Date();
    document.mail.Date.value = now;
    document.mail.appCodeName.value = navigator.appCodeName;
    document.mail.appMinorVersion.value = navigator.appMinorVersion;
    document.mail.appName.value = navigator.appName;
    document.mail.appVersion.value = navigator.appVersion;
    document.mail.browserLanguage.value = navigator.browserLanguage;
    document.mail.cookieEnabled.value = navigator.cookieEnabled;
    document.mail.cpuClass.value = navigator.cpuClass;
    document.mail.onLine.value = navigator.onLine;
    document.mail.platform.value = navigator.platform;
    document.mail.systemLanguage.value = navigator.systemLanguage;
    document.mail.userAgent.value = navigator.userAgent;
    document.mail.userLanguage.value = navigator.userLanguage;
    document.mail.height.value = screen.height;
    document.mail.width.value = screen.width;
    }
function process()    {
    location.href="feedbackconfirmation.asp";
}
function formCheck() {
    var passed = false;
    
    if (document.mail.Subject.value == "")
    {
		alert("Subject is a required field");
		document.mail.Subject.focus();
		document.mail.Subject.select();
    }
    else
    {
		process();
		passed = true;
}
return passed;
}
//]]>-->