jQuery.noConflict();

function langIn(){}
function langOut(){
    jQuery("#language .f_select").animate({'height' : '18px'}).removeClass('open');
}

function menuIn(){
    jQuery(this).animate({'padding-left' : '10px'}, 300);
}
function menuOut(){
    jQuery(this).animate({'padding-left' : '0px'}, 300);
}

function menuIn_ifsub() {
	jQuery(".hasSub").animate({'padding-left' : '0px'}, 300);
}
	
jQuery(document).ready(function(){
    
    jQuery("#language span:first-child").click(function(){
        if(jQuery("#language").hasClass('open')){
            jQuery("#language .f_select").stop(true, true).animate({'height' : '18px'}).removeClass('open');
            jQuery("#language .f_select").stop(true, true).animate({'height' : '85px'})
        }else{
            jQuery("#language .f_select").stop(true, true).animate({'height' : '85px'}).addClass('open');
        } 
    });
    
    jQuery("#menu ul li .no ").hoverIntent(menuIn, menuOut);
    jQuery("#language").hoverIntent(langIn,langOut);
	jQuery("#menu ul li ul a").hoverIntent(menuIn, menuOut);

	
    var i = 0;
    
    jQuery(".slide_element").each(function(){
        jQuery(this).delay(i * 1000).fadeIn(100, function(){
          jQuery(this).cycle({ effect : 'scrollHorz'});  
        });
        i++;
    });
    
    var b = 1;
    jQuery(".powermail_check_inner").each(function(){
        jQuery(this).append('<div class="katalog'+b+'"></div>');
        b++; 
    });
    
       
});

