$(document).ready(function(){

    $("#id_concept_content11").hide();
    $("#id_concept_headimg11").hide();
    
    $("#id_concept_content21").hide();
    $("#id_concept_headimg21").hide();
    $("#id_concept_content22").hide();
    $("#id_concept_headimg22").hide();
    $("#id_concept_content4").hide();
    $("#id_concept_headimg4").hide();

    //$("#nav6").fadeIn("slow");
    $("#nav6").show();
    
    
});

function changepos(msel) {
     // auswahl wechseln
     //console.log(lastfademenu);
     if(lastfademenu != "") 
         $(lastfademenu).fadeOut("slow");
     if(lastfadeimg != "") 
         $(lastfadeimg).fadeOut("slow");
     if(msel=='m1') {
          $("#pfeil").animate({ top: "210" } , {duration:500 , easing:"easeOutBounce"});
          $("#id_concept_content1").fadeIn("slow");
          $("#id_concept_headimg1").fadeIn("slow");
          lastfademenu='#id_concept_content1';
          lastfadeimg='#id_concept_headimg1';
     }
     if(msel=='m11') {
          $("#pfeil").animate({ top: "237" } , {duration:500 , easing:"easeOutBounce"});
          $("#id_concept_content11").fadeIn("slow");
          $("#id_concept_headimg11").fadeIn("slow");
          lastfademenu='#id_concept_content11';
          lastfadeimg='#id_concept_headimg11';
     }
     if(msel=='m2') {
          $("#pfeil").animate({ top: "277" } , {duration:500 , easing:"easeOutBounce"});
          $("#id_concept_content2").fadeIn("slow");
          $("#id_concept_headimg2").fadeIn("slow");
          lastfademenu='#id_concept_content2';
          lastfadeimg='#id_concept_headimg2';
     }
     if(msel=='m21') {
          $("#pfeil").animate({ top: "320" } , {duration:500 , easing:"easeOutBounce"});
          $("#id_concept_content21").fadeIn("slow");
          $("#id_concept_headimg21").fadeIn("slow");
          lastfademenu='#id_concept_content21';
          lastfadeimg='#id_concept_headimg21';
     }
     if(msel=='m22') {
          $("#pfeil").animate({ top: "346" } , {duration:500 , easing:"easeOutBounce"});
          $("#id_concept_content22").fadeIn("slow");
          $("#id_concept_headimg22").fadeIn("slow");
          lastfademenu='#id_concept_content22';
          lastfadeimg='#id_concept_headimg22';
     }
     if(msel=='m3') {
          $("#pfeil").animate({ top: "372" } , {duration:500 , easing:"easeOutBounce"});
          $("#id_concept_content3").fadeIn("slow");
          $("#id_concept_headimg3").fadeIn("slow");
          lastfademenu='#id_concept_content3';
          lastfadeimg='#id_concept_headimg3';
     }
     if(msel=='m4') {
          $("#pfeil").animate({ top: "399" } , {duration:500 , easing:"easeOutBounce"});
          $("#id_concept_content4").fadeIn("slow");
          $("#id_concept_headimg4").fadeIn("slow");
          lastfademenu='#id_concept_content4';
          lastfadeimg='#id_concept_headimg4';
     }
      // class
      document.getElementById('m1').className="concept_menu_unselect";
      document.getElementById('m11').className="concept_menu_unselect";
      document.getElementById('m2').className="concept_menu_unselect";
      document.getElementById('m21').className="concept_menu_unselect";
      document.getElementById('m22').className="concept_menu_unselect";
      document.getElementById('m3').className="concept_menu_unselect";
      document.getElementById('m4').className="concept_menu_unselect";

      document.getElementById(msel).className="concept_menu_select";
      // text
      // bild
      
}


