debug = function (log_txt) {
    if (window.console != undefined) {
        console.log(log_txt);
    }
};


$(function(){
		   //---------------->
		   

$box = $('#marquee .content');
$('#marquee .content').prepend($("#marquee .content .marqueeWrapper").clone()).append($("#marquee .content .marqueeWrapper").clone());
scrollWidth = $("#marquee .content .marqueeWrapper").width();

$box.bind('marquee', function() {
var ob = $(this);
var tw = ob.width();
var ww = ob.parent().width();
ob.css({ right: -scrollWidth*2 });
ob.animate({ right: -scrollWidth }, 40000, 'linear', function() {
ob.trigger('marquee');
});
}).trigger('marquee');

$box.hover(function() {
  $box.pause();
}, function() {
  $box.resume();
});

		   
		   //---------------->
		   });
