function validatePhone(thefrmPhone)
{
	
	if (thefrmPhone.sPhone.value=="") {
		alert("Please Enter Your 10-digit Mobile Number starting with 8 or 9.");
		thefrmPhone.sPhone.focus();
		return false;
	}
 
	strMobile = thefrmPhone.sPhone.value;
	var phoneRE = /^[89]\d\d\d\d\d\d\d\d\d$/;   
	if (strMobile.match(phoneRE)) {   
		return true;   
	}
	else {   
   		alert( 'Sorry !! The Mobile number entered is invalid. Please Enter Your 10-digit Mobile Number starting with 8 or 9.' );
		thefrmPhone.sPhone.focus();
		return false;
	}   
   

   return true;
}
