﻿$.fn.slideShow = function (timeOut) {
    var $elem = this;
    this.children(':gt(0)').hide();
    setInterval(function () {
        $elem.children().eq(0).fadeOut().next().fadeIn().end().appendTo($elem).hide();
    }, timeOut || 3000);
};

