function Full(frm1)
{
	
	var regExp = /^[A-Za-z\s,.()-]/;
	
if (frm1.relationship.selectedIndex <1)

	{

	alert("Please select one of the \"Relationship\" options.");

	frm1.relationship.focus();

	return (false);

	}



	// check if no drop down has been selected for gender

	

	if (frm1.gender.selectedIndex == 0)

	{

	alert("Please select one of the \"Gender\" options.");

	frm1.gender.focus();

	return (false);

	}



// check if no drop down has been selected for date

	

	if (frm1.date.selectedIndex == 0)

	{

	alert("Please select one of the \"Date \" options.");

	frm1.date.focus();

	return (false);

	}

	
	// check if blank value selected for date

	

	if (frm1.date.options[frm1.date.selectedIndex].value == "")

	{

	alert("Blank value can not be selected for \"Date \" options.");

	frm1.date.focus();

	return (false);

	}

	// check if no drop down has been selected for month


	if (frm1.month.selectedIndex == 0)

	{

	alert("Please select one of the \"Month \" options.");

	frm1.month.focus();

	return (false);

	}
// check if blank value is selected for month


	if (frm1.month.options[frm1.month.selectedIndex].value  == "")

	{

	alert("Blank value can not be selected for \"Month \" options.");

	frm1.month.focus();

	return (false);

	}
	

	// check if no drop down has been selected for year

	if (frm1.birthyear.selectedIndex == 0)

	{

	alert("Please select one of the \"year \" options.");

	frm1.birthyear.focus();

	return (false);

	}
	// check if blank value is selected for month


	if (frm1.birthyear.options[frm1.birthyear.selectedIndex].value == "")

	{

	alert("Blank value can not be selected for \"year \" options.");

	frm1.birthyear.focus();

	return (false);

	}

	

	// check if no drop down has been selected for marital status

	if (frm1.mstatus.selectedIndex == 0)

	{

	alert("Please select one of the \"Marital Status \" options.");

	frm1.mstatus.focus();

	return (false);

	}

	if (frm1.fathername.value == "")

	{

	alert("You must enter  father's name in the name field");

	frm1.fathername.focus();

	return (false);

	}

	var checkfathername= frm1.fathername.value;

   	for(var i = 0; i < checkfathername.length; i++)
	{
		if (!checkfathername.charAt(i).match(regExp))
		{
			alert("Invalid Content!");
			frm1.fathername.focus();
			return false;
		}
	}	

	var checkfathername = "@";

	var checkStr = frm1.fathername.value;

		for (i = 0;  i < checkStr.length;  i++)

		{

			ch = checkStr.charAt(i);

				for (j = 0;  j < checkfathername.length;  j++)

				{

					if (ch == checkfathername.charAt(j) && ch == "@")

					{	

					alert("'@' is Invalid fathername content ! Please enter your valid fathername.");

					frm1.fathername.focus();

					return(false);

				   }

				 }  

        }

	



	// check if no drop down has been selected for sect

	if (frm1.sect.selectedIndex == 0)

	{

	alert("Please select one of the Religion/Community options");

	frm1.sect.focus();

	return (false);

	}

	

	



// check if no drop down has been selected for cast

/*if (frm1.culture.selectedIndex == 0)
{

		   alert("Please select one of the cast/options");

			frm1.culture.focus();

			return(false);

		
}*/	
	
	// c	heck if no drop down has been selected for height

	if (frm1.height.selectedIndex == 0)

	{

	alert("Please select Height.");

	frm1.height.focus();

	return (false);

	}

	// check if no drop down has been selected for bodytype

	if (frm1.bodytype.selectedIndex == 0)

	{

	alert("Please select one of the \"body type\" options.");

	frm1.bodytype.focus();

	return (false);

	}

	// check if bloodgroup

	if (frm1.bloodg.selectedIndex == 0)

	{

	alert("Please select one of the \"blood group\" options.");

	frm1.bloodg.focus();

	return (false);

	}

	// check if no drop down has been selected for complexion

	if (frm1.complexion.selectedIndex == 0)

	{

	alert("Please select one of the \"complexion\" options.");

	frm1.complexion.focus();

	return (false);

	}
		


/*	var checktimeofbirth= "@";

	var checkStr = frm1.timeofbirth.value;

		for (i = 0;  i < checkStr.length;  i++)

		{

			ch = checkStr.charAt(i);

				for (j = 0;  j < checktimeofbirth;  j++)

				{

					if (ch == checktimeofbirth.charAt(j) && ch == "@")

					{	

					alert("'@' is Invalid timeofbirth content! Please enter your valid timeofbirth.");

					frm1.timeofbirth.focus();

					return(false);

				   }

				 }  

        }*/
		
	if (frm1.placeofbirth.value == "")

	{

	alert("You must enter a name in the  Placeofbirth field");

	frm1.placeofbirth.focus();

	return (false);

	}
var checkplaceofbirth= frm1.placeofbirth.value;

          for(var i = 0; i < checkplaceofbirth.length; i++)

          {

            if (!checkplaceofbirth.charAt(i).match(regExp))

            {
            alert("Invalid Content!");
			frm1.placeofbirth.focus();
              return false;

            }

          }		

	var checkplaceofbirth= "@";

	var checkStr = frm1.placeofbirth.value;

		for (i = 0;  i < checkStr.length;  i++)

		{

			ch = checkStr.charAt(i);

				for (j = 0;  j < checkplaceofbirth.length;  j++)

				{

					if (ch == checkplaceofbirth.charAt(j) && ch == "@")

					{	

					alert("'@' is Invalid placeofbirth content! Please enter your valid placeofbirth.");

					frm1.placeofbirth.focus();

					return(false);

				   }

				 }  

        }


	   // check to see if the field is blank

	if (frm1.nativeplace.value == "")

	{

	alert("You must enter a state name");

	frm1.nativeplace.focus();

	return (false);

	}
var checknativeplace= frm1.nativeplace.value;

          for(var i = 0; i < checknativeplace.length; i++)

          {

            if (!checknativeplace.charAt(i).match(regExp))

            {
            alert("Invalid Content!");
			frm1.nativeplace.focus();
              return false;

            }

          }

	var checknativeplace= "@";

	var checkStr = frm1.nativeplace.value;

		for (i = 0;  i < checkStr.length;  i++)

		{

			ch = checkStr.charAt(i);

				for (j = 0;  j < checknativeplace.length;  j++)

				{

					if (ch == checknativeplace.charAt(j) && ch == "@")

					{	

					alert("'@' is Invalid nativeplace content! Please enter your valid nativeplace.");

					frm1.nativeplace.focus();

					return(false);

				   }

				 }  

        }



	//*********blank field******************************************
	

	// check to see if the field is blank

	if (frm1.mothertongue.selectedIndex == 0)

	{
	alert("Please select one of the \"mother tounge \" options.");
	frm1.mothertongue.focus();
	return (false);
	}
	
	// check if no drop down has been selected for edu

	if (frm1.edu.selectedIndex == 0)

	{

	alert("Please select one of the \"education \" options.");

	frm1.edu.focus();

	return (false);

	}


	if (frm1.edud.value=="")

	{

	alert("Please select one of the \"education details");

	frm1.edud.focus();

	return (false);

	}
var checkedud= frm1.edud.value;

          for(var i = 0; i < checkedud.length; i++)

          {

            if (!checkedud.charAt(i).match(regExp))

            {
            alert("Invalid Content!");
			frm1.edud.focus();
              return false;

            }

          }	

	// check if no drop down has been selected for edud

	var checkedud= "@";

	var checkStr = frm1.edud.value;

		for (i = 0;  i < checkStr.length;  i++)

		{

			ch = checkStr.charAt(i);

				for (j = 0;  j < checkedud.length;  j++)

				{

					if (ch == checkedud.charAt(j) && ch == "@")

					{	

					alert("'@' is Invalid education content! Please enter your valid education.");

					frm1.edud.focus();

					return(false);

				   }

				 }  

        }






// check if no drop down has been selected for occupation

	if (frm1.occupation.selectedIndex == 0)

	{

	alert("Please select one of the \"occupation \" options.");

	frm1.occupation.focus();

	return (false);

	}


	if (frm1.profession.selectedIndex == 0)

	{

	alert("Please select one of the \"profession \" options.");

	frm1.profession.focus();

	return (false);

	}	

	if (frm1.service.value == "")

	{

	alert("Pls.Specify about your Business/Services/Profession.");

	frm1.service.focus();

	return (false);

	}

var checkservice= frm1.service.value;

          for(var i = 0; i < checkservice.length; i++)

          {

            if (!checkservice.charAt(i).match(regExp))

            {
            alert("Invalid Content!");
			frm1.service.focus();
              return false;

            }

          }


	

	var checkqualifications= "@";

	var checkStr = frm1.service.value;

		for (i = 0;  i < checkStr.length;  i++)

		{

			ch = checkStr.charAt(i);

				for (j = 0;  j < checkqualifications.length;  j++)

				{

					if (ch == checkqualifications.charAt(j) && ch == "@")

					{	

					alert("'@' is Invalid character Specify about your Business/Services/Profession.");

					frm1.service.focus();

					return(false);

				   }

				 }  

        }



	

	// check if no drop down has been selected for annualincome

	if (frm1.annualincome.selectedIndex == 0)

	{

	alert("Please select one of the \"Annual Income\" options.");

	frm1.annualincome.focus();

	return (false);

	}

	// check if no drop down has been selected for familyannualincome

	if (frm1.familyincome.selectedIndex == 0)

	{

	alert("Please select one of the \"family Annual Income\" options.");

	frm1.familyincome.focus();

	return (false);

	}



	// check if no drop down has been selected for family values

	if (frm1.familyvalues.selectedIndex == 0)

	{

	alert("Please select one of the \"Family Values\" options.");

	frm1.familyvalues.focus();

	return (false);

	}

	

	// check if no drop down has been selected for manglik

	if (frm1.manglik.selectedIndex == 0)

	{

	alert("Please select one of the \"manglik\" options.");

	frm1.manglik.focus();

	return (false);

	}

	if (frm1.mobileno.value == "")

	{

	alert("Pls. enter your mobile no.");

	frm1.mobileno.focus();

	return (false);

	}


//***************VALIDATION FORMORE ABOUT YOU********************************

	// check to see if the field is blank

	var checkqualifications= "@";

	var checkStr = frm1.qualifications.value;

		for (i = 0;  i < checkStr.length;  i++)

		{

			ch = checkStr.charAt(i);

				for (j = 0;  j < checkqualifications.length;  j++)

				{

					if (ch == checkqualifications.charAt(j) && ch == "@")

					{	

					alert("'@' is Invalid  educational qualifications and professional content! Please enter your valid educational qualifications and professional.");

					frm1.qualifications.focus();

					return(false);

				   }

				 }  

        }

	

	if (frm1.qualifications.value == "")

	{

	alert("Pls. write educational qualifications and professional or vocational training that you may have undergone.");

	frm1.qualifications.focus();

	return (false);

	}



/*	if (frm1.hobbies.options[frm1.hobbies.options.selectedIndex].value == "None")
	{
		alert("Pls. select Your Hobbies.");
		frm1.hobbies.focus();
		return (false);
	}


	if (frm1.personality.options[frm1.personality.options.selectedIndex].value == "None")
	{
		alert("Pls. select Your Personalities.");
		frm1.personality.focus();
		return (false);
	}*/


	if (frm1.unmarriedbro.selectedIndex == 0)
	{
		alert("Select number of unmarried brothers");
		frm1.unmarriedbro.focus();
		return (false);
	}

	if (isNaN(frm1.unmarriedbro.options[frm1.unmarriedbro.selectedIndex].value))

	{

	alert("Enter number of unmarried brothers");

	frm1.unmarriedbro.focus();

	return (false);

	}



	if (frm1.marriedbro.selectedIndex == 0)

	{

	alert("Select number of married brothers");

	frm1.marriedbro.focus();

	return (false);

	}

	if (isNaN(frm1.marriedbro.options[frm1.marriedbro.selectedIndex].value))

	{

	alert("Enter number of married brothers");

	frm1.marriedbro.focus();

	return (false);

	}

	

	if (frm1.unmarriedsis.selectedIndex == 0)

	{

	alert("Select number of unmarried sisters");

	frm1.unmarriedsis.focus();

	return (false);

	}

	if (isNaN(frm1.unmarriedsis.options[frm1.unmarriedsis.selectedIndex].value))

	{

	alert("Enter number of unmarried sisters");

	frm1.unmarriedsis.focus();

	return (false);

	}



	if (frm1.marriedsis.selectedIndex == 0)

	{

	alert("select number of married sisters");

	frm1.marriedsis.focus();

	return (false);

	}

	if (isNaN(frm1.marriedsis.options[frm1.marriedsis.selectedIndex].value))

	{

	alert("Enter number of married sisters");

	frm1.marriedsis.focus();

	return (false);

	}



	if(frm1.near1.selectedIndex==0)

	  {

         	alert("Pls. select your  nearest relatives.");

		frm1.near1.focus();

		return (false);

	  }

    


 

	

	if (frm1.nearname1.value == "")

	{

	alert("Pls. write full name of your nearest relatives.");

	frm1.nearname1.focus();

	return (false);

	}
var checknearname1= frm1.nearname1.value;

          for(var i = 0; i < checknearname1.length; i++)

          {

            if (!checknearname1.charAt(i).match(regExp))

            {
            alert("Invalid Content!");
			frm1.nearname1.focus();
              return false;

            }

          }
	var checknearname1= "@";

	var checkStr = frm1.nearname1.value;

		for (i = 0;  i < checkStr.length;  i++)

		{

			ch = checkStr.charAt(i);

				for (j = 0;  j < checknearname1.length;  j++)

				{

					if (ch == checknearname1.charAt(j) && ch == "@")

					{	

					alert("'@' is Invalid  nearname1 content! Please enter your valid nearname1.");

					frm1.nearname1.focus();

					return(false);

				   }

				 }  

        }










if (frm1.nearcity1.value == "")

	{

	alert("Pls. write city name.");

	frm1.nearcity1.focus();

	return (false);

	}
var checknearcity1= frm1.nearcity1.value;

          for(var i = 0; i < checknearcity1.length; i++)

          {

            if (!checknearcity1.charAt(i).match(regExp))

            {
            alert("Invalid Content!");
			frm1.nearcity1.focus();
              return false;

            }

          }
	var checknearcity1= "@";

	var checkStr = frm1.nearcity1.value;

		for (i = 0;  i < checkStr.length;  i++)

		{

			ch = checkStr.charAt(i);

				for (j = 0;  j < checknearcity1.length;  j++)

				{

					if (ch == checknearcity1.charAt(j) && ch == "@")

					{	

					alert("'@' is Invalid  nearcity1 content! Please enter your valid nearcity1.");

					frm1.nearcity1.focus();

					return(false);

				   }

				 }  

        }







		//*************Phone validation**********



	var strng=frm1.nearphone1.value	;

	var stripped = strng.replace(/[\(\)\.\-\ ]/g, '');

//strip out acceptable non-numeric characters;

if (isNaN(parseInt(stripped))) 

{

   alert("The  relation phone number contains illegal characters.Please enter valid phone number");

   frm1.nearphone1.focus();

	return (false);

}

var strng=frm1.nearphone1.value;

var Chars = "0123456789()-+ ";

  	if (frm1.nearphone1.value =="")

     	{

     	alert("Specify your  relation phone numbers");

	frm1.nearphone1.focus();

	return (false);

	}	

	for (i =0; i <= strng.length -1; i++) 

	{

		if (Chars.indexOf(strng.charAt(i)) == -1) 

		{

 			alert("Specify your  relative phone number");

			frm1.nearphone1.focus();

			return (false);

		}

	}



	

	// check if the first drop down is selected, if so, invalid selection in heard

	if (frm1.heard.selectedIndex == 0)

	{

	alert("Where did you hear about marriagearrangements.com from?");

	frm1.heard.focus();

	return (false);

	}

	// check if Terms is blank

	if (frm1.acceptterms.checked == false)

	{

	alert("Pls. select the box  to accept the Terms and Conditions of Services provided by marraigearrangements.com.");

	frm1.acceptterms.focus();

	return (false); 

	}	
}
