$(document).ready(function(){
var speed = 5;
    var items, scroller = $('#advMainContUl');
    var width = 0;
    scroller.children().each(function(){
        width += 190;
    });
    scroller.css('width', width);
    scroll();
    function scroll(){
        items = scroller.children();
        var scrollWidth = 190;
        scroller.animate({'left' : 0 - scrollWidth}, scrollWidth * 100/speed, 'linear', changeFirst);
    }
    function changeFirst(){
        scroller.append(items.eq(0).remove()).css('left', 0);
        scroll();
    }

});

