jQuery(document).ready(function(){
    
    if ( navigator.appVersion.match('MSIE 7.0') !== null){
        jQuery("ul.sf-menu").superfish().supersubs({ 
              minWidth:    18,   
              maxWidth:    100, 
              extraWidth:  0 
        });
    } else {        
        jQuery("ul.sf-menu").supersubs({ 
              minWidth:    18,   
              maxWidth:    100, 
              extraWidth:  0 
        }).superfish();
    }
    
    
        jQuery("a[rel^='prettyPhoto']").prettyPhoto({
        animationSpeed: 'normal', /* fast/slow/normal */
        padding: 30, /* padding for each side of the picture */
        opacity: 0.1, /* Value betwee 0 and 1 */
        showTitle: true, /* true/false */
        allowresize: true, /* true/false */
        counter_separator_label: '/', /* The separator for the gallery counter 1 "of" 2 */
        theme: 'light_rounded', /* light_rounded / dark_rounded / light_square / dark_square / dark_blue_square */
        callback: function(){}
        
        });
	
	jQuery('a.fancybox-enable').fancybox({
            cyclic: false,
            titlePosition: 'over',
            transitionIn:	'elastic',
            transitionOut:	'elastic',
            centerOnScroll: true
        });
        
        var logo = jQuery('#logo');
        logo.hide(0);
        logo.stop(true).fadeIn(800, 'easeInExpo');
});



