// JavaScript Document
function validation(theForm){
	if(!theForm.name.value){
		alert('Please enter your name.');
		theForm.name.focus();
		return false;
	}
	if(!theForm.email.value){
		alert('Please enter your email address.');
		theForm.email.focus();
		return false;
	}
	if(theForm.email.value != "" && theForm.email.value.indexOf("@") <= - 1){
		alert('Please enter a valid email address. (eg : enquiry@domain.com)');
		theForm.email.focus();
		return false;
	}
	if(!theForm.msg.value){
		alert('Please do not send empty '+theForm.msg.value+' to us\n Thank You.');
		theForm.name.focus();
		return false;
	}
	return true;
}