﻿//This is a simple jquery carousel I built for the bottom of CityTV, Daryl
(function ($) {
    $.fn.videocarousel = function () {
       
        return this.each(function () {
            //iterates through each video lineup tab, and then places the hidden content in the video boxes into VideoCarouselTarget

            $(".td-VideoLineup", this).each(function (index, element) {

                $(this).bind('mouseover', function () {


                    $("#VideoCarouselTarget").html($("#video-" + (index + 1)).html());


                }

        );

            }
       );
        });
    }


})(jQuery);
