function validateSeminarData(){
	var s = "";
	with (document.frmSeminar) {
	if (name.value.length == 0) {
		s += "\nPlease tell us your name."
	}
	if (mailfrom.value.length == 0) {
		s += "\nPlease provide your email address."
	}
	if (s.length==0) {
		with (document.frmContact) {
		} 
		return true;
	}
		else {
			alert("Your registration could not be completed for the following reason(s):\n" + s);
			return false;
		}
	}
}

function redirect(page) {
   //var x = frmSearch.pclass[].value;
   window.location.href = page;
}

function validateContactData(){
		var s = "";
		with (document.frmContact) {
			if (Name.value.length == 0) {
				s += "\nPlease tell us your name."
			}
			if (Email.value.length == 0) {
				s += "\nPlease make sure you provide your email address."
			}
		if (s.length==0) {
			with (document.frmContact) {
	
			}
			return true;
		}
		else {
			alert("The form could not be submitted for the following reason(s):\n" + s);
			return false;
		}
	}
	}

function validateNameEmail(){
	var s = "";
	with (document.frmDownload) {
	if (name.value.length == 0) {
		s += "\nPlease tell us your name."
	}
	if (email.value.length == 0) {
		s += "\nPlease provide your email address."
	}
	if (s.length==0) {
		with (document.frmDownload) {
		} 
		return true;
	}
		else {
			alert("Your request could not be completed for the following reason(s):\n" + s);
			return false;
		}
	}
}