$( window ).load( function() {
    $( '.column-news li div.content' ).each( function() {
        var $height = 0;
        $( this ).children().each( function() {
            $height += $( this ).outerHeight( true );
        } );
        $( this ).css( 'height', $height + 'px' );
    } );
    $( '.column-news li.closed div.content' ).hide();
} );

$( document ).ready( function() {
    $( '.column-news a.title, .column-news a.toggle' ).click( function() {
        $( this ).parent().find( 'div.content' ).slideToggle( 'slow', function() {
                $( this ).parent().toggleClass( 'closed' );
        } );
        return false;
    } );

	try
	{
        $( '#carousel' ).carrousel( {
            controls        : '',
            speed           : 750,
            dispTimeout     : 6000,
            dispNumber      : 1,
            direction       : 'left',
            align           : 'center',
            auto            : true
        } );
	}
	catch( e ) {}
} );
