	function overTd(obj, clr){
		var colores = ["#CCCCCC","#CCCCCC","#CCCCCC","#CCCCCC","#CCCCCC","#CCCCCC"];
		obj.parentNode.style.background = colores[clr];
	}
	function outTd(obj){
		obj.parentNode.style.background = '#FFFFFF';
	}
	function subMenu(cual){
		if(document.getElementById(cual).style.display == 'none'){
			document.getElementById(cual).style.display = 'block';
		}
		else{
			document.getElementById(cual).style.display = 'none';
		}
	}
	function initMenu(){
		var subs = ['masMenus','subMenuProyectos','subMenuFran','subMenuServicios','subMenuLaser','subMenuActualidad'];
		for(var i = 0;i < subs.length; i++){
			setTimeout("subMenu('"+subs[i]+"')",750*(i+1));
		}
	}
	function plegarTodo(){
		var subs = ['masMenus','subMenuProyectos','subMenuFran','subMenuServicios','subMenuLaser','subMenuActualidad'];
		(document.getElementById(subs[5]).style.display == 'none') ? sino = 'block' : sino = 'none';
		for(var i = 0;i < subs.length; i++){
			setTimeout("document.getElementById('"+subs[i]+"').style.display='"+sino+"'",250*(i+1));
		}
	}
	function DomElm(elm){
		this.elm = document.getElementById(elm);
		this.obj = elm + "Obj";
		eval(this.obj + "= this");
		this.style = this.elm.style;
		return this;
	}
	var laser1, laser2, laser3, laser4, laser5;
	function init(){
		for(i = 1; i <= 5; i++){
			eval("laser" + i + " = new DomElm('las" + i + "')");
			x = 195 + (92 * (i - 1));
			eval("laser" + i + ".style.left = " + x);
		}            
		//initMenu();
		//Sólo al iniciar
		//if(location.href == 'http://www.las.es/actualidad/index.php'){
		//	window.open('http://www.ciberlocales.com/popup/index.html','','width=284,height=286')
		//}
	}
	DomElm.prototype.sube = function(){
		clearTimeout(this.b);
		if(this.getY() > -14){
			this.style.top = this.getY() - 2;
			this.s = setTimeout(this.obj + ".sube()",10);
		}
	}
	DomElm.prototype.baja = function(){
		clearTimeout(this.s);
		if(this.getY() < 83){
			this.style.top = this.getY() + 2;
			this.b = setTimeout(this.obj + ".baja()",10);
		}
	}
	DomElm.prototype.getY = function(){
		return this.elm.offsetTop;
	}
	DomElm.prototype.getX = function(){
		return this.elm.offsetLeft;
	}
