
function calGoToNewYear(obj){
	//alert(obj.value);
	window.location = obj.value;
}

function validate_seatType_form(form){
	var x=form;
	var tmpSring = "";
	var isOneMoreThanOne = false;
	for (var i=0;i<x.length;i++)
	{
	tmpSring = x.elements[i].name;
		if(tmpSring.match("stype")){
			if(x.elements[i].value > 0){
				isOneMoreThanOne = true;	
			}
		}
	}
	
	if(isOneMoreThanOne){
		return true;	
	} else {
		alert("You must enter the number of seats you need before we can proceed");
		return false;
	}
}

function validate_confirmation_form(form){
	var x=form;
	var tmpSring = "";
	var isConfirmed = false;
	for (var i=0;i<x.length;i++)
	{
		tmpSring = x.elements[i].name;
		if(tmpSring.match("accseat")){
			if(x.elements[i].checked){
				isConfirmed = true;	
			}
		}
	}
	
	if(isConfirmed){
		return true;	
	} else {
		alert("You must confirm your seats before we can proceed");
		return false;
	}
}