var $j  = jQuery.noConflict();

$j(window).load(function() {
    $j('#slider').nivoSlider({
        directionNav:false
    });
});

$j(function(){
    
    $j(window).bind("load", function() {
		$j("div#servicos").codaSlider()
		// jQuery("div#slider2").codaSlider()
		// etc, etc. Beware of cross-linking difficulties if using multiple sliders on one page.
	});
    
    //portfolio
    $j('.fade').mosaic();
    
    //Icones Topo
    $j("#icones ul li a .icOver").css("opacity","0");
    $j("#icones ul li a").hover(function(){
        $j(this).stop().children(".icOver").animate({
            opacity: "1"
        },"fast");
    },function(){
        $j(this).stop().children(".icOver").animate({
            opacity: "0"
        },"fast");
    });
    
    
    $j("#icones ul li a").tooltip({
    	track: false,
    	delay: 0,
    	showURL: false,
    	fade: 250,
        positionRight: true,
        top: 15,
        left: 5
    });
    
    $j("#icones ul li a").children("span").css("opacity", "0");
    $j("#icones ul li a").hover(function(){
        $j(this).stop().children("span").animate({
            opacity: '1'        
        }, 200);
    },function(){
        $j(this).stop().children("span").animate({
            opacity: '0'        
        }, 200);
    });
    
    $j(".interior ul li a").children("span").css("opacity", "0");
    $j(".interior ul li a").hover(function(){
        $j(this).stop().children("span").animate({
            opacity: '1'        
        }, 200);
    },function(){
        $j(this).stop().children("span").animate({
            opacity: '0'        
        }, 200);
    });
    
    $j(".clientes ul li a").children("span").css("opacity", "0");
    $j(".clientes ul li a").hover(function(){
        $j(this).stop().children("span").animate({
            opacity: '1'        
        }, 200);
    },function(){
        $j(this).stop().children("span").animate({
            opacity: '0'        
        }, 200);
    });

});
