var logocolors = ['#004B7D', '#7EAE39', '#F6A800', '#5E9E9A'];

$().ready(function() {

//Javscript is working so ignore all CSS-Styles needed if not
    $('body').removeClass('nojs');
    
// Main Menue
    $('#menue li').hover(
        function(){
            $('.highlight', this).stop().animate({top: "91px"}, 200,
                function(){
                    $(this).parent().find('span span').animate({color: "#eee"}, 200)
                }
            );
        },
        function(){
            $('.highlight').stop().animate({top: "100px"}, 200 );
            $('#menue span span').stop().animate({color: "#666"}, 100 );    
    }); 
/*
    $('#logo')
            .mouseover(function(){
                $(this).stop().animate(
                    {backgroundColor: logocolors[Math.floor(Math.random()*logocolors.length)]},
                    200, 
                    function(){
                        $(this).animate({backgroundColor: "#eee"},800);
                    })
                })
*/
    $('#footer_wrap2').hover(
        function(){
            $(this).stop().animate({backgroundColor: '#333'}, 400);
        },
        function(){
           $(this).stop().animate({backgroundColor: '#fff'}, 400)

    }); 
    
    $('#partners').cycle({
        fx: 'fade',
        pause: 1
    });
    
 $("a.group").fancybox({ 'zoomSpeedIn': 300, 'zoomSpeedOut': 300, 'padding': 0, 'overlayOpacity':0.6 }); 


//ready function    
});
