	
	// Cufon text replacememnt, add more elements to replace text with cufon generated text.
	Cufon.replace('h1, h2, h3, h4',{hover: true});
		
$(document).ready(function() { 
		
		//Main navigation dropdowns
        $('ul.sf-menu').superfish({ 
            delay:       300,                            // one second delay on mouseout 
            animation:   {height:'show'},  // fade-in and slide-down animation 
            speed:       'normal',                          // faster animation speed 
            autoArrows:  true,                           // disable generation of arrow mark-up 
            dropShadows: false                            // disable drop shadows 
        }); 
        
        $("a.lightbox").fancybox({
				'overlayShow'	: true,
				'transitionIn'	: 'elastic',
				'transitionOut'	: 'elastic'
			});
		$(".vimeo").fancybox({
				'padding'			: 0,
				'autoScale'			: false,
				'transitionIn'		: 'none',
				'transitionOut'		: 'none'
			});
			
		!window.jQuery && document.write('<script src="<?php echo WICKED_LIB_URI?>/fancybox/jquery-1.4.3.min.js"><\/script>');
    				
}); 		
		



