$(document).ready(function(){
    $('#head').cycle({
        fx:     'fade',
        speed:  '1500',
        timeout: 10000
    });
});

function accordeonOut(elem) {
    fade = $(elem).parent().next();

    $(fade).fadeIn('slow');
    $(elem).parent().html('<a href="#omo" onclick="accordeonIn(this); return false;" >schliessen</a>');
}

function accordeonIn(elem) {
    fade = $(elem).parent().next();

    $(fade).fadeOut('slow');
    $(elem).parent().html('<a href="#omo" onclick="accordeonOut(this); return false;">weitere Details</a>');
}



