<!-- Copyright (c) 2006 Jaipur Software -->


<!--
function checkform ()
{

  if (f1.name.value == "") {  
	alert( "Please write your name in the \"Name\" field.");
    f1.name.focus();
    return false ;
  }

  if (!f1.url.value.match(/http:\/\/.+\..+/i)) {
    alert("Please enter a valid URL (i.e. http://www.domain.com/)");
    f1.url.focus();
    return false ;
  }

  if (f1.country.value == "") {
    alert( "Please select your country in the \"Country\" field.");
    f1.country.focus();
    return false ;
  }

  if (f1.phone.value == "") {
    alert( "Please select your phone in the \"Phone\" field.");
    f1.phone.focus();
    return false ;
  }

  if (!f1.email.value.match(/.+\@.+\..+/i))
	{
	alert("Please write your email address in the \"Email\" field.");
	f1.email.focus();
	return false;
	}

  if (f1.services.value == "") {
    alert( "Please select the services in which you are interested.");
    f1.services.focus();
    return false;
  }

  if (f1.currency.value == "") {
    alert( "Which currency your would like to pay?");
    f1.currency.focus();
    return false;
  }

  if (f1.budget.value == "") {
    alert( "Please select your monthly budget.");
    f1.budget.focus();
    return false;
  }

  if (f1.timeline.value == "") {
    alert( "What would be desire work timeline?");
    f1.timeline.focus();
    return false;
  }

  if (f1.startdate.value == "") {
    alert( "When you want to start this project?");
    f1.startdate.focus();
    return false;
  }

	var radioSelected = false;
	for (i = 0;  i < f1.optimization.length;  i++)
	{
	if (f1.optimization[i].checked)
	radioSelected = true;
	}
	if (!radioSelected)
	{
	alert("Please tell us if you have worked with an optimization company before?");
	f1.optimization[0].focus() ;
	return (false);
	}

  if (f1.keywords.value == "") {
    alert( "Please write your maximum 5 keywords into the \"Keywords\" field.");
    f1.keywords.focus();
    return false;
  }

  if (f1.reference.value == "") {
    alert( "Please tell us how did you find our site?");
    f1.reference.focus();
    return false;
  }

   return true ;
}
//-->