$(document).ready(function () {
    $('.sliderContent').hide();
    $("a[rel^='prettyPhoto']").prettyPhoto(
    {
gallery_markup: '<div class="pp_gallery"> \
								<a href="#" class="pp_arrow_previous">Previous</a> \
									<a href="#" class="pp_arrow_next">Next</a> \
							</div>'
    }
    );

    $('.recipeTitle').click(function () {
        if ($(this).siblings('.sliderContent').is(':hidden')) {
            $(this).siblings('.sliderContent').slideDown('slow');
        }
        else {
            $(this).siblings('.sliderContent').slideUp('slow');
        }
    });

    $('#slider').anythingSlider({
        easing: "swing",    // Anything other than "linear" or "swing" requires the easing plugin
        autoPlay: true,                 // This turns off the entire FUNCTIONALY, not just if it starts running or not
        startStopped: false,            // If autoPlay is on, this can force it to start stopped
        delay: 3500,                    // How long between slide transitions in AutoPlay mode
        animationTime: 1200,             // How long the slide transition takes
        buildNavigation: false,          // If true, builds and list of anchor links to link to each slide
        pauseOnHover: false,             // If true, and autoPlay is enabled, the show will pause on hover
        navigationFormatter: null,       // Details at the top of the file on this use (advanced use)
        buildStartStop: false,
        buildArrows: false
    });

    $('#headerpage').anythingSlider({
        easing: "swing",    // Anything other than "linear" or "swing" requires the easing plugin
        autoPlay: true,                 // This turns off the entire FUNCTIONALY, not just if it starts running or not
        startStopped: false,            // If autoPlay is on, this can force it to start stopped
        delay: 3500,                    // How long between slide transitions in AutoPlay mode
        animationTime: 1200,             // How long the slide transition takes
        buildNavigation: false,          // If true, builds and list of anchor links to link to each slide
        pauseOnHover: false,             // If true, and autoPlay is enabled, the show will pause on hover
        navigationFormatter: null,       // Details at the top of the file on this use (advanced use)
        buildStartStop: false,
        buildArrows: false
    });


});
