// JavaScript Documentwindow.addEvent('domready', function() {	var opacidad = 0.7;	var altura = 29;	$$('a.lop').each(function(el) {		var contenido = new Element('div', {			'class' : 'op_precio',			'opacity': opacidad					}).inject(el);		obtenertexto = el.title.split('::');		texto = obtenertexto[1] + ' €';		contenido.set('html',texto);		var reset = false;		var efecto = new Fx.Tween(contenido, {			duration: 500,			link: 'cancel',			onComplete: function() {				if(reset) {					contenido.setStyle('height',0);				}			}		});		el.addEvents({			'mouseenter': function(contenido) {				contenido.stop();				efecto.start('height', 0, altura);				reset = false;			},			'mouseleave': function(contenido) {				reset = true;				efecto.start('height',altura,0);			}		});	});});
