    // Video-DIVs aus/einklappen
    $(document).ready(function() {
      $('.video_accordion .head').click(function() {
    	var outerID = "flv_" + $(this).next().attr('id');
//    	alert("STOP visible: " + $(this).next().attr('id') + ": " + $(this).next().is(':visible')
//    			+ "STOP hidden: " + $(this).next().is(':hidden'));
    	if ($(this).next().is(':visible')
            && typeof document.getElementById(outerID).SetVariable == 'function') {
            document.getElementById(outerID).SetVariable("player:jsStop", "");
//    		alert("STOPed");
    	} else {
//    		alert("no stop here");
    	}
        $(this).next().toggle('slow', function() {
        	var myID = $(this).attr('id');
//        	alert("INs sleep: " + myID);
        	// Timeout schien zwischendurch mal noetig, weil irgenwas noch nicht fertig war;
        	// nochmal wieder testweise rausnehmen...
        	setTimeout((function() {
        		togglePlayerStatus(myID);
        	}), 333);
        });
        return false;
      }).next().hide();
    });

    function togglePlayerStatus(movieID) {
//    	alert("START visible: " + movieID + ": " + $('#' + movieID).is(':visible') + "!");
    	if (typeof document.getElementById("flv_" + movieID).SetVariable == 'function') {
//    		alert("STARTing " + "flv_" + movieID);
    	    document.getElementById("flv_" + movieID).SetVariable("player:jsPlay", "");
    	} else {
//    		alert("no start here");
    	}
    }


    // Vortragsinhalt aus/einklappen
    $(document).ready(function() {
      $('.accordion .head').click(function() {
        $(this).next().toggle('slow');
        return false;
      }).next().hide();
    });

    // Vortragsinhalt, aber "einen weiter" aus/einklappen
    // Da kann man also zwischen dem auf/zu-Button und dem zu klappenden Text
    // noch einen statischen Text zwischensetzen
    $(document).ready(function() {
      $('.accordion2 .head').click(function() {
        $(this).next().next().toggle('slow');
        return false;
      }).next().next().hide();
    });

    // Kongress- & Referenten-teaser & -text ausklappen
    $(document).ready(function() {
      $('.teasy .more').click(function() {
      	$(this).parent().toggle('fast');
      	$(this).parent().next().toggle('slow');
        return false;
      });
    });

    // Kongress- & Referenten-teaser & -text einklappen
    $(document).ready(function() {
      $('.teasy .less').click(function() {
      	$(this).parent().prev().toggle('fast');
      	$(this).parent().toggle('slow');
        return false;
      });
    });

