﻿

        jQuery(function(){
	        jQuery('#divMeniu ul li ul').hide();
	        jQuery('#divMeniu ul li').hover(
		        function()
		        {
			        jQuery('#divMeniu ul li').not(jQuery('ul', this)).stop();
			        jQuery('ul', this).slideDown();
		        },
		        function(){jQuery('ul', this).slideUp();}
	        );
        });


	    jQuery(window).load(function() 
	    {
		    jQuery('#slider').nivoSlider(
		    {
			    effect: 'sliceUp',
			    pauseTime:4000,
			    directionNav:false,
			    controlNav:false,
			    directionNavHide:false
			});
	    });


    jQuery(document).ready(function() {
        $("a.arata").fancybox({
		'transitionIn'	:	'elastic',
		'transitionOut'	:	'elastic',
		'speedIn'		:	600, 
		'speedOut'		:	200, 
		'overlayShow'	:	false
	});
       });


        //Hack IE6 - sterge dotted outline; IE6 nu recunoaste outline
        jQuery('a').live('mousedown', function() {
        jQuery(this).blur();
        return false;
        }).live('click', function() {
        jQuery(this).blur();
        }).live('focus', function() {
        if ( $.browser.msie ) {
        $(this).blur();
        }
        }); 
