
 // -----------------------------------------------------------------------------------------------------
 // Konfiguration
 // -----------------------------------------------------------------------------------------------------

    jQuery(document).ready(function()
    {       
       jQuery(".nav").css("cursor","pointer");
       jQuery(".nav").click(function() 
       { 
          jQuery(".page").css("display","none");
       
          var id1 = jQuery(this).attr("content");
          var id = "#"+id1;
          
          jQuery(id).css("display","block");       
       });
       
       jQuery("h2").css("cursor","pointer");
       jQuery("h2").click(function() 
       {
          var parent = jQuery(this).parent().attr("id");
          jQuery("#"+parent).children().filter(".feature").slideUp();
       
          var text = jQuery(this).next().css("display");
          
          if (text == "none")
          {
             jQuery(this).next().slideDown();
             jQuery(this).css("background","#ffffff");
          }
          
          if (text == "block")
          {
             jQuery(this).next().slideUp();
          }
       });
       
       jQuery(".nav, h2").hover(function() 
       {
          jQuery(this).css("background","#eeeeee");
       },
       function() 
       {
          jQuery(this).css("background","#ffffff");
       });
    });
    