// JavaScript Document
function foco(elemento) {
 elemento.style.border = "1px solid #000000";
}

function no_foco(elemento) {
 elemento.style.border = "1px solid #CCCCCC";
} 


function menuSeleccionado(valor)
{
	for(i=1 ; i<=5 ; i++)
	{
		document.getElementById("menu_"+i).className = "enlaces_menu";
		document.getElementById("opc_"+i).style.visibility="hidden";
		document.getElementById("opc_"+i).style.display="none";	
	}
		document.getElementById("menu_"+valor).className = "enlaces_menu_active";
		document.getElementById("opc_"+valor).style.visibility="visible";
		document.getElementById("opc_"+valor).style.display="block";
}

function petCat()
{
	var datos = window.showModalDialog("pages/petCat.php",argumentos,"width = 300");	
}

function openWindow() {
   var myArguments = new Object();
   myArguments.param1 = document.all.myColor.value;
   window.showModalDialog("pages/petCat.php", myArguments, ''); 
} 
