$(document).ready(function() {
	
     $("input[type=file]").filestyle({ 
     	image: "fileadmin/templates/images/durchsuchen.gif",
     	imageheight : 25,
     	imagewidth : 95,
     	width : 175
     });
     
     $(".accordion_container").accordion({
     	collapsible: true,
     	active: false,
     	autoHeight: false
     });
     
     $(".tx-comments-comments").accordion({
     	collapsible: true,
     	active: false,
     	autoHeight: false,
     	header: '.tx-comments-comment-name'
     });
     
     /*	CarouFredSel: an infinite, circular jQuery carousel.
	Configuration created by the "Configuration Robot"
	at caroufredsel.frebsite.nl
    */
    $(".teaserkarussel").carouFredSel({
        items: {
            visible: 3,
            width: 195,
            height: 205
        },
        scroll: {
            mousewheel: true,
            items: 3
        },
        auto: false,
        prev: "#teaserkarussel_prev",
        next: "#teaserkarussel_next"
    });

    $('#slider').nivoSlider({
        controlNavThumbs: true,
        slices: 1,
        effect: 'fade',
        directionNav: false,
        animSpeed: 200,
        pauseTime: 3000,
        pauseOnHover: false,
        controlNavThumbsFromRel: true,
        captionOpacity:0,
        manualAdvance: false
    });
});



