jQuery.noConflict();
jQuery(document).ready(function() {
	//Infoboxen Accordion
	jQuery( ".infoboxen" ).accordion({ active: 0,autoHeight: false });
	
	//Menü
	//CSS Eigenschaften überschreiben
	jQuery("#nav ul li ul").css("display", "none");
	jQuery("#nav ul li span").css("display", "none");
	
	//Effekt hinzufügen
	//1. Ebene
	jQuery("#nav ul li a").css( {backgroundPosition: "-250px 0"} ) 
	jQuery("#nav ul li a").hover(
			function() {jQuery(this).stop().animate({backgroundPosition:"(0px 0)"}, {duration:1000});}, 
			function(){jQuery(this).stop().animate({backgroundPosition:"(-250px 0)"}, {duration:500}); } 
	);
	jQuery("#nav ul li a#current").css( {backgroundPosition: "0px 0"} )
	jQuery("#nav ul li a#current").hover(
			function() {jQuery(this).stop().animate(); }, 
			function(){jQuery(this).stop().animate(); } 
	);

	//2. Ebene

	jQuery("#nav ul li").hover(
			function() {jQuery(this).children("span").stop(true, true).toggle('slow');jQuery(this).children("ul").stop(true, true).toggle('slow'); }, 
			function(){ jQuery(this).children("span").fadeOut(100);jQuery(this).children("ul").fadeOut(100);}
	);

jQuery('#mycarousel').jcarousel({
	wrap:'circular'
});
});

