function CallSignUp(result)
{
	if(result.value == 'True')
	{
		hide("CatLoading")
		hide("CatPanel1")
		show("CatPanel2");
	}
	else {
		show("CatPanel1");
		hide("CatLoading");
		alert("We aplogise for this error: "+ result.value)
	}
}

function SignUp()
{
	hide("CatPanel1");
	show("CatLoading");
	EMS.UCLeft.SignUp(
		document.getElementById("CatFullName").value, 
		document.getElementById("CatEmail").value,
		CallSignUp
		);
}

function ValidateData2() {
   var CanSubmit = false;
   var errormessage = "Please make sure that you have filled in the following fields before clicking Send:\n\n"

   // Check to make sure that the full name field is not empty.
   CanSubmit = ForceEntry(document.forms[0].CatFullName);
   if (CanSubmit == false) 
	{
		errormessage += "Full Name.\n";
	}
   CanSubmit = ForceEntry(document.forms[0].CatEmail);
   if (CanSubmit == false) 
	{
		errormessage += "E-mail address.\n";
	}
	CanSubmit = checkEmailAddress(document.forms[0].CatEmail);
   if (CanSubmit == false) 
	{
		errormessage += "Please enter a Valid E-mail Address.\n";
	}
   if (errormessage == 'Please make sure that you have filled in the following fields before clicking Send:\n\n')
   {
	return true;
   }
   else 
   {
	alert(errormessage)
	return false;
   }
}