 function frmHelpWebMasterSubmit() {
	if (document.frmHelpWebMaster.txtFirstName.value == "") {
		alert("Please enter a value for the \"First Name\" field.");
		document.frmHelpWebMaster.txtFirstName.focus();
		return;
		}
	if (document.frmHelpWebMaster.txtLastName.value == "") {
		alert("Please enter a value for the \"Last Name\" field.");
		document.frmHelpWebMaster.txtLastName.focus();
		return;
		}
	if (document.frmHelpWebMaster.txtEmail.value == "") {
		alert("Please enter a value for the \"E-Mail\" field.");
		document.frmHelpWebMaster.txtEmail.focus();
		return;
		}
	if (document.frmHelpWebMaster.txtEmail.value.length < 6) {
		alert("Please enter at least 6 characters in the \"E-Mail\" field.");
		document.frmHelpWebMaster.txtEmail.focus();
		return;
		}

	var blnAllValid = true;
	var i;
	var strCheckOK = 
	"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzfSOZsozYÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ0123456789-@.-_";
	var strCheckStr = document.frmHelpWebMaster.txtEmail.value;
	
	for (i = 0;  i < strCheckStr.length;  i++) {
		if(strCheckOK.indexOf(strCheckStr.charAt(i)) == -1) {
			blnAllValid = false;
			break;
			}
		}

	if(!blnAllValid) {
		alert("Please enter only letter, digit and \"@.-_\" characters in the \"E-Mail\" field.");
		document.frmHelpWebMaster.txtEmail.focus();
		return;
		}

	frmHelpWebMaster.submit();
	}


	function frmInvestorSubmit()
	{
		if (document.frmInvestor.txtFirstName.value == "")
		{
			alert("Please enter a value for the \"First Name\" field.");
			document.frmInvestor.txtFirstName.focus();
			return;
		}
		if (document.frmInvestor.txtLastName.value == "")
		{
			alert("Please enter a value for the \"Last Name\" field.");
			document.frmInvestor.txtLastName.focus();
			return;
		}
		if (document.frmInvestor.txtEmail.value == "")
		{
			alert("Please enter a value for the \"E-mail\" field.");
			document.frmInvestor.txtEmail.focus();
			return;
		}
		if (document.frmInvestor.txtEmail.length < 6)
		{
			alert("Please enter at least 6 characters in the \"E-mail\" field.");
			document.frmInvestor.txtEmail.focus();
			return;
		}

		var i;
		var blnAllValid = true;
		var strCheckOK = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzfSOZsozYÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ0123456789-@.-_";
  
  		for (i = 0;  i < document.frmInvestor.txtEmail.value.length;  i++)
		{		
			if(strCheckOK.indexOf(document.frmInvestor.txtEmail.value.charAt(i)) == -1)
			{
				blnAllValid = false;
				break;
			}
		}
		
		if (!blnAllValid)
		{
			alert("Please enter only letter, digit and \"@.-_\" characters in the \"E-mail\" field.");
			document.frmInvestor.txtEmail.focus();
			return;
		}
		if (document.frmInvestor.txtAddress.value == "")
		{
			alert("Please enter a value for the \"Address\" field.");
			document.frmInvestor.txtAddress.focus();
			return;
		}	
		if (document.frmInvestor.txtCity.value == "")
		{
			alert("Please enter a value for the \"City\" field.");
			document.frmInvestor.txtCity.focus();
			return;
		}
		if (document.frmInvestor.txtProvince.value == "")
		{
			alert("Please enter a value for the \"Province\" field.");
			document.frmInvestor.txtProvince.focus();
			return;
		}
		if (document.frmInvestor.txtPostalCode.value == "")
		{
			alert("Please enter a value for the \"Postal Code\" field.");
			document.frmInvestor.txtPostalCode.focus();
			return;
		}
		if (document.frmInvestor.txtCountry.value == "")
		{
			alert("Please enter a value for the \"Country\" field.");
			document.frmInvestor.txtCountry.focus();
			return;
		}
		document.frmInvestor.submit();
	}