jQuery(document).ready(function(){
	jQuery('#teaser').innerfade({
		animationtype: 'fade',
		timeout: 4000,
		speed: 'normal',
		type: 'random_start',
		containerheight: '132px'
	});
	
	// folding
	jQuery('.foldedTrigger').addClass("closed");
	jQuery('.closed').live("click", function () {
      jQuery(this).parent().children('.foldedHide').slideDown("slow");
	  jQuery(this).removeClass("closed").addClass("opened");
    });
	
	jQuery('.opened').live("click", function () {
      jQuery(this).parent().children('.foldedHide').slideUp("slow");
	  jQuery(this).removeClass("opened").addClass("closed");
    });
});