function validate()
{
	
if(document.frm.FName.value == "")

  {

   alert("Please fill Name Field.")

   document.frm.FName.focus()

   return false;

   }
if(document.frm.address.value == "")

  {

   alert("Please fill address Field.")

   document.frm.address.focus()

   return false;

   }
   if(document.frm.city.value == "")

  {

   alert("Please fill City Field.")

   document.frm.city.focus()

   return false;

   }
   if(document.frm.country.value == "")

  {

   alert("Please fill Country Field.")

   document.frm.country.focus()

   return false;

   }
    if(document.frm.zip.value == "")

  {

   alert("Please fill zip Field.")

   document.frm.zip.focus()

   return false;

   }
   
if(document.frm.phone.value == "")

  {

   alert("Please Phone Field.")

   document.frm.phone.focus()

   return false;

   }
if(document.frm.email.value.indexOf("@",0) < 0)

		{

		alert('Please enter a valid email address!');	

		document.frm.email.focus();	

		return false;

		}

		if(document.frm.email.value.indexOf(".",0) < 0)

		{

		alert('Please enter a valid email address!');

		document.frm.email.focus();		

		return false;

		}

      if(document.frm.email.value.indexOf(" ",0) >= 0)

      {

      alert('Your Email cannot have spaces');  

      document.frm.email.focus();    

      return false;

      }
if(document.frm.taComment.value == "")

  {

   alert("Please Comment Field.")

   document.frm.taComment.focus()

   return false;

   }
  
  return true;

 }
function IsNumeric(strString)
   //  check for valid numeric strings	
   {
   var strValidChars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
   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;
   }
