var IMAGESWAP = (function ($) {

var image = image || {};

image.slide = $("#slideShow").children();

image.count = image.slide.length;

image.init = function () {
x = 1;
window.setInterval(function () {
if (x < image.count) {
image.slide.eq(x).fadeIn(800).delay(1700).fadeOut(800);
x++;
}
else {
x = 0;
image.slide.eq(x).fadeIn(800).delay(2400).fadeOut(800);
x++;
}
}, 2200); 
};

image.init();

return image;

}(jQuery));

