
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: 1.00, /* 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(){}
	});




/* The following code is executed once the DOM is loaded */
	
/*	$('.flipWrap').bind("click",function(){
		
		// $(this) point to the clicked .sponsorFlip element (caching it in elem for speed):
		
		var elem = $(this);
		
		// data('flipped') is a flag we set when we flip the element:
		
		if(elem.data('flipped'))
		{
			// If the element has already been flipped, use the revertFlip method
			// defined by the plug-in to revert to the default state automatically:
			
			elem.revertFlip();
			
			// Unsetting the flag:
			elem.data('flipped',false)
		}
		else
		{
			// Using the flip method defined by the plugin:
			
			elem.flip({
				direction:'lr',
				speed: 350,
				onBefore: function(){
					// Insert the contents of the .sponsorData div (hidden from view with display:none)
					// into the clicked .sponsorFlip div before the flipping animation starts:
					
					elem.html(elem.siblings('.flipData').html());
				}
			});
			
			// Setting the flag:
			elem.data('flipped',true);
		}
	});	
	*/
	
// 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, 0.2);}, 
         onSeek: function() { 
            this.getItems().fadeTo(400, 1); 
        } }).autoscroll(6000).navigator();




// 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); 
	});
	
	
<!-- tool tip  -->




$("#tooltip p").tooltip({ 
   	tip: '.direction-icons',
    opacity: 0.7, 
	effect: 'slide'
 
});





});


