getMovies( pageIndex );

	$( "#genres li" ).click( selectGenre );

	$( ".cart" )
		.delegate( "select", "change", sort )
		.delegate( "#sortBtn", "click", sort )
		.delegate( "#submit", "click", function() {
			alert( cart.count + " bookings submitted for payment...");
			removeBookings();
		})
		.delegate( "#cancel", "click", function() {
			removeBookings();
		})
		.empty()
		.append( "#cartTmpl", cart );

	var cartTmplItem = $( ".cart td" ).tmplItem();

	function selectGenre() {
		$( "#genres li" ).remov