function mar(pos, speed)
{
	obj = document.getElementById('marca');
	obj.direction = pos;
	obj.scrollAmount = speed;
}