function muestraOculta(capa){
	if (document.getElementById(capa).style.visibility == "hidden")
	{
	document.getElementById(capa).style.visibility = "visible";
	}
	else if (document.getElementById(capa).style.visibility == "visible")
	{
	document.getElementById(capa).style.visibility = "hidden";
	}
	else 
	{
	document.getElementById(capa).style.visibility = "visible";
	}
}


function rollOn(imgSrc, idImg)
{
    if (imgSrc != "")
    {   document.getElementById(idImg).src =  imgSrc;
    }
}

function carga_print(){
	if (document.getElementById("print")!=null)
		{
		var button_print = document.getElementById("print");
		button_print.style.display="inline";
		}
	}

/*
function rollOver(imgSrc, idr)
{
    if (imgSrc != "")
	{ 	idHref = document.getElementById(idr).id;
		alert(idHref);
	
		alert(idHref.getElementByTagName("img"));
	
		//var Img = idHref.getElementsByTagName("img");
		



		

		alert(Img2);
		Img2.src =  imgSrc;

    }
}

function addBehaviours(){
	carga_print();

	var mapSrcOver = "img/icon_site_map_2.gif";

	var mapHref = document.getElementById("site_map").id;
	if (!mapHref) alert (mapHref);
	mapHref.onmouseover = rollOver (mapSrcOver, mapHref);
}

window.onload = addBehaviours;*/
//window.onload = carga_print();



