
function Checkall() {
var expword= /(http|href)/ig ;
   if (document.Frm.url.value == '') {

		alert("Enter your web site URL");

		document.Frm.url.focus();

		return false;

	}

	if (document.Frm.url.value.indexOf('.') < 0)

	{

		alert("Invalid URL");

		document.Frm.url.focus();

		return false;

	}


   if (document.Frm.keywords.value == '') {

		alert("Enter your desired keywords");

		document.Frm.keywords.focus();

		return false;

	}

	if(expword.test(document.Frm.keywords.value)==true)
	 {
	    alert("We cannot accept URLs in Keywords field!");
	 	document.Frm.keywords.focus();
		return false;
	 }


	if (document.Frm.name.value == '') {

		alert("Enter your name");

		document.Frm.name.focus();

		return false;

	}

	if(expword.test(document.Frm.name.value)==true)
	 {
	    alert("We cannot accept URLs in Name field!");
	 	document.Frm.name.focus();
		return false;
	 }

	if (document.Frm.email.value == '') {

		alert("Enter your E-mail address");

		document.Frm.email.focus();

		return false;

	}

	if (document.Frm.email.value.indexOf('@') < 0) {

		alert("Invalid Email address");

		document.Frm.email.focus();

		return false;

	}

	if (document.Frm.email.value.indexOf('.') < 0)

	{

		alert("Invalid Email address.");

		document.Frm.email.focus();

		return false;

	}

	if(expword.test(document.Frm.email.value)==true)
	 {
	    alert("We cannot accept URLs in Email field!");
	 	document.Frm.email.focus();
		return false;
	 }

	if (document.Frm.city.value == '') {

		alert("Enter your city");

		document.Frm.city.focus();

		return false;

	}
	if(expword.test(document.Frm.city.value)==true)
	 {
	    alert("We cannot accept URLs in City field!");
	 	document.Frm.city.focus();
		return false;
	 }

   if (document.Frm.country.value == '') {

		alert("Enter your country");

		document.Frm.country.focus();

		return false;

	}
  if(expword.test(document.Frm.country.value)==true)
	 {
	    alert("We cannot accept URLs in Country field!");
	 	document.Frm.country.focus();
		return false;
	 }

	 if(expword.test(document.Frm.comments.value)==true)
	 {
	    alert("We cannot accept URLs in Comments field!");
	 	document.Frm.comments.focus();
		return false;
	 }




	document.Frm.submit();

	}