switchView( booking, true );
		} else {
			cart.bookings[booking.movie.Id] = booking;

			// Render the booking for the chosen movie using the bookingEditTemplate, and append the rendered booking to the bookings list
			$( "#bookingsList" ).append( "#bookingEditTmpl", booking, {
				animate: true,
				rendered: onBookingEditRendered,
				addedTmplItems: bookingTmplItems
			});
		}
	}

	function switchView( booking, edit ) {
		if ( !booking ) {
			return;
		}
		var item = bookingItem( booking ),
			rendered 