function validate_contactform(objcontfrm)
{
	notice="Sorry, we cannot complete your request.\n\n";
	msg=notice;
	var pnum=/(^\d+$)|(^\d+\.\d+$)/;
	var nemailExp= /^\w+(\-\w+)*(\.\w+(\-\w+)*)*@\w+(\-\w+)*(\.\w+(\-\w+)*)+$/ ; 
	var webExp=/^(http|https|frp):\/\/\w+(\-\w+)*(\.\w+(\-\w+)*)*\w+(\-\w+)*(\.\w+(\-\w+)*)+$/;
	if(objcontfrm.name.value=='Your Name' || objcontfrm.name.value=='') msg+='-Please enter your first name.\n';
	if(objcontfrm.city.value=='Your City' || objcontfrm.city.value=='') msg+='-Please enter your city.\n';
	
	if(objcontfrm.telephone.value=='' || objcontfrm.telephone.value=='Your Phone') msg+='-Please enter your phone no.\n';
	if(!(pnum.test(objcontfrm.telephone.value))) msg+='-Please enter a valid phone no.\n';
	if(objcontfrm.telephone.length<10) msg+='-Please enter 10 digits.\n';	
	if(objcontfrm.email.value=='' || objcontfrm.email.value=='Your Email Address') msg+='-Please enter your email address.\n';
	if(!(nemailExp.test(objcontfrm.email.value))) msg+='-Please enter a valid email address.\n';
//	if(objcontfrm.txtcomments.value=='Your Comments' || objcontfrm.txtcomments.value=='') msg+='-Please enter your comments.\n';

	if(msg!=notice)
	{
		alert(msg)
		return false;
	}
	else
	{
		return true;
	}
}
