function SubmitPostalCode(PostalCode)
{
	//1.	Submit ajax to see if postal code is valid.  If it is, it gets set in session
	//2.	On success, go to book-date
	//3.	Or show error
	
	var Parameters = "SubmitPostalCode=1"+
			 "&PostalCode="	+ PostalCode;

	var LoadCouponAjax = new AjaxConnection("ajax/submit_postal_code.php", Parameters, "AfterSubmitPostalCode");
}


function AfterSubmitPostalCode(xml, text)
{
	if (text.length > 0)
	{
		document.getElementById('PostalCodeErrorContent').innerHTML = text;
		$.blockUI({fadeIn: 500,css:{padding:15, width:'30%',left:'34%'}, overlayCSS: {backgroundColor: '#000', opacity:0.8 }, message: $("#postal-code-error") });
	}
	else
		location.href = "book-date.php";
}
