var $j = jQuery.noConflict();

$j(document).ready(function() {
		
	$j('.logo').supersleight({shim: '/images/common/shim.gif'});
	$j('#page').supersleight({shim: '/images/common/shim.gif'});	
	$j('.page-bottom').supersleight({shim: '/images/common/shim.gif'});	
	$j('.page-container').supersleight({shim: '/images/common/shim.gif'});	
	$j('#nav').supersleight({shim: '/images/common/shim.gif'});	

	$j('#slider1').innerfade({ speed: 'slow', timeout: 6000, type: 'sequence', containerheight: '241px' }); 
	
	$j('#nav ul li').hover(
		function () {
			//show its submenu
			$j('.sub-nav', this).slideDown(100);

		}, 
		function () {
			//hide its submenu
			$j('.sub-nav', this).slideUp(100);			
		}
	);

	$j('.tour-date').datepicker({ dateFormat: 'M d yy', minDate: +1 });
	

	
	
//Disable Weekday selection for Spike Island Tour
	
	$j('.tour-spike').datepicker(
{


beforeShowDay: function(date){


 if (date.getDay() == 5){
return [false,''];
} 

 if (date.getDay() == 4){
return [false,''];
} 

 if (date.getDay() == 3){
return [false,''];
} 

 if (date.getDay() == 2){
return [false,''];
} 

 if (date.getDay() == 1){
return [false,''];
} 

 if (date.getDay() == 0){
return [false,''];
} 



else {
 return [true, ''];
}
}
 }
);

	
	
	

});
