$(document).ready(function(){
$(".grey_header_m").click(function() {
  if (this.className.indexOf('open') != -1 ) {
   $(this).removeClass('open');
   $(this).next().next().next().slideUp(500);
  }else{
    $(".grey_header_m").removeClass('open');
    $(".under").slideUp(500);
    $(this).next().next().next().slideDown(500);
    $(this).addClass('open');
  }
});
$(".grey_theader_m").click(function() {
  if (this.className.indexOf('topen') != -1 ) {
    $(this).removeClass('topen');
    $(this).next().next().next().slideUp(500);
  }else{
    $(".grey_theader_m").removeClass('topen');
    $(".t_under").slideUp(500);
    $(this).next().next().next().slideDown(500);
    $(this).addClass('topen');
  }
});
});
function hideshow(conti) {
if(document.getElementById("auf_"+conti).src == "http://m.e-pixler.de/fileadmin/mobile/zu.gif" ) {
  $("."+conti+"_content").slideUp(500);
  $(".show_"+conti).removeClass('clicked');
  document.getElementById("auf_"+conti).src='fileadmin/mobile/auf.gif';
}else {
  $("."+conti+"_content").slideDown(500);
  $(".show_"+conti).addClass('clicked');
  document.getElementById("auf_"+conti).src='fileadmin/mobile/zu.gif';
}  
}
