$(document).ready(function() {
	$('#slideshowPics').cycle({
		fx: 'fade', // choose your transition type, ex: fade, scrollUp, shuffle, etc...
		timeout: 5000
	});
	
	/* this adds a class to the last li element of the reservation nav bar so it doesn't text wrap into two lines. */
	$('#reservationNav li:last-child').addClass("checkAvailButton");
	
	$("#datepicker").datepicker({ 
	  minDate: 0, 
	  showAnim: 'fadeIn',
	  altField: '#zmonth', 
	  altFormat: 'mm',
	  onClose: function(dateText,picker) {
	     $('#zday').val( dateText.split(/\//)[1] );
	     $('#zyear').val( dateText.split(/\//)[2] );
	     }
	});
	
	$('#roomsdatepicker').datepicker({
		
	});
	
	
	$('#vipEmailbox').fancybox({
		'scrolling'		: 'no'
					
	});
	
	
});
