
// -------------------------------- IMAGENES ---------------------------------
var sinFoto					= new Image(169,84);
		sinFoto.src			="Imagenes/sinFoto.gif";

//-------------------------------------------------------------------------------------------------------//
// Presenta foto  en capa para las fotos                                                                 //
//-------------------------------------------------------------------------------------------------------//
function CargarImagen(valor)
{
//	alert('CargaImagen(' + valor + ')');

	if (document.layers)
	{
  	document.layers[clFotoDetalle].document.images[foto].src=valor;
	}
	else if (document.all)
	{
  	document.all('foto').src = valor;
	}
}
//-------------------------------------------------------------------------------------------------------//
// Cambia el color de la capa, efecto hover                                                              //
//-------------------------------------------------------------------------------------------------------//
function ColorFondo(capa,color,tipo)
{
//	alert(' capa : ' + capa);
	if (document.all||document.getElementById)
		document.getElementById(capa).style.backgroundColor=color;
		document.getElementById(capa).style.cursor=tipo;
}
//-------------------------------------------------------------------------------------------------------//
// carga la url siguiente                                                                                //
//-------------------------------------------------------------------------------------------------------//
function Cargar(url1)
{
	location.href=url1;
	location.load(url1);
}
//-------------------------------------------------------------------------------------------------------//
// llama a ampliar la capa																																							//
//-------------------------------------------------------------------------------------------------------//
function MuestraImagen(idImg,naImg)
{
	document.getElementById(idImg).src = 'Imagenes\\' + naImg;
}
