// JavaScript Document


<!--
function Fecha()
{
meses = new Array ("enero", "febrero", "marzo", "abril", "mayo", "junio", "julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre");
//meses = new Array ("01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12");
data = new Date();
index = data.getMonth();
diasemana=new Array ("lunes","martes","miércoles","jueves","viernes","sábado","domingo");
indexday = data.getDay();
if (indexday == 0)
indexday = 7;
any = data.getYear();
if (any < 1900)
any = 1900 + any;
document.write(diasemana[indexday-1] + ' ' + data.getDate() + " de " + meses[index] + " de " + any);
//document.write(diasemana[indexday-1] + ' ' + data.getDate() + " / " + meses[index] + " / " + any);
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
//-->





PositionX = 100;
PositionY = 100;
defaultWidth = 500;
defaultHeight = 500;
var AutoClose = true;
if (parseInt(navigator.appVersion.charAt(0))>=4)
{
	var isNN=(navigator.appName=="Netscape")?1:0;
	var isIE=(navigator.appName.indexOf("Microsoft")!=-1)?1:0;
}
var optNN='scrollbars=no,width='+defaultWidth+',height='+defaultHeight+',left='+PositionX+',top='+PositionY;
var optIE='scrollbars=no,width=150,height=100,left='+PositionX+',top='+PositionY;

function mostrarimagen(imageURL,imageTitle)
{
	
	if (isNN)
	{
		imgWin=window.open('about:blank','',optNN);
	}
	if (isIE)
	{
		imgWin=window.open('about:blank','',optIE);
	}
	with (imgWin.document)
	{
		writeln('<html><head><title>Cargando ...</title><style>body{margin:0px;}</style>');
		writeln('<script>');
		writeln('var isNN,isIE;');
		writeln('if (parseInt(navigator.appVersion.charAt(0))>=4){');
		writeln('isNN=(navigator.appName=="Netscape")?1:0;');
		writeln('isIE=(navigator.appName.indexOf("Microsoft")!=-1)?1:0;}');
		writeln('function reSizeToImage(){');
		writeln('if (isIE){');
		writeln('window.resizeTo(100,100);');
		writeln('width=100-(document.body.clientWidth-document.images[0].width);');
		writeln('height=100-(document.body.clientHeight-document.images[0].height);');
		writeln('window.resizeTo(width,height);}');
		writeln('if (isNN){'); 
		writeln('window.innerWidth=document.images["imagenes"].width;');
		writeln('window.innerHeight=document.images["imagenes"].height;}}');
		writeln('function doTitle(){document.title="'+imageTitle+'";}');
		writeln('</sc'+'ript>');
		if (!AutoClose) 
		{
			writeln('</head><body bgcolor=000000 scroll="no" onload="reSizeToImage();doTitle();self.focus()">');
		}
		else
		{
			writeln('</head><body bgcolor=ffffff scroll="no" onload="reSizeToImage();doTitle();self.focus()" onblur="self.close()">');
		}
		writeln('<img name="imagenes" src='+imageURL+' style="display:block"></body></html>');
		close();        
	}
}



function pagsig()
{
	document.form1.numpagina.value++;
	document.form1.submit();
}

function pagant()
{
	document.form1.numpagina.value--;
	document.form1.submit();
}





