// JavaScript Document

function valid()
{
	if(document.GRSubscribeForm.category2.value=="")

	{

		alert("Please Enter Your Name:");

		document.GRSubscribeForm.category2.focus();

		return(false);

	}
	
	
	if (document.GRSubscribeForm.category3.value=="") 

	{

		alert("Please Enter Your E-mail Address");    

		document.GRSubscribeForm.category3.focus();

		return(false);

	}
	
	if ((document.GRSubscribeForm.category3.value.length < 3)||(document.GRSubscribeForm.category3.value.indexOf("@") == 1)||(document.GRSubscribeForm.category3.value.indexOf(".") == -1)||(document.GRSubscribeForm.category3.value.indexOf("'")!= -1))

	{

				alert("Please enter a valid E-mail Address ");

				document.GRSubscribeForm.category3.focus();

				document.GRSubscribeForm.category3.select();

				return (false);

	}
	

return(true);

}
function valid1()
{
	if(document.registartionform.regname.value=="")

	{

		alert("Please Enter Your Name:");

		document.registartionform.regname.focus();

		return(false);

	}
	
	
	if (document.registartionform.regemail.value=="") 

	{

		alert("Please Enter Your E-mail Address");    

		document.registartionform.regemail.focus();

		return(false);

	}
	
	if ((document.registartionform.regemail.value.length < 3)||(document.registartionform.regemail.value.indexOf("@") == 1)||(document.registartionform.regemail.value.indexOf(".") == -1)||(document.registartionform.regemail.value.indexOf("'")!= -1))

	{

				alert("Please enter a valid E-mail Address ");

				document.registartionform.regemail.focus();

				document.registartionform.regemail.select();

		return (false);
	}
	return (true);
	
}


function valid2()
{
	if(document.lifemodel.name.value=="")

	{

		alert("Please Enter Your Name:");

		document.lifemodel.name.focus();

		return(false);

	}
	
	
	if (document.lifemodel.email.value=="") 

	{

		alert("Please Enter Your E-mail Address");    

		document.lifemodel.email.focus();

		return(false);

	}
	
	if ((document.lifemodel.email.value.length < 3)||(document.lifemodel.email.value.indexOf("@") == 1)||(document.lifemodel.email.value.indexOf(".") == -1)||(document.lifemodel.email.value.indexOf("'")!= -1))

	{

				alert("Please enter a valid E-mail Address ");

				document.lifemodel.email.focus();

				document.lifemodel.email.select();

		return (false);
	}
	return (true);
	
}
	
	
function valid3()
{
	if(document.contact.name.value=="")

	{

		alert("Please Enter Your Name:");

		document.contact.name.focus();

		return(false);

	}
	
	
	if (document.contact.email.value=="") 

	{

		alert("Please Enter Your E-mail Address");    

		document.contact.email.focus();

		return(false);

	}
	
	if ((document.contact.email.value.length < 3)||(document.contact.email.value.indexOf("@") == 1)||(document.contact.email.value.indexOf(".") == -1)||(document.contact.email.value.indexOf("'")!= -1))

	{

				alert("Please enter a valid E-mail Address ");

				document.contact.email.focus();

				document.contact.email.select();

		return (false);
	}
	return (true);
	
}
	
function valid4()
{
	if(document.ebook.category2.value=="")

	{

		alert("Please Enter Your Name:");

		document.ebook.category2.focus();

		return(false);

	}
	
	
	if (document.ebook.category3.value=="") 

	{

		alert("Please Enter Your E-mail Address");    

		document.ebook.category3.focus();

		return(false);

	}
	
	if ((document.ebook.category3.value.length < 3)||(document.ebook.category3.value.indexOf("@") == 1)||(document.ebook.category3.value.indexOf(".") == -1)||(document.ebook.category3.value.indexOf("'")!= -1))

	{

				alert("Please enter a valid E-mail Address ");

				document.ebook.category3.focus();

				document.ebook.category3.select();

				return (false);

	}
	

return(true);

}

function valid5()
{
	if(document.roadmap.name.value=="")

	{

		alert("Please Enter Your Name:");

		document.roadmap.name.focus();

		return(false);

	}
	
	
	if (document.roadmap.email.value=="") 

	{

		alert("Please Enter Your E-mail Address");    

		document.roadmap.email.focus();

		return(false);

	}
	
	if ((document.roadmap.email.value.length < 3)||(document.roadmap.email.value.indexOf("@") == 1)||(document.roadmap.email.value.indexOf(".") == -1)||(document.roadmap.email.value.indexOf("'")!= -1))

	{

				alert("Please enter a valid E-mail Address ");

				document.roadmap.email.focus();

				document.roadmap.email.select();

				return (false);

	}
	

return(true);

}

function valid6()
{
	if(document.roadmap-success.category2.value=="")

	{

		alert("Please Enter Your Name:");

		document.roadmap-success.category2.focus();

		return(false);

	}
	
	
	if (document.roadmap-success.category3.value=="") 

	{

		alert("Please Enter Your E-mail Address");    

		document.roadmap-success.category3.focus();

		return(false);

	}
	
	if ((document.roadmap-success.category3.value.length < 3)||(document.ebook.category3.value.indexOf("@") == 1)||(document.ebook.category3.value.indexOf(".") == -1)||(document.ebook.category3.value.indexOf("'")!= -1))

	{

				alert("Please enter a valid E-mail Address ");

				document.roadmap-success.category3.focus();

				document.roadmap-success.category3.select();

				return (false);

	}
	

return(true);

}

function valid7()
{
	if(document.ogodregistrationform.regname.value=="")

	{

		alert("Please Enter Your Name:");

		document.ogodregistrationform.regname.focus();

		return(false);

	}
	
	
	if (document.ogodregistrationform.regemail.value=="") 

	{

		alert("Please Enter Your E-mail Address");    

		document.ogodregistrationform.regemail.focus();

		return(false);

	}
	
	if ((document.ogodregistrationform.regemail.value.length < 3)||(document.ogodregistrationform.regemail.value.indexOf("@") == 1)||(document.ogodregistrationform.regemail.value.indexOf(".") == -1)||(document.ogodregistrationform.regemail.value.indexOf("'")!= -1))

	{

				alert("Please enter a valid E-mail Address ");

				document.ogodregistrationform.regemail.focus();

				document.ogodregistrationform.regemail.select();

				return (false);

	}
	

return(true);

}

function valid8()
{
	if(document.eventform.fullname.value=="")

	{

		alert("Please Enter Your Name:");

		document.eventform.fullname.focus();

		return(false);

	}
	
	
	if (document.eventform.email.value=="") 

	{

		alert("Please Enter Your E-mail Address");    

		document.eventform.email.focus();

		return(false);

	}
	
	if ((document.eventform.email.value.length < 3)||(document.eventform.email.value.indexOf("@") == 1)||(document.eventform.email.value.indexOf(".") == -1)||(document.eventform.email.value.indexOf("'")!= -1))

	{

				alert("Please enter a valid E-mail Address ");

				document.eventform.email.focus();

				document.eventform.email.select();

				return (false);

	}
	
	if (document.eventform.phone.value=="") 

	{

		alert("Please Enter Your Phone Number");    

		document.eventform.phone.focus();

		return(false);

	}
	if (document.eventform.coursename.value=="") 

	{

		alert("Please Enter Your E-course Name");    

		document.eventform.coursename.focus();

		return(false);

	}
	

return(true);

}

function payp(amt)
{
	
	if(document.ogodregistrationform.first_name.value=="")
	{
		alert("Please Enter Your Name:");
		document.ogodregistrationform.first_name.focus();
		return(false);
	}
	
	
	if (document.ogodregistrationform.email.value=="") 
	{
		alert("Please Enter Your E-mail Address");    
		document.ogodregistrationform.email.focus();
		return(false);
	}
	if ((document.ogodregistrationform.email.value.length < 3)||(document.ogodregistrationform.email.value.indexOf("@") == 1)||(document.ogodregistrationform.email.value.indexOf(".") == -1)||(document.ogodregistrationform.email.value.indexOf("'")!= -1))
	{
				alert("Please enter a valid E-mail Address ");
				document.ogodregistrationform.email.focus();
				document.ogodregistrationform.email.select();
				return (false);
	}
	if (document.ogodregistrationform.phone.value=="")
	{
		alert("Please Enter Your Phone No");
		document.ogodregistrationform.phone.focus();
		return(false);
	}

	 if (isNaN(document.ogodregistrationform.phone.value))

	 {
		 	alert("Phone_no1 Number can only be in digits[0-9]");
			document.ogodregistrationform.phone.focus();
			document.ogodregistrationform.phone.select();
			return (false);
	 }
	 
	 if (document.ogodregistrationform.option1.value=="select6")
	{
		alert("Please select any Color");
		document.ogodregistrationform.option1.focus();
		return(false);
	}
	
	if (document.ogodregistrationform.prayer.value=="prayer")
	{
		alert("Please select any prayer");
		document.ogodregistrationform.prayer.focus();
		return(false);
	}
	
		if (document.ogodregistrationform.country.value=="country")
	{
		alert("Please select any country");
		document.ogodregistrationform.country.focus();
		return(false);
	}
	document.ogodregistrationform.amount.value=amt;
	
	if (document.ogodregistrationform.country.value=="others")
	{
		document.ogodregistrationform.amount.value=amt + 14.95;
	}
	else
	{
		document.ogodregistrationform.amount.value=amt + 9.95;
	}
	
		 
	
var cm = document.ogodregistrationform.first_name.value + ',' +  document.ogodregistrationform.email.value + ',' + document.ogodregistrationform.phone.value + ',' +  document.ogodregistrationform.option1.value + ',' + document.ogodregistrationform.prayer.value + ',' + document.ogodregistrationform.country.value;	
	

	
	document.ogodregistrationform.custom.value=cm;
	document.ogodregistrationform.submit();


}


function Pomegranate(amt)
{
	
	if(document.pomegranatewoodform.first_name1.value=="")
	{
		alert("Please Enter Your Name:");
		document.pomegranatewoodform.first_name1.focus();
		return(false);
	}
	
	
	if (document.pomegranatewoodform.email1.value=="") 
	{
		alert("Please Enter Your E-mail Address");    
		document.pomegranatewoodform.email1.focus();
		return(false);
	}
	if ((document.pomegranatewoodform.email1.value.length < 3)||(document.pomegranatewoodform.email1.value.indexOf("@") == 1)||(document.pomegranatewoodform.email1.value.indexOf(".") == -1)||(document.pomegranatewoodform.email1.value.indexOf("'")!= -1))
	{
				alert("Please enter a valid E-mail Address ");
				document.pomegranatewoodform.email1.focus();
				document.pomegranatewoodform.email1.select();
				return (false);
	}
	if (document.pomegranatewoodform.phone1.value=="")
	{
		alert("Please Enter Your Phone No");
		document.pomegranatewoodform.phone1.focus();
		return(false);
	}

	 if (isNaN(document.pomegranatewoodform.phone1.value))

	 {
		 	alert("Phone_no1 Number can only be in digits[0-9]");
			document.pomegranatewoodform.phone1.focus();
			document.pomegranatewoodform.phone1.select();
			return (false);
	 }
	 
	 if (document.pomegranatewoodform.option2.value=="select6")
	{
		alert("Please select any Color");
		document.pomegranatewoodform.option2.focus();
		return(false);
	}
	
	if (document.pomegranatewoodform.prayer1.value=="prayer")
	{
		alert("Please select any prayer");
		document.pomegranatewoodform.prayer1.focus();
		return(false);
	}
	
		if (document.pomegranatewoodform.country1.value=="country")
	{
		alert("Please select any country");
		document.pomegranatewoodform.country1.focus();
		return(false);
	}
	document.pomegranatewoodform.amount.value=amt;
	
	if (document.pomegranatewoodform.country1.value=="others")
	{
		document.pomegranatewoodform.amount.value=amt + 14.95;
	}
	else
	{
		document.pomegranatewoodform.amount.value=amt + 9.95;
	}
	
		 
	
var cm = document.pomegranatewoodform.first_name1.value + ',' +  document.pomegranatewoodform.email1.value + ',' + document.pomegranatewoodform.phone1.value + ',' +  document.pomegranatewoodform.option2.value + ',' + document.pomegranatewoodform.prayer1.value + ',' + document.pomegranatewoodform.country1.value;	
	

	
	document.pomegranatewoodform.custom.value=cm;
	document.pomegranatewoodform.submit();


}



function Rhinestones(amt)
{
	
	if(document.rhinestonesfrom.first_name2.value=="")
	{
		alert("Please Enter Your Name:");
		document.rhinestonesfrom.first_name2.focus();
		return(false);
	}
	
	
	if (document.rhinestonesfrom.email2.value=="") 
	{
		alert("Please Enter Your E-mail Address");    
		document.rhinestonesfrom.email2.focus();
		return(false);
	}
	if ((document.rhinestonesfrom.email2.value.length < 3)||(document.rhinestonesfrom.email2.value.indexOf("@") == 1)||(document.rhinestonesfrom.email2.value.indexOf(".") == -1)||(document.rhinestonesfrom.email2.value.indexOf("'")!= -1))
	{
				alert("Please enter a valid E-mail Address ");
				document.rhinestonesfrom.email2.focus();
				document.rhinestonesfrom.email2.select();
				return (false);
	}
	if (document.rhinestonesfrom.phone2.value=="")
	{
		alert("Please Enter Your Phone No");
		document.rhinestonesfrom.phone2.focus();
		return(false);
	}

	 if (isNaN(document.rhinestonesfrom.phone2.value))

	 {
		 	alert("Phone_no1 Number can only be in digits[0-9]");
			document.rhinestonesfrom.phone2.focus();
			document.rhinestonesfrom.phone2.select();
			return (false);
	 }
	 
	 if (document.rhinestonesfrom.option3.value=="select6")
	{
		alert("Please select any Color");
		document.rhinestonesfrom.option3.focus();
		return(false);
	}
	
	if (document.rhinestonesfrom.prayer2.value=="prayer")
	{
		alert("Please select any prayer");
		document.rhinestonesfrom.prayer2.focus();
		return(false);
	}
	
		if (document.rhinestonesfrom.country2.value=="country")
	{
		alert("Please select any country");
		document.rhinestonesfrom.country2.focus();
		return(false);
	}
	document.rhinestonesfrom.amount.value=amt;
	
	if (document.rhinestonesfrom.country2.value=="others")
	{
		document.rhinestonesfrom.amount.value=amt + 14.95;
	}
	else
	{
		document.rhinestonesfrom.amount.value=amt + 9.95;
	}
	
		 
	
var cm = document.rhinestonesfrom.first_name2.value + ',' +  document.rhinestonesfrom.email2.value + ',' + document.rhinestonesfrom.phone2.value + ',' +  document.rhinestonesfrom.option3.value + ',' + document.rhinestonesfrom.prayer2.value + ',' + document.rhinestonesfrom.country2.value;	
	

	
	document.rhinestonesfrom.custom.value=cm;
	document.rhinestonesfrom.submit();


}


function man(amt)
{
	
	if(document.manform.first_name3.value=="")
	{
		alert("Please Enter Your Name:");
		document.manform.first_name3.focus();
		return(false);
	}
	
	
	if (document.manform.email3.value=="") 
	{
		alert("Please Enter Your E-mail Address");    
		document.manform.email3.focus();
		return(false);
	}
	if ((document.manform.email3.value.length < 3)||(document.manform.email3.value.indexOf("@") == 1)||(document.manform.email3.value.indexOf(".") == -1)||(document.manform.email3.value.indexOf("'")!= -1))
	{
				alert("Please enter a valid E-mail Address ");
				document.manform.email3.focus();
				document.manform.email3.select();
				return (false);
	}
	if (document.manform.phone3.value=="")
	{
		alert("Please Enter Your Phone No");
		document.manform.phone3.focus();
		return(false);
	}

	 if (isNaN(document.manform.phone3.value))

	 {
		 	alert("Phone_no1 Number can only be in digits[0-9]");
			document.manform.phone3.focus();
			document.manform.phone3.select();
			return (false);
	 }
	 
	
	if (document.manform.prayer3.value=="prayer")
	{
		alert("Please select any prayer");
		document.manform.prayer3.focus();
		return(false);
	}
	
		if (document.manform.country3.value=="country")
	{
		alert("Please select any country");
		document.manform.country3.focus();
		return(false);
	}
	document.manform.amount.value=amt;
	
	if (document.manform.country3.value=="others")
	{
		document.manform.amount.value=amt + 14.95;
	}
	else
	{
		document.manform.amount.value=amt + 9.95;
	}
	
		 
	
var cm = document.manform.first_name3.value + ',' +  document.manform.email3.value + ',' + document.manform.phone3.value + ',' + document.manform.prayer3.value + ',' + document.manform.country3.value;	
	

	
	document.manform.custom.value=cm;
	document.manform.submit();


}

function pets(amt)
{
	
	if(document.petsform.first_name4.value=="")
	{
		alert("Please Enter Your Name:");
		document.petsform.first_name4.focus();
		return(false);
	}
	
	
	if (document.petsform.email4.value=="") 
	{
		alert("Please Enter Your E-mail Address");    
		document.petsform.email4.focus();
		return(false);
	}
	if ((document.petsform.email4.value.length < 3)||(document.petsform.email4.value.indexOf("@") == 1)||(document.petsform.email4.value.indexOf(".") == -1)||(document.petsform.email4.value.indexOf("'")!= -1))
	{
				alert("Please enter a valid E-mail Address ");
				document.petsform.email4.focus();
				document.petsform.email4.select();
				return (false);
	}
	if (document.petsform.phone4.value=="")
	{
		alert("Please Enter Your Phone No");
		document.petsform.phone4.focus();
		return(false);
	}

	 if (isNaN(document.petsform.phone4.value))

	 {
		 	alert("Phone_no1 Number can only be in digits[0-9]");
			document.petsform.phone4.focus();
			document.petsform.phone4.select();
			return (false);
	 }
	 
	 if (document.petsform.option4.value=="select6")
	{
		alert("Please select any Color");
		document.petsform.option4.focus();
		return(false);
	}
	
	
		if (document.petsform.country4.value=="country")
	{
		alert("Please select any country");
		document.petsform.country4.focus();
		return(false);
	}
	document.petsform.amount.value=amt;
	
	if (document.petsform.country4.value=="others")
	{
		document.petsform.amount.value=amt + 14.95;
	}
	else
	{
		document.petsform.amount.value=amt + 9.95;
	}
	
		 
	
var cm = document.petsform.first_name4.value + ',' +  document.petsform.email4.value + ',' + document.petsform.phone4.value + ',' +  document.petsform.option4.value + ',' + document.petsform.country4.value;	
	

	
	document.petsform.custom.value=cm;
	document.petsform.submit();


}
