function menu2(menu) {
	if (menu==1) {
		document.location.href="actualidad.php?actualidad=S";
	} else if (menu==2) {
		document.location.href="actualidad.php?actualidad=N";
	} else if (menu==3) {
		document.location.href="albumes.php";
	} else if (menu==4) {
		document.location.href="verPDF.php?seccion=Calendario Deportivo&pdf="+pdf_calendario;
	} else if (menu==5) {
		document.location.href="verPDF.php?seccion=A.P.A.P.&pdf="+pdf_apap;
	} else if (menu==6) {
		document.location.href="verPDF.php?seccion=Comedor&pdf="+pdf_comedor;
	} else if (menu==7) {
		document.location.href="verPDF.php?seccion=Transporte Escolar&pdf="+pdf_transporte;
	} else if (menu==8) {
		document.location.href="contacto.php";
	}
}

function menu1(menu,submenu) {
	switch (menu) {
		case 1:
			switch (submenu) {
				case 0:
					break;
				case 1:
					parent.document.location.href="stpresentacion.php";
					break;
				case 2:
					parent.document.location.href="sthistoria.php";
					break;
				case 3:
					parent.document.location.href="storganizacion.php";
					break;
				case 4:
					parent.document.location.href="stinstalaciones.php";
					break;
				case 5:
					parent.document.location.href="stadmisiones.php";
					break;
			}
			break;
		case 2:
			switch (submenu) {
				case 0:
					break;
				case 1:
					parent.document.location.href="stpresentacionDR.php";
					break;
				case 2:
					parent.document.location.href="stinstalacionesDR.php";
					break;
				case 3:
					parent.document.location.href="storganizacionDR.php";
					break;
				case 4:
					parent.document.location.href="stadmisionesDR.php";
					break;
			}
			break;
		case 3:
			switch (submenu) {
				case 0:
					break;
				case 1:
					parent.document.location.href="stacciontutorial.php";
					break;
				case 2:
					parent.document.location.href="storientacion.php";
					break;
				case 3:
					parent.document.location.href="stnuevastecnologias.php";
					break;
				case 4:
					parent.document.location.href="stextensioneducativa.php";
					break;
				case 5:
					parent.document.location.href="stvisitas.php";
					break;
				case 6:
					parent.document.location.href="stexperimentales.php";
					break;
				case 7:
					parent.document.location.href="stidiomas.php";
					break;
				case 8:
					parent.document.location.href="streconocimiento.php";
					break;
			}
			break;
		case 4:
			switch (submenu) {
				case 0:
					break;
				case 1:
					parent.document.location.href="stfisicodeportivas.php";
					break;
				case 2:
					parent.document.location.href="stajedrez.php";
					break;
				case 3:
					parent.document.location.href="stplasticas.php";
					break;
				case 4:
					parent.document.location.href="stescenograficas.php";
					break;
				case 5:
					parent.document.location.href="stfolclore.php";
					break;
				case 6:
					parent.document.location.href="stprensa.php";
					break;
				case 7:
					parent.document.location.href="stmusicales.php";
					break;
				case 8:
					parent.document.location.href="stfrances.php";
					break;
			}
			break;
		case 5:
			switch (submenu) {
				case 0:
					break;
				case 1:
					parent.document.location.href="stminerva.php";
					break;
				case 2:
					parent.document.location.href="stdeportiva.php";
					break;
				case 3:
					parent.document.location.href="stvamos.php";
					break;
				case 4:
					parent.document.location.href="stconservatorio.php";
					break;
				case 5:
					parent.document.location.href="stverdes.php";
					break;
				case 6:
					parent.document.location.href="stsolidaridad.php";
					break;
			}
			break;
		case 6:
			switch (submenu) {
				case 0:
					break;
				case 1:
					parent.document.location.href="stcursoverano.php";
					break;
				case 2:
					parent.document.location.href="stsummerschool.php";
					break;
				case 3:
					parent.document.location.href="stcampusbaloncesto.php";
					break;
				case 4:
					parent.document.location.href="stadmisionesverano.php";
					break;
			}
			break;
	}
}

function flashMenuPrincipalSombra() {
	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="729" height="304">');
	document.write('<param name="allowScriptAccess" value="sameDomain" />');
	document.write('<param name="movie" value="flash/menuSombra.swf" />');
	document.write('<param name="quality" value="high" />');
	document.write('<param name="wmode" value="transparent" />');
	document.write('<embed src="flash/menuSombra.swf" quality="high" width="729" height="304<br>" name="menu" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
	document.write('</object>');
}

function flashNovedad(id,foto,texto) {
	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="130" height="130">');
	document.write('<param name="allowScriptAccess" value="sameDomain" />');
	document.write('<param name="movie" value="flash/novedad.swf?id='+id+'&foto='+foto+'&texto='+texto+'"/>');
	document.write('<param name="quality" value="high" />');
	document.write('<embed src="flash/novedad.swf?id='+id+'&foto='+foto+'&texto='+texto+'" quality="high" width="130" height="130" name="menu" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
	document.write('</object>');
}