	var a;
	var b;
	var velocidad_movimiento = 25;
	var corrimiento = 5;
	function scroll_izq( elem ){
		elem.scrollLeft = elem.scrollLeft - corrimiento;
		a = setTimeout( 'scroll_izq(document.getElementById(\''+elem.id+'\'))', velocidad_movimiento );
	}
	function fin_scroll_izq( elem ){
		clearTimeout( a );
	}
	function scroll_der( elem ){
		elem.scrollLeft = elem.scrollLeft + corrimiento;
		b = setTimeout( 'scroll_der(document.getElementById(\''+elem.id+'\'))', velocidad_movimiento );
	}
	function fin_scroll_der( elem ){
		clearTimeout( b );
	}
	function ancho_div( elem, izq, der ){
		if( elem.offsetWidth > 150 ){
			izq.style.display = 'block';
			der.style.display = 'block';
		}
	}
	function cambiar_objeto( id, nombre, accion ){
		if( accion == 1 ){
			document.getElementById( 'thumbnail_img_' + id ).className = 'actual';
			document.getElementById( 'ultimos_nombre' ).innerHTML = nombre;
		} else {
			document.getElementById( 'thumbnail_img_' + id ).className = '';
			document.getElementById( 'ultimos_nombre' ).innerHTML = '&nbsp;';			
		}
	}

