  jQuery(document).ready(function() {
     
     $("*").css('filter','');
     
    $("div#offer ul li").hover(
    
        function(){ $(this).children(".circle").fadeOut("fast"); },
        function(){$(this).children(".circle").fadeIn("fast"); }
     );
	
    function mycarousel_initCallback(carousel) {
		

		

			jQuery('#corousel-next').bind('click', function() {
				carousel.next();
				return false;
			});

			jQuery('#corousel-prev').bind('click', function() {
				carousel.prev();
				return false;
			});
		};
	  
	  
        jQuery('#ul_carousel').jcarousel({
            scroll: 1,
			vertical: false,
            auto: 3,
			visible: 5,
            wrap: 'circular',
			animation: 500,
			easing: '',
            initCallback: mycarousel_initCallback
        });
    
    

	 $("#portfolio ul li a.wrap").prepend('<span class="image_wrap"></span>');
	 $("#portfolio ul li a.prettyPhoto").prepend('<span class="magnify"></span>');
	 
    
	
    $("#portfolio ul li a.prettyPhoto").hover(
        function(){
            
                $(this).children(".magnify").fadeIn("200");
                
        }, 
        
        function(){
        
                $(this).children(".magnify").fadeOut("200");
        
        
        });
        
     $("#portfolio ul li a.prettyPhoto").prettyPhoto({
				animationSpeed:'slow',
				theme:'facebook',
				slideshow:true,
				autoplay_slideshow: false,
				show_title: true,
				overlay_gallery: false,
                social_tools:''
			}); 
    
      $("a[rel^='prettyPhoto']").prettyPhoto({
				animationSpeed:'slow',
				theme:'facebook',
				slideshow:true,
				autoplay_slideshow: false,
				show_title: true,
				overlay_gallery: false,
                social_tools:''
			});
    
    
    $("#menu_top > ul > li").hover(function(){
    
        $(this).children("ul").slideDown("100");
    
    } , function(){
    
        $(this).children("ul").slideUp("100");
        
    });
    
    
    
    
    
    $("a#nethys-video-hover").mouseover(function(){
        $(this).fadeOut(300);
    });
    
    
    
    
    });
			





