
	var end_pos = 0;
	var curr_pos = 0;
	var step = 50;
	var targ_width = 563;	

	function moveLeft()
	{
		var posY=0;
		
		if( end_pos == curr_pos )
		{
			end_pos = end_pos - targ_width;
		}
		
		if( curr_pos > end_pos )
		{
			document.getElementById('tsmt_quote').style.backgroundPosition = [(curr_pos+'px ') , (posY+'px')].join('');
			curr_pos = curr_pos - step;
			setTimeout( 'moveLeft()', 15 );
		}else{
			curr_pos = end_pos;
			document.getElementById('tsmt_quote').style.backgroundPosition = [(curr_pos+'px ') , (posY+'px')].join('');
		}
	}
	
	function moveRight()
	{
		var posY=0;
		
		if( end_pos == curr_pos )
		{
			end_pos = end_pos + targ_width;
		}

		if( curr_pos < end_pos )
		{
			document.getElementById('tsmt_quote').style.backgroundPosition = [(curr_pos+'px ') , (posY+'px')].join('');
			curr_pos = curr_pos + step;
			setTimeout( 'moveRight()', 15 );
		}else{
			curr_pos = end_pos;
			document.getElementById('tsmt_quote').style.backgroundPosition = [(curr_pos+'px ') , (posY+'px')].join('');
		}
	}


