
jQuery(document).ready(function($) {
	
	

	
	$('ul.superfish').superfish({ 
		delay: 600, // delay on mouseout
		animation: {opacity:'toggle', height:'show'}, // fade-in and slide-down animation
		speed: 350, // faster animation speed
		autoArrows:false
	}); 

		
	
	<!-- PrettyPhoto Settings-->
	$("a[rel^='prettyPhoto']").prettyPhoto({
		animationSpeed: 'normal', /* fast/slow/normal */
		padding: 40, /* padding for each side of the picture */
		opacity: 0.70, /* Value betwee 0 and 1 */
		showTitle: false, /* true/false */
		allowresize: true, /* true/false */
		counter_separator_label: '/', /* The separator for the gallery counter 1 "of" 2 */
		theme: 'dark_square', /* light_rounded / dark_rounded / light_square / dark_square */
		callback: function(){}
	});


	
	$(function() {
	$(".flipWrap").css("opacity","1.0");

	$(".flipWrap").hover(function () {

	$(this).stop().animate({
	//on rollover the image will be at 10% opacity, you can change this to your linking but I believe 10% looks best
	opacity: 0.15
	}, "fast");
	},

	function () {

	$(this).stop().animate({
	opacity: 1.0
	}, "slow");
	});
	});





// TABS
$(function() {
	// setup ul.tabs to work as tabs for each div directly under div.panes
	$("ul.tabs").tabs("div.panes > div");
});




  //SLIDER

$("div.scrollable").scrollable({size: 1, vertical:false, clickable:false, onBeforeSeek: function() { this.getItems().fadeTo(200, 1.0);}, 
         onSeek: function() { 
            this.getItems().fadeTo(400, 1); 
        } }).autoscroll(17000).navigator();

		$('div.scrollable').scrollable({
		  //Current stuff...
		  slide: function(event, ui) {
		    if($(this).slider('option','max') === ui.value) {
		      $(this).slider('option','value',$(this).slider('option','min'));
		      return false;
		    }
		  }
		});





// FADE-to Settings
	

	$(".zoom,.zoom-mov,.social img").hover(function(){
		$(this).stop().animate({opacity: 1.0}, 400 );
	},
	function () {
		$(this).stop().animate({opacity: 0.8}, 300); 
	});
	
	









});


