$(document).ready(function() { 
 
 	$('a.lightbox').lightBox({
		overlayBgColor: "#000",
		overlayOpacity: 0.6,
		imageLoading: "/public/images/lightbox/loading.gif",
		imageBtnClose: "/public/images/lightbox/close.gif",
		imageBtnPrev: "/public/images/lightbox/prev.gif",
		imageBtnNext: "/public/images/lightbox/next.gif",
		imageBlank: "/public/images/lightbox/blank.gif", 
		containerResizeSpeed: 350,
		txtImage: "",
		txtOf: "of"
	});
 
 	$('.newwindow').bind('click',function(){
		window.open(this.href); return false;
	});
 
 	Cufon.replace('#flowtabs a,.reservationbutton', { textShadow: '1px 1px rgba(0, 0, 0, 0.2)', hover: true });
	Cufon.replace('#quote blockquote');
 
    $("#flowpanes")
	.scrollable({
		size: 1
	})
	.circular()
	.autoscroll({
		autoplay: true,
		interval: 5000,
		autopause: true
	})
	/*.navigator({ 
		navi: "#flowtabs", 
		naviItem: 'a', 
		activeClass: 'current' 
	})*/;
	
	$('ul.sf-menu').superfish({ 
		delay:       1000,                            // one second delay on mouseout 
		animation:   {opacity:'show',height:'show'},  // fade-in and slide-down animation 
		speed:       'fast',                          // faster animation speed 
		autoArrows:  false,                           // disable generation of arrow mark-up 
		dropShadows: false                            // disable drop shadows 
	}); 
	
	$(".datepicker").change(
			function(){
			$('#activestep').attr('value','2');	
			$('#reservationform').submit();
			}
	);
	
});
