function SubmitCk()
	{
	var License = document.arjform.numcomps.length;
	var CdCk = document.arjform.card.length;
	var Eml = document.arjform.email.value;
	var CcInfoA = document.arjform.cardnumber.value;
	var CcInfoB = document.arjform.creditname.value;
	var CcInfoC = document.arjform.expdate.value;

	var PoCk = document.arjform.po_number.value;
	var SecCk = document.arjform.securityname.value;

	if(confirm("Is your information ready to submit?"))
		{
		if(Eml == "")
			{
			alert("Please enter a valid E-mail Address before submitting your information.");
			return false;
			}

		else if(Eml != "")
			{
			for(s=0; s < Eml.length; s++)
				{
				var chr = Eml.charAt( s);
				if (chr == " ")
					{
					alert("Please enter a valid E-mail Address before submitting your information.");
					return false;
					}
				}
			}

		if(SecCk == "" && document.arjform.sec_envelpe.checked==true)
			{
			alert("Please enter a Security Envelope signature before submitting your information.");
			return false;
			}
			
		for(x=0;x<License;x++)
			{
			if(document.arjform.numcomps[x].checked)
				{
				if(document.arjform.paymenttype[0].checked)
					{
					for(y=0;y<CdCk;y++)
						{
						if(document.arjform.card[y].checked && CcInfoA != "" && CcInfoB != "" && CcInfoC != "")
							{
							return true;
							}
						}
					alert("Please check Credit Card information before submitting your information.");
					return false;
					}

				else if(document.arjform.paymenttype[1].checked)
					{
					if(PoCk != "")
						{
						return true;
						}
					alert("Please enter Purchase Order information before submitting your information.");
					return false;
					}

				alert("Please enter a payment method before submitting your information.");
				return false;
				}
			}
		alert("Please enter a license type before submitting your information.");
		return false;
		}
	else
		{
		return false;
		}
	}
