<!--
function nueva_ventana(pagina)
{

	var ventana=window.open(pagina);

}

banners_sup = true;

if (screen.width>800) hires = true;

function menu() {

	var urlplus="/";
	var url = document.location.href;
	
	pathname = document.location.pathname.substr(1);
	var plata = pathname.substring(0, pathname.indexOf("/"));



    tipoclase = "menucnd";
	

	if (tipoclase!="menu") {
		tmpu = document.location.pathname;
		tmpu2 = document.location.pathname.substring(1);
		tmp = document.location.pathname.length - 1;

		if ( (document.location.pathname.indexOf("/")!=document.location.pathname.lastIndexOf("/")) && plata!="" ) {
			var urlplus= "/" + plata + "/";
		} else  if (document.location.pathname.charAt(tmp) != "/") {
			var urlplus=document.location.pathname+"/";
		} else if (!document.location.pathname) {
			var urlplus="";	
		}
		
	}
	
	if (urlplus.indexOf("/cg")>=0) urlplus="/";
	
	if (document.cookie.indexOf("canal_usuario")==-1) {
		auth ="Registrate";
	} else {
		auth ="Zona privada";
	}


	var cf;
	if (url.indexOf("/pc")>=0) 		cf="#edd8a1";
	if (!cf) cf = "#9CDBFF";

	menu = Array (
	'1', cf, '', 'NAVEGACIÓN',
	'0', cf, 'index.php?page=0', '<b>>></b> Inicio',
	'0', cf, 'index.php?page=1', '<b>>></b> Quienes Somos',
	'0', cf, 'index.php?page=2', '<b>>></b> Propuesta Educativa',
	'0', cf, 'index.php?page=3', '<b>>></b> Reglamento Interno',
	'0', cf, 'instalaciones.php', '<b>>></b> Instalaciones',
	'0', cf, 'index.php?page=5', '<b>>></b> Comunidad Religiosa',	
	'0', cf, 'index.php?page=6', '<b>>></b> Org. Padres y Representantes',	
	'0', cf, 'index.php?page=7', '<b>>></b> Org. Estudiantil',		
	'1', cf, '', 'CRONOGRAMAS',
	'0', cf, 'index.php', '<b>>></b> Fiestas Nacionales',
	'0', cf, 'index.php', '<b>>></b> Actividades Especiales',
	'1', cf, '', 'HISTORIA',
	'0', cf, 'index.php', '<b>>></b> 50 Años',
	'0', cf, 'index.php', '<b>>></b> Memorias de un Ayer',
	'1', cf, '', 'PROYECTOS',
	'0', cf, 'index.php', '<b>>></b> Proyecto Pedagogico',
	'0', cf, 'index.php', '<b>>></b> Objetivos Pedagogico',
	'0', cf, 'index.php', '<b>>></b> Proyecto Pastoral',	
	'1', cf, '', 'RESUMENES',
	'0', cf, 'index.php', '<b>>></b> Paseo Personal 2004',
	'0', cf, 'index.php', '<b>>></b> Reseña Navidad 2003',
	'0', cf, 'index.php', '<b>>></b> Graduación 2 de Cs 2004',
	'0', cf, 'index.php', '<b>>></b> Despedida Matuja Tovar',
	'1', cf, '', 'GALERIAS',
	'0', cf, 'index.php', '<b>>></b> Virgen Niña',
	'0', cf, 'index.php', '<b>>></b> 50 Aniversario',
	'0', cf, 'index.php', '<b>>></b> Presentación',
	'0', cf, 'index.php', '<b>>></b> 1era Semana 2003',
	'0', cf, 'index.php', '<b>>></b> 2da Semana 2003',
	'0', cf, 'index.php', '<b>>></b> 3era Semana 2003',
	'0', cf, 'index.php', '<b>>></b> Clausura 50 Años',
	'0', cf, 'index.php', '<b>>></b> Coronación 50 Años',
	'0', cf, 'index.php', '<b>>></b> Memorias',
	'1', cf, '', 'DESCARGAS',
	'0', cf, 'index.php', '<b>>></b> Wallpapers',
	'0', cf, 'index.php', '<b>>></b> Presentaciones',
	'0', cf, 'index.php', '<b>>></b> Logos é Imagenes',
	'1', cf, '', 'CONTANCTENOS',
	'0', cf, 'index.php', '<b>>></b> Acerca de..',
	'0', cf, 'index.php', '<b>>></b> Escribenos',
	'0', cf, 'index.php', '<b>>></b> Pagina de Inicio',
	'0', cf, 'index.php', '<b>>></b> Agregar a Favoritos'
	);

	for (i=0; i<menu.length; i+=4) {
		if (menu[i]=='0') {
				document.write ('<tr><td bgcolor="#DCDCDC" onClick="document.location.href=\''+menu[i+2]+'\'" class="menu" onMouseOver="mh(this,');
       			document.write ("'" + menu[i+1] + "'");
       			document.write (')" onMouseOut="mh(this,');
       			document.write ("'#ffffff'");
       			document.write (')"><a href="'+menu[i+2]+'"><span class="menua">'+menu[i+3]+'</span></a></td></tr>');
		} else {
			if(i!=0){document.write('</td></tr></table>');}
			document.write ('<tr><td background="Images/1.jpg" id="foldheader" class='+tipoclase+'>'+menu[i+3]+'</td></tr><tr style="display:none;"><td><table id="foldinglist" cellSpacing=0 cellPadding=0 width=100% bgColor=#000000 border=0>');
		}
	}
	
	document.write('</td></tr></table>');

}

function mh(f,cc) {
	if (f.style.backgroundColor!=cc && f.style.backgroundColor.indexOf('rgb(')<0) {
		f.style.backgroundColor=cc;
	} else {
		
		f.style.backgroundColor='#dcdcdc';
	}
}

function tableOver(o,c) {
	o.style.backgroundColor=c;
	o.style.cursor='hand';
}

function tableOut(o,c) {
	o.style.backgroundColor=c;
	o.style.cursor='hand';
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function habilitarCampoQuien(seleccion){
	if (seleccion > 6) {
		document.alta.estado_quien.disabled = false;
	} else {
		document.alta.estado_quien.bgcolor = "#cdcdcd";
		document.alta.estado_quien.disabled = true;
	}
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function GFavoritos (este) {

	if (window.external) {
		external.AddFavorite(location.href, document.title)
	} else {
		alert("Tu navegador no es compatible para guardar automáticamente un enlace.\n\nPero puedes hacerlo manualmente.");
	}
}

function OpenSS(srcHref,title) {
	popupss=window.open(srcHref,title,'toolbar=no,directories=no,status=no,menubar=no,scrollbars=no,height=400,width=400,resizable=no');
	popupss.focus();
}

function winBRopen(theURL, Name, popW, popH, scroll) {
	var winleft = (screen.width - popW) / 2;
	var winUp = (screen.height - popH) / 2;
	winProp = 'width='+popW+',height='+popH+',left='+winleft+',top='+winUp+',scrollbars='+scroll+',resizable'
	Win = window.open(theURL, Name, winProp)
	if (parseInt(navigator.appVersion) >= 4) { Win.window.focus(); }
	}

//-->
