<!-- Advance Menu Hint Function -->

		jQuery(document).ready(function(){
		
			jQuery("div#partners").hide();

		});
<!-- Advance Menu Toggle Function -->

		jQuery(document).ready(function(){
    
			jQuery("a#view-partners").click(function () {
				jQuery("div#partners").slideToggle("slow");
		});

		});

<!--Big images transition -->
jQuery(document).ready(function() {
    $('.slideshow').cycle({
		fx: 'fade',
	    speed:2000, // speed of the transition (any valid fx speed value)
	    timeout:1500 // milliseconds between slide transitions (0 to disable auto advance)
	});
});
/*MAIN MENU WITH FROP DOWN*/
jQuery(document).ready(function() { 
        $('ul.sf-menu').superfish({ 
            delay:0,                            // one second delay on mouseout 
            animation:{opacity:'show',height:'show'},  // fade-in and slide-down animation 
            speed:45                          // faster animation speed 
        }); 
    }); 		





/*Horizontal slider*/
jQuery.easing['easeOutCirc'] = function(x, t, b, c, d, s) {
		if (t==0) return b;
		if (t==d) return b+c;
		if ((t/=d/2) < 1) return c/2 * Math.pow(2, 10 * (t - 1)) + b;
		return c/2 * (-Math.pow(2, -10 * --t) + 2) + b;
};

jQuery(document).ready(function() {
    jQuery('#slider_horizontal').jcarousel({
        auto: 2,
				scroll: 5,
        wrap: 'last',
				initCallback: mycarousel_initCallback,
        animation: 1000					
   });
});

function mycarousel_initCallback(carousel)
{

 
    // Pause autoscrolling if the user moves with the cursor over the clip.
    carousel.clip.hover(function() {
        carousel.stopAuto();
    }, function() {
        carousel.startAuto();
    });
};

