	<!--//
		function LoginCheck(MyForm)
		{
		if (Myform.Email.value=='')
			{
				alert("Please enter the your Email Address");
				Myform.Email.focus();
				return false;
			}
		if (Myform.Password.value=='')
			{
				alert("Please enter the password for this account");
				Myform.Password.focus();
				return false;
			}	
		return true;
		}
		
		function FormCheck(Myform)
		{
		if (Myform.Name.value=='')
			{
				alert("Please enter the customer Name");
				Myform.Name.focus();
				return false;
			}
			if (Myform.Email.value=='')
			{
				alert("Please enter the customer Email Address");
				Myform.Email.focus();
				return false;
			}
			if (Myform.ContactPhone.value=='')
			{
				alert("Please enter the customer Contact Phone");
				Myform.ContactPhone.focus();
				return false;
			}
			if (Myform.DeliveryStreet.value=='')
			{
				alert("Please enter the customer Delivery Street");
				Myform.DeliveryStreet.focus();
				return false;
			}	
			if (Myform.DeliveryCity.value=='')
			{
				alert("Please enter the customer Delivery City/Town");
				Myform.DeliveryCity.focus();
				return false;
			}	
			if (Myform.DeliveryCountry.value=='')
			{
				alert("Please enter the customer Delivery Country");
				Myform.DeliveryCountry.focus();
				return false;
			}
			var stringOne=document.URL;	
			if(InStr(StringOne,"purchase.asp") < 0)
			{
				if (Myform.Password.value=='')
				{
					alert("Please enter the password for this account");
					Myform.Password.focus();
					return false;
				}
				if (Myform.PasswordConfirm.value=='')
				{
					alert("Please enter the password confirmation");
					Myform.PasswordConfirm.focus();
					return false;
				}
				if (Myform.Password.value!=Myform.PasswordConfirm.value)
				{
					alert("The password and confirmation do not match");
					Myform.Password.focus();
					return false;
				}									
			}
		return true;
		}
	function RegAdded(TheName)
	{
		alert(TheName);
	}	
	//-->
