<!--

	function checkForm(){

			formRef = document.contactForm;

			if ( formRef.lastName.value.length < 2 ){
				alert('Please enter your name in the "Name" field.');
				formRef.lastName.focus();
				return;
			}
			if ( formRef.fromemail.value.length < 2 ){
				alert('Please enter an email address in the "Email Address " field.');
				formRef.fromemail.focus();
				return;
			}
			formRef.submit();
		}


	function updateTotal()
	{
	
    var amount = document.getElementById('amount').value.replace(/[^0-9\.]+/g, '');
    var tickettotal = amount;
    var total  = document.getElementById('total');

    if (!(amount = parseFloat(amount))) {
        total.innerHTML = '0';
        return;
    }

    
        amount = amount * 50;
    

    total.innerHTML = amount;
	document.eventform.UMamount.value="$" + amount + ".00";
	document.eventform.UMdescription.value="CVHN Hurricane Party - " + tickettotal + " Tickets";

}

function submitTixCheck(){
	updateTotal();
	document.eventform.submit();
}


//-->