
$(document).ready(init);



function init()
{

    $(".menu1:eq(4)").css({color:"red"});
//    $("div.simplesite_menu ul li:nth-child(3) a").addClass('reserve_online2');

   // $("div.simplesite_menu li ul").hide();

    //$("div.simplesite_menu li ul li a.menu_option_active").parent().parent().show();

    //$("div.simplesite_menu li a.menu_option_active").parent().children("ul").show();



    $("li ul li a.menu_option_active").parent().parent().children("li").children("a").css({color:""}).removeClass('reserve_online2');

    $("li a.menu_option_active").parent().children("ul").children("li").children("a").css({color:""}).removeClass('reserve_online2');



	$.getScript("/js/jquery.serialScroll.js", function(){
		$.getScript("/js/jquery.scrollTo.js", function(){


		$('#slideshow').serialScroll({
			items:'b',
			prev:'.back',
			next:'.next',
			offset:0, //when scrolling to photo, stop 230 before reaching it (from the left)
			start:0, //as we are centering it, start at the 2nd
			duration:1200,
			force:true,
			interval:0,
			stop:true,
			lock:false,
			exclude:0,
			currentvar:'.currentvar',
			totalvar:'.totalvar',
			cycle:true, //don't pull back once you reach the end
			easing:'easeOutQuart', //use this easing equation for a funny effect
			jump: false //click on the images to scroll to them
		});


		});
	});



}




// Easing equation, borrowed from jQuery easing plugin
// http://gsgd.co.uk/sandbox/jquery/easing/
jQuery.easing.easeOutQuart = function (x, t, b, c, d) {
	return -c * ((t=t/d-1)*t*t*t - 1) + b;
};



function sendquotecheck()
{
if(document.getElementById("email").value=='') 
{
	alert('Please fill out all fields');
	return false;
}
if(document.getElementById("name").value=='') 
{
	alert('Please fill out all fields');
	return false;
}
if(document.getElementById("phone").value=='') 
{
	alert('Please fill out all fields');
	return false;
}
if(document.getElementById("date").value=='') 
{
	alert('Please fill out all fields');
	return false;
}
if(document.getElementById("passengers").value=='') 
{
	alert('Please fill out all fields');
	return false;
}
return true;
}