// LIGHTBOX
    $(document).ready(function() {
        $("a[rel='external']").click(function(event){
            window.open($(this).attr("href"));
            event.preventDefault();
        });
       
        $('a[@rel*=lightbox]').lightBox();
        
    });
    
// HOVER FUER MENU
	  $(document).ready(function(){
	  
			$("#nav-one li").hover(
			
				function(e){ 
				    $("ul", this).hide().fadeIn("slow");
				 }, 
				function() {  } 
			);
	  	if (document.all) {
				$("#nav-one li").hoverClass ("sfHover");
			}
	  });
	  
		
		
		
		$(document).ready(function(){
	  
			$("#nav-one1 li").hover(
			
				function(e){ 
				    $("ul", this).hide().fadeIn("slow");
				 }, 
				function() {  } 
			);
	  	if (document.all) {
				$("#nav-one1 li").hoverClass ("sfHover");
			}
	  });
	  
		$.fn.hoverClass = function(c) {
			return this.each(function(){
				$(this).hover( 
					function() { $(this).addClass(c);  },
					function() { $(this).removeClass(c); }
				);
			});
		};	  
// SLIDER FÜR PREISE

$(document).ready(function(){
	
	$(".accordion h5:first").addClass("true");
	$(".accordion div:not(:first)").hide();

	$(".accordion h5").click(function(){
		$(this).next("div").slideToggle("slow")
		.siblings("div:visible").slideUp("slow");
		$(this).toggleClass("true");
		$(this).siblings("h5").removeClass("true");
	});
/*$(document).ready(function(){
	
	$(".accordion h5:first").addClass("active");
	$(".accordion div:not(:first)").hide();

	$(".accordion h5").click(function(){
		$(this).next("div").slideToggle("slow")
		.siblings("div:visible").slideUp("slow");
		$(this).toggleClass("active");
		$(this).siblings("h5").removeClass("active");
	});*/
});


