jQuery UI Carousel

	$('#destroy').click(function() {
		$('#carousel').carousel('destroy');
	});
	
	$('#rebuild').click(function() {
		$('#carousel').carousel({
			width : 400
		});
	});
	
	$('#vertical').click(function() {
		$('#carousel').carousel({
			width : 'auto',
			height : 300,
			orientation : 'vertical'
		});
	});
	
	$('#autoH').click(function() {
		$('#carousel').carousel({
			height : 'auto',
			width : 'auto',
			keepButtons : true,
			orientation : 'horizontal'
		});
	});
	
	$('#autoV').click(function() {
		$('#carousel').carousel({
			height : 'auto',
			width : 'auto',
			orientation : 'vertical'
		});
	});
	
	$('#reset').click(function() {
		$('#carousel').carousel({
			easing : 'easeOutBounce',
			orientation : 'horizontal',
			height : 'auto',
			width : 320,
			create : function(event, ui) {
				$('h1').append(' Is Created')
			},
			select : function(event, ui) {
				alert(ui.item.find('img').attr('src'));
			}
		});
	}).click();