//mailto-----------------
function noSpam(user,domain) { 
	locationstring = "mailto:" + user + "@" + domain; 
	window.location = locationstring; 
}

//form validation--------
function validateContactForm() {
var formID = document.getElementById('contactForm');
// check name
with(formID) {
 if (name.value == "") {
	alert ("Please enter a name!");
	name.focus();
	return false;
 }
 // check email address
 if ((email.value==null)||(email.value=="")){
	alert("Please Enter your Email Address.")
	email.focus();
	return false;
 }
 if (echeck(email.value)==false){
	email.value="";
	email.focus();
	return false;
 }
// if (subject.value == "") {
//	alert ("Please enter a subject for the contact form.");
//	subject.focus();
//	return false;
// }
 if (message.value == "") {
	alert ("Please enter a message for the contact form.");
	message.focus();
	return false;
 }
}
return true;
}