function actdesherram(b_t){
	if(b_t.tag)
	{
		var divherram = document.getElementById("herramientas");
		var ulist = divherram.getElementsByTagName("img");
		for (var x=0; x<ulist.length; x++)
		{
			if (ulist[x].tag){
				if (ulist[x].src.lastIndexOf("_act.gif")!=-1){ulist[x].src=ulist[x].src.substring(0,ulist[x].src.length - 8) + ".gif";}
			}				
		}
		b_t.src=b_t.src.substring(0,b_t.src.length - 4) + "_act.gif";
	}
}

function actpanover(b_t){
	if(b_t.title)
	{
		var divherram = document.getElementById("mapatab");
		var ulist = divherram.getElementsByTagName("td");
		for (var x=0; x<ulist.length; x++)
		{
			if (ulist[x].title){
				if (ulist[x].title==b_t.title){ulist[x].style.backgroundColor='#9bb6cf'}
			}				
		}
	}
}

function actpanout(b_t){
	if(b_t.title)
	{
		var divherram = document.getElementById("mapatab");
		var ulist = divherram.getElementsByTagName("td");
		for (var x=0; x<ulist.length; x++)
		{
			if (ulist[x].title){
				if (ulist[x].title==b_t.title){ulist[x].style.backgroundColor='#C3C3C3'}
			}				
		}
	}
}
