$(document).ready(function() {

    
/*
 * DETAILSCONTAINER
 */
$('div.detailscontainer').hide();
$('li.details a').each(function(){
    $slideheader = $(this);
    $slideheader.click(function(event){
        var $moretext = $(this).parent().parent().prev();
        
        $(this).toggleClass("highlight");
        if ( $(this).hasClass("highlight") ) {
            $(this).text('Details ausblenden');        
        }
        else {
            $(this).text('Details einblenden');    
        }
        
        $moretext.animate({
            opacity: 'toggle',
            height: 'toggle'
        }, 'slow');
        return false;
    });
})

//$("input#defaultPopupDatepicker").mask("d.m.y",{placeholder:"_"});


/*
$('li.ical a').click(function () {
    alert('Noch nicht implementiert!');    
    return false;
});
*/

/*
$('li.recommend a').click(function () {
    alert('Noch nicht implementiert!');    
    return false;
});
*/


    
    
});
