<!--
function Full(theForm)
{

	//*********blank field******************************************
	// check to see if the field is blank
	if (theForm.name.value == "")
	{
	alert("You must enter Your name.");
	theForm.name.focus();
	return (false);
	}
	
	if (theForm.company.value == "")
	{
	alert("You must enter the Companty / Organisation Name.");
	theForm.company.focus();
	return (false);
	}

	
	if (theForm.address.value == "")
	{
	alert("You must specify your address.");
	theForm.address.focus();
	return (false);
	}
	
	
	if (theForm.city.value == "")
	{
	alert("You must enter the City name.");
	theForm.city.focus();
	return (false);
	}
        if (theForm.state.value == "")
	{
	alert("You must enter the State name.");
	theForm.state.focus();
	return (false);
	}
	
	if (theForm.country.value == "")
	{
	alert ("You must enter the country name.");
	theForm.country.focus();
	return(false);
	}
     	
       
        if (theForm.pin.value == "")
	{
	alert("Please enter your Pin Code");
	theForm.pin.focus();
	return (false);
	}



 if (theForm.phone.value == "")
	{
	alert("Please Specify your phone numbers");
	theForm.phone.focus();
	return (false);
	}
	
	 
	
	 // test if valid email address, must have @ and .
	var checkEmail = "@.";
	var checkStr = theForm.email.value;
	var EmailValid = false;
	var EmailAt = false;
	var EmailPeriod = false;
	for (i = 0;  i < checkStr.length;  i++)
	{
	ch = checkStr.charAt(i);
	for (j = 0;  j < checkEmail.length;  j++)
		{
		if (ch == checkEmail.charAt(j) && ch == "@")
		EmailAt = true;
		if (ch == checkEmail.charAt(j) && ch == ".")
		EmailPeriod = true;
		  if (EmailAt && EmailPeriod)
		break;
      	  if (j == checkEmail.length)
		break;
		}

		// if both the @ and . were in the string
			if (EmailAt && EmailPeriod)
			{
			EmailValid = true
			break;
			}
		}
		if (!EmailValid)
		{
		alert("Invalid email ID ! Please enter your valid email ID.");
		theForm.email.focus();
		return (false);
		}

	// Personal Info Validations

if (theForm.details.value== "")
{
alert("Please enter details");
theForm.details.focus();
return(false);

}
}
//-->
