ovie.Id];
		cart.count--;
		cartTmplItem.update();
		$.tmplCmd( "remove", booking, bookingTmplItems );
		return false;
	}

	function removeBookings() {
		$.tmplCmd( "remove", bookingTmplItems );
		bookingTmplItems = [];
		cart.count = 0;
		cart.bookings = {};
		selectedBooking = null;
		cartTmplItem.update();
	}

	function formatDate( date ) {
		return date.toLocaleDateString();
	}

	function bookingItem( booking ) {
		return $.tmplCmd( "find", booking, bookingTmplItems)[0];
	}
</script>

</body>
</html>
