// JavaScript Document
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

 function encima(objeto, zona)
{	
	document.getElementById(objeto).style.backgroundImage = "url(imagenes/" +  zona + "2.png)";
	document.getElementById(objeto).style.cursor="hand";
}
function fuera(objeto, zona)
{	
	document.getElementById(objeto).style.backgroundImage = "none";
	document.getElementById(objeto).style.cursor="auto";
	
}
function abrir(capa, maxi)
{
	var i, c
	for (i=1;i<=maxi;i++)
	{
		c ='apDiv'+i;
	document.getElementById(c).style.visibility = 'hidden';
	}
	document.getElementById(capa).style.visibility = 'visible';
	}
function cerrar(capa)
{
	document.getElementById(capa).style.visibility = 'hidden';
	
	}

