jQuery(document).ready(function() {

    jQuery('.links .cycle .news-latest-container').cycle({
        fx:           'fade', // name of transition effect (or comma separated names, ex: fade,scrollUp,shuffle) 
        timeout:       5000,  // milliseconds between slide transitions (0 to disable auto advance) 
        speed:         1200,  // speed of the transition (any valid fx speed value) 
        random:        1,     // true for random, false for sequence (not applicable to shuffle fx) 
        pause:         1,     // true to enable "pause on hover" 
        activePagerClass: 'activeSlide' // class name used for the active pager link  
    });
    
    jQuery('.rechts .cycle .csc-textpic-imagecolumn').cycle({
        fx:           'fade', // name of transition effect (or comma separated names, ex: fade,scrollUp,shuffle) 
        timeout:       6000,  // milliseconds between slide transitions (0 to disable auto advance) 
        speed:         1500,  // speed of the transition (any valid fx speed value) 
        random:        1     // true for random, false for sequence (not applicable to shuffle fx) 
    });
    
    /**
     * Alle 'Aktuelles' Teaser auf der rechten Seite sollen gleich hoch sein.
     * 11.03.2010     
     * mj
     */              
    setTimeout(function(){  
        jQuery('.rechts .rgtabs-container').show();    
        jQuery.makeElementsEqual(jQuery('.rechts div.news-latest-container div.news-latest-item'), false, 'max');  
        jQuery('.rechts .rgtabs-container').not(':first').hide(); 
        jQuery('.rechts div.news-latest-item').each(function(){
            jQuery(this).css('position', 'relative');            
            jQuery(this).find('.news-latest-morelink').css('position', 'absolute').css('bottom', '0px');
        });
    }, 100);
    
});