// JavaScript Document
function IsNumeric(strString)
   //  check for valid numeric strings	
   {
   var strValidChars = "0123456789.-";
   var strChar;
   var blnResult = true;

   if (strString.length == 0) return false;

   //  test strString consists of valid characters listed above
   for (i = 0; i < strString.length && blnResult == true; i++)
      {
      strChar = strString.charAt(i);
      if (strValidChars.indexOf(strChar) == -1)
         {
         blnResult = false;
         }
      }
   return blnResult;
   }
function validForm()
{
	//alert("check");	
	//alert(document.frm.small.value);	 

 	if(document.frm.name.value == "" || document.frm.name.value =='Name')
	{
		alert("Please enter your name");
		document.frm.name.focus();
		return false;
	}

	if(document.frm.email.value == "" || document.frm.email.value == "Email")
	{
		alert("Please enter email address");
		document.frm.email.focus();
		return false;
	}
	/*else
	{
		emailExp= /^\w+(\-\w+)*(\.\w+(\-\w+)*)*@\w+(\-\w+)*(\.\w+(\-\w+)*)+$/;
	 	 if (!(emailExp.test(document.frm.email.value)))
		{ 
			   alert("Invalid Email Address");
			   document.frm.email.focus();
			   return false;  
		} 
	}*/
	
	
		if(document.frm.phone.value=="" || document.frm.phone.value == "Phone")
				   {
				   alert("Please enter the phone")
				   document.frm.phone.focus();
				   return false;
				   }
				   /*if (IsNumeric(window.document.frm.phone.value) == false) 
                   {
                      alert("Please check phone - non numeric value!");
	                  return false;
                   }
	*/




			
	/*if(document.frm.enquiry.value == "" || document.frm.enquiry.value == "Your issues/comments")
	{
		alert("Please enter your issues/comments");
		document.frm.enquiry.focus();
		return false;
	}	*/
		
}


// JavaScript Document// JavaScript Document// JavaScript Document
