// Free Horoscope Validation
function FreehoroValidate() 
{

if ( document.freeastro.firstname.value == "" ){
		alert( "Please enter the Name." );
		document.freeastro.firstname.focus( );
		return false;
	}  

	if ( document.freeastro.dob.value == "" ){
		alert( "Please enter the Date of Birth." );
		document.freeastro.dob.focus( );
		return false;
	}
	
	if ( document.freeastro.tob.value == "" ){
		alert( "Please enter the Time of Birth." );
		document.freeastro.tob.focus( );
		return false;
	} 
	
	if ( document.freeastro.freeastroemail.value == "" ){
		alert( "Please enter the E-mail Address." );
		document.freeastro.freeastroemail.focus( ); 
		return false;
	}
	
	if ( !ValidateEmail( document.freeastro.freeastroemail.value ) )
		{
				alert( "Invalid E-mail " + document.freeastro.freeastroemail.value );
				document.freeastro.freeastroemail.focus( );
				return false;
		}
	 
 }
 
 
 // Form Validation for Professional Horoscope
 function ProHoroValidate()
{

if ( document.proastro.firstname.value == "" ){
		alert( "Please enter the Name." );
		document.proastro.firstname.focus( );
		return false;
	}
	if ( document.proastro.dob.value == "" ){
		alert( "Please enter the Date of Birth." );
		document.proastro.dob.focus( );
		return false;
	}
	
	if ( document.proastro.tob.value == "" ){
		alert( "Please enter the Time of Birth." );
		document.proastro.tob.focus( );
		return false;
	} 
	
	if ( document.proastro.proastroemail.value == "" ){
		alert( "Please enter the E-mail Address." );
		document.proastro.proastroemail.focus( ); 
		return false;
	}
	
	if ( !ValidateEmail( document.proastro.proastroemail.value ) )
		{
				alert( "Invalid E-mail " + document.proastro.proastroemail.value );
				document.proastro.proastroemail.focus( );
				return false;
		}
	 
 }
 
 // Form Validation for Marriage Matching Horoscope
 function MatchingValidate()
{

if ( document.marriagematching.boyfirstname.value == "" ){
		alert( "Please enter the Boy Name." );
		document.marriagematching.boyfirstname.focus( );
		return false;
	}
	if ( document.marriagematching.boydob.value == "" ){
		alert( "Please enter the Boy Date of Birth." );
		document.marriagematching.boydob.focus( );
		return false;
	}
	
	if ( document.marriagematching.boytob.value == "" ){
		alert( "Please enter the Boy Time of Birth." );
		document.marriagematching.boytob.focus( );
		return false;
	} 
	
	//
	if ( document.marriagematching.girlfirstname.value == "" ){
		alert( "Please enter the Girl Name." );
		document.marriagematching.girlfirstname.focus( );
		return false;
	}
	if ( document.marriagematching.girldob.value == "" ){
		alert( "Please enter the Girl Date of Birth." );
		document.marriagematching.girldob.focus( );
		return false;
	}
	
	if ( document.marriagematching.girltob.value == "" ){
		alert( "Please enter the Girl Time of Birth." );
		document.marriagematching.girltob.focus( );
		return false;
	} 
	 
	//
	
	if ( document.marriagematching.matchingemail.value == "" ){
		alert( "Please enter the E-mail Address." );
		document.marriagematching.matchingemail.focus( ); 
		return false;
	}
	
	if ( !ValidateEmail( document.marriagematching.matchingemail.value ) )
		{
				alert( "Invalid E-mail " + document.marriagematching.matchingemail.value );
				document.marriagematching.matchingemail.focus( );
				return false;
		}
	 
 }
 
 
 // Form Validation for Yearly Horoscope
 function YearlyHoroValidate()
{

if ( document.yearlyastro.firstname.value == "" ){
		alert( "Please enter the Name." );
		document.yearlyastro.firstname.focus( );
		return false;
	}
	if ( document.yearlyastro.dob.value == "" ){
		alert( "Please enter the Date of Birth." );
		document.yearlyastro.dob.focus( );
		return false;
	}
	
	if ( document.yearlyastro.tob.value == "" ){
		alert( "Please enter the Time of Birth." );
		document.yearlyastro.tob.focus( );
		return false;
	} 
	
	if ( document.yearlyastro.yearlyastroemail.value == "" ){
		alert( "Please enter the E-mail Address." );
		document.yearlyastro.yearlyastroemail.focus( ); 
		return false;
	}
	
	if ( !ValidateEmail( document.yearlyastro.yearlyastroemail.value ) )
		{
				alert( "Invalid E-mail " + document.yearlyastro.yearlyastroemail.value );
				document.yearlyastro.yearlyastroemail.focus( );
				return false;
		}
	 
 }
 
