/**
 * Event bookings
 */
$('document').ready(function() {
	

	// Request confirmation when user elects to pay via secure server
	$('input.psp').click(function() {
		if(confirm("You are about to be taken to a secure server for payment.  \nYou cannot edit your booking after this point.  \nPlease ensure all details are correct."))
		 	return true;
		return false;
	})

	// Make PSP form autosubmit
	$('#pspForm').submit();
	
	// Print link
	$('a.print').click(function() {
		window.print();
		return false;
	})
})
