function colorOn(capa,color) {
capa.style.color = color;
}
function colorOff(capa,color) {
capa.style.color = color;
}
function mostrarCapa (capa,imagen,caja) {
capa.style.display = "";
 var x = imagen;
 caja.style.height = x + 2;
	if (navigator.appName != "Microsoft Internet Explorer"){
	caja.style.height = x - 20;
	}
}
function ocultarCapa (capa) {
document.getElementById(capa).style.display = "none";
}

function fotoGrande (pagina){

window.open (pagina,'foto','width = 500, height = 500, status=yes');

}
function sumarSize(capa) {
var t = capa.style.fontSize;
capa.style.fontSize = parseInt(t) + 1 + "pt";
if (parseInt(capa.style.fontSize) >= 11){
capa.style.fontSize = 11 + "pt";
}
}
function restarSize(capa) {
var t = capa.style.fontSize;
capa.style.fontSize = parseInt(t) - 1 + "pt";
if (parseInt(capa.style.fontSize) <= 8 ){
capa.style.fontSize = 8 + "pt";
}
}
function justificarTexto (capa,justificar){
capa.style.textAlign = justificar;
}

function preCarga() { 
if (!document.images) return;
var imagenes = new Array();
for (var i = 0; i < arguments.length; i++) {
imagenes[i] = new Image();
imagenes[i].src = arguments[i];
} 
} 

function ir(url){
location.href = url;
}


