<!--
var s_width ='';
var s_height ='';
s_width=screen.width
s_height=screen.height
if (s_width >= "640"){
//alert ( "resolucion "+ s_width+" x "+s_height);
var ancho = s_width -10;
var alto = s_height - 60;
var ancho2 = s_width -50;
var alto2 = s_height - 160;

var anchus = s_width * 0.9;
var altus = s_height * 0.8;
var pan= s_width - anchus;
var pal = s_height - altus;
var izq  = pan/2; 
var tope = pal/2 - 25;

var anchusa = 700;
var altusa = 400;
var pana= s_width - anchusa;
var pala = s_height - altusa;
var izqu  = pana/2; 
var topeu = pala/2 - 25;

var anchero = 700;
var altero = 550;
var panero= s_width - anchero;
var palero = s_height - altero;
var izquero  = panero/2; 
var topero = palero/2 - 25;
}

function centro(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=yes,location=0,statusbar=0,menubar=0,resizable=1,top="+tope+", left="+izq+",width="+anchus+",height="+altus+"');");
}
function chico(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=yes,location=0,statusbar=0,menubar=0,resizable=1,top="+topeu+", left="+izqu+",width="+anchusa+",height="+altusa+"');");
}
function alteza(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=yes,location=0,statusbar=0,menubar=0,resizable=1,top="+topero+", left="+izquero+",width="+anchero+",height="+altero+"');");
}
function url1(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=yes,scrollbars=yes,location=0,statusbar=0,menubar=0,resizable=0,top=0, left=0,width="+ancho+",height="+alto+"');");
}
function url2(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=yes,scrollbars=yes,location=0,statusbar=0,menubar=0,resizable=0,top=0, left=0,width="+ancho2+",height="+alto2+"');");
}

// 1-fotocentro
var ventana 
var cont=0 
var titulopordefecto = "Imagenes" 
function foto(cual,titulo) 
{ 
if(cont==1){ventana.close();ventana=null} 
if(titulo==null){titulo=titulopordefecto} 
ventana=window.open('','ventana','toolbar=0,scrollbars=yes,location=0,statusbar=1,menubar=0,resizable=1') 
ventana.document.write('<html><head><META HTTP-EQUIV="imagetoolbar" CONTENT="no"><title>' + titulo + '</title></head><body onclick="self.close()" style="cursor:hand; overflow:hidden" marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" scroll="no" onUnload="opener.cont=0"><table width=100% cellpadding=0 cellspacing=0><tr><td bgcolor=#CCCC33><center><font color=#000000 face=verdana size=1>Haga Clic en la imagen para Cerrar</font></td></tr></center></table><img src="' + cual + '" onLoad="opener.redimensionar(this.width, this.height)">') 
ventana.document.close() 
cont++ 
} 
function redimensionar(ancho, alto) 
{ 
ventana.resizeTo(ancho+10,alto+85) 
ventana.moveTo((screen.width-ancho)/2,(screen.height-alto)/2)
}
// funciones= foto() redimensionar(ancho, alto) url1()  url2()  centro() 
-->

