stop=0;
$(document).ready(function(){$(".move").hover(function(){stop=1;},function(){stop=0;})});
$(document).ready (function sd(){move_start();});

function move_start()
{
    w_string=$(".string").width(); // Определяем ширину строки
	//alert(w_string);
	w_move=$(".move").width();
    $(".move").css('white-space', 'nowrap')
	$(".string").css('width', w_string+'px')
	w_move=$(".move").width(); // Определяем ширину бегущей строки
	$(".move").css("left", (w_string)+"px"); // Устанавливаем marginLef бегущей строки в крайне правое значение
	move (w_string); // Вызываем функцию движения строки
}
function move(left)
	{
		if (stop==0) {left-=1;};
		$(".move").css("left", left+"px");
		if (-w_move>left) {clearTimeout(ctime); move_start();}
		else {ctime = setTimeout (function(){move(left);}, 7);}
	}
