$(document).ready(function() {
        way = $('.prototype').parent().hasClass('con') ? true  : false;
        pHeight = $('.prototype').height();
        $('.clone').append($('.prototype').html());
        $('.clone').css({
            Height:pHeight,
            top:way ? -pHeight : pHeight
            });
        var ppos = 0,
        cpos = pHeight,
        step = 1;
        play = function() {
            var ppos = parseInt($('.prototype').css('top')),
            cpos = parseInt($('.clone').css('top'));
			
            if ( way ) {
                ppos = ppos == pHeight ? 0 : ppos+step;
                cpos = cpos == 0 ? -pHeight : cpos+step;
            } else {
                ppos = ppos == -pHeight ? 0 : ppos-step;
                cpos = cpos == 0 ? pHeight : cpos-step;
            }
		
            $('.prototype').css({
                top: ppos
            });
            $('.clone').css({
                top: cpos
            });
		
            st = setTimeout(play,30);
        };
        play();
        $('.clist .scroll').hover(function() {
            clearTimeout(st);
        }, function() {
            setTimeout(play,30);
        });    
});
