// ae f.d.
var cuentaSec = 0;
function inicio() {
	cuentaSec++;
	cambia = window.setTimeout ('inicio();',1000);
		if ( cuentaSec == 8 ) {
		document.getElementById('capa').style.display = "block";
		document.getElementById('wait').style.display = "none";
		clearTimeOut (cambia);
		}
	}
// status
defaultStatus = '[  CAMPAMENTO DE VERANO INTERNACIONAL GUZMAN 2008  ]';
function aeWdw(ancho,alto,pagina,titulo) {
var codigo = "<html><head><title>"+titulo+"</title>\n"+
	"<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\">\n"+
	"<meta http-equiv=\"Author\" content=\"CAMPAMENTO DE VERANO INTERNACIONAL GUZMAN 2008 \">\n"+
	"<scr"+"ipt language=\"JavaScript\" type=\"text/javascript\">\n"+
	"var incrementoX=100;\n"+
	"var incrementoY=100;\n"+ 	
	"var ancho="+ancho+";\n"+
	"var alto="+alto+";\n"+
	"function mueveVentana() {\n"+
	"	var centroX = (screen.width-document.body.offsetWidth)/2;\n"+
	"	var centroY = (screen.height-document.body.offsetHeight)/2;\n"+	
	"	incrementoX += (ancho - document.body.offsetWidth)/10;\n"+
	"	incrementoY += (alto - document.body.offsetHeight)/10;\n"+	
	"	window.resizeTo(incrementoX,incrementoY);\n"+
	"	window.moveTo(centroX,centroY);\n"+
	"	muevete = window.setTimeout ('mueveVentana();',20);\n"+
	"	if ((document.body.offsetWidth == ancho) && (document.body.offsetHeight == alto)) {\n"+
	"		clearTimeout(muevete);\n"+
	"		}\n"+	
	"	}\n"+
	"</scr"+"ipt>\n"+
	"<style type=\"text/css\">\n"+
	"	body { margin: 0px; border: none; }\n"+
	"	#aeDIV { width: 100%; height: 100%; }\n"+
	"</style>\n"+
	"</head><body>\n"+
	"<div id=\"aeDIV\"><iframe src=\""+pagina+"\" name=\"aeIFrame\" width=\"100%\" height=\"100%\" frameborder=\"0\"></iframe></div>\n"+
	"<scr"+"ipt language=\"JavaScript\" type=\"text/javascript\">mueveVentana();</scr"+"ipt>\n"+
	"</body></html>";
	var izquierda = (screen.width-100)/2;
	var arriba = (screen.height-100)/2;
	FonsWindow = window.open('','','width=900,height=620,top='+arriba+',left='+izquierda+',scrollbars=auto');
		FonsWindow.document.open();
		FonsWindow.document.write(codigo);
		FonsWindow.document.close();
}
// InfoPic
var imagenNum = 0;
var limiteImg = 3;
function cambiaImagen() {
	imagenNum ++;
	if ( imagenNum == limiteImg ) { imagenNum = 1; }
	document.getElementById('infopic').innerHTML = "<img src=\"img/infoPic/"+imagenNum+".jpg\" width=\"900\" height=\"620\" alt=\"yo!\" class=\"infoPic\">"
	}



