jQuery.noConflict();

jQuery(document).ready(function(){
	//Links unter Hauptnavigation
	jQuery("#MAIN-NAVI-LINKS a").mouseover(function() {
		var text = jQuery(this).find("span.tooltip-text").text();
		jQuery("#MAIN-NAVI-LINKS").append('<p id="tooltip">' + text + '</p>');
	});
	jQuery("#MAIN-NAVI-LINKS a").mouseout(function() {
		jQuery('#tooltip').remove();
	});
	
	//Hauptnavigation
    jQuery('#MAIN-NAVI li').mouseover(function(){
        if (jQuery('#MAIN-NAVI ul:animated').size() == 0) {
			jQuery(this).find('ul').slideDown('slow');
        }
    });
	
	/*
	//News-Teaser auf Startseite
	jQuery('#NEWS-TEASER .news-cont').hide();
	
	jQuery('#NEWS-TEASER .news-cont').first().show();
	
	jQuery('#NEWS-TEASER h5 a').mouseover(function(){
        
		if (jQuery('#NEWS-TEASER .news-cont:animated').size() == 0) {
			
            $heading = jQuery(this);
            $expandedSiblings = $heading.parent().parent().siblings().find('.news-cont:visible');
			
			if ($expandedSiblings.size() > 0) {
               $expandedSiblings.slideUp(250, function(){
                    $heading.parent().parent().find('.news-cont').slideDown(250);
               });
            }
            else {
                $heading.parent().parent().find('.news-cont').slideDown(500);
            }
        }
        
    });
	*/
});




