menunum=0;menus=new Array();_d=document;

var url_dominio;
url_dominio = "http://www.cepade.es";

function AbreFAO() {
AbreTienda=window.open("http://www.rlc.fao.org/proyecto/fodepal/","win","toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes");
}

function AbreTienda() {
AbreTienda=window.open("http://tiendavirtual.cepade.es/ventas/","win","toolbar=no,location=yes,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes");
}

function AbreMatricula() {
AbreMatricula=window.open(url_dominio + "/formacion/zzCestaWebTiendac.asp","win","toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes");
}

function AbreExtranet() {
AbreExtranet=window.open("https://zeus.cepade.es/Profesor/profesor/ayuda.aspx","win","toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes");
}
function AbreExtranet1() {
AbreExtranet1=window.open("https://zeus.cepade.es/alumnos/index.asp","win","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no");
}
function AbreExtranet2() {
AbreExtranet2=window.open("https://zeus.cepade.es/Institucion/Convenios/Ayuda.aspx","win","toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes");
}
function AbreExtranet3() {
AbreExtranet3=window.open("https://zeus.cepade.es/AlumnosNET/Index.aspx","win","toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes");

}
function AbreExtranet4() {
AbreExtranet3=window.open("https://zeus.cepade.es/index.asp","win","toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes");

}
function AbreCatalogo() {
AbreCatalogo=window.open(url_dominio + "/Comun/FormularioSolicitudInformacion.asp?Medio=WebCEPADE","win","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes");
}

function AbreForcem() {
AbreForcem=window.open(url_dominio + "/ademas/forcem.asp","win","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=500,height=300");
}
function AbreIEN() {
AbreIEN=window.open("http://www.ienpolitecnica.es","win","toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width=750,height=700");
}
//Features Fullscreen
//PopUp=window.open("http://zeus.cepade.es","displayWindow","fullscreen=yes");


//Features PopUP
/*******************
height=300 - Windows Outer Width in Pixels 
width=300 - Window Outer Width in Pixels 
toolbar=yes - "Back", "Forward" and other buttons 
location=yes - Show Current URL 
directories=yes - Show What's new and other buttons 
status=yes - Show the status bar 
menubar=yes - Display the browser menu bar 
scrollbars=yes - Use scrollbars if needed 
resizable=yes - Include user re-sizing of Window 
copyhistory=yes - Duplicate the GO history 
*/

function addmenu(){menunum++;menus[menunum]=menu;}function dumpmenus(){mt="<script language=javascript>";for(a=1;a<menus.length;a++){mt+=" menu"+a+"=menus["+a+"];"}mt+="<\/script>";_d.write(mt)}

timegap=200 			// The time delay for menus to remain visible
followspeed=5			// Follow Scrolling speed
followrate=40			// Follow Scrolling Rate
suboffset_top=0;		// Sub menu offset Top position 
suboffset_left=20;		// Sub menu offset Left position

style=[							// style is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"#FFFFFF",						// Mouse Off Font Color
"#009999",						// Mouse Off Background Color
"#000000",						// Mouse On Font Color
"#009999",						// Mouse On Background Color
"#CECFCE",						// Menu Border Color 
11, 							// Font Size in pixels
"normal",						// Font Style (italic or normal)
"bold",						    // Font Weight (bold or normal)
"Verdana, Arial",               // Font Name
,								// Menu Item Padding
"",								// Sub Menu Image (Leave this blank if not needed)
,								// 3D Border & Separator bar
,       						// 3D High Color
,								// 3D Low Color
"#ffffff",						// Current Page Item Font Color (leave this blank to disable)
"#009999",						// Current Page Item Background Color (leave this blank to disable)
"",								// Top Bar image (Leave this blank to disable)
"#ffffff",						// Menu Header Font Color (Leave blank if headers are not needed)
"#000000",						// Menu Header Background Color (Leave blank if headers are not needed)
]

style2=["#000000","#81D6DB","#FFFFFF","#00A7A3","#81D6DB",11,"normal","normal","Verdana",4,"",,,,"#000000","#FFFFFF","","#ffffff","#000000",]
style3=["#000000","#e5f5f5","#FFFFFF","#00A7A3","#009999",11,"normal","normal","Verdana",4,"",,,,"#000000","#FFFFFF","","#ffffff","#000000",]

addmenu(menu=[		// This is the array that contains your menu properties and details
"mainmenu",			// Menu Name - This is needed in order for the menu to be called
90,					// Menu Top - The Top position of the menu in pixels
10,					// Menu Left - The Left position of the menu in pixels
102,				// Menu Width - Menus width in pixels
0,					// Menu Border Width 
,					// Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
style,				// Properties Array - this is set higher up, as above
1,					// Always Visible - allows the menu item to be visible at all time (1=on/0=off)
"left",			// Alignment - sets the menu elements text alignment, values valid here are: left, right or center
,					// Filter - Text variable for setting transitional effects on menu activation - see above for more info
,					// Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times) (1=on/0=off)
1, 					// Horizontal Menu - Tells the menu to become horizontal instead of top to bottom style (1=on/0=off)
,					// Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on/0=off)
,					// Position of TOP sub image left:center:right
,					// Set the Overall Width of Horizontal Menu to 100% and height to the specified amount (Leave blank to disable)
,					// Right To Left - Used in Hebrew for example. (1=on/0=off)
,					// Open the Menus OnClick - leave blank for OnMouseover (1=on/0=off)
,					// ID of the div you want to hide on MouseOver (useful for hiding form elements)
,					// Reserved for future use
,					// Reserved for future use
,					// Reserved for future use
,"¿Quiénes Somos?","../Cepade/Presentacion.asp",,"Cepade",0 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"Formación a Distancia","show-menu=Distancia",,"Formación a distancia",0 
,"Formación Presencial","javascript:AbreIEN()",,"Formación Presencial",0
,"Formación Semipresencial","../Ademas/semipresencial.asp",,"Formación Semipresencial",0
,"Servicios para  Empresas","show-menu=Empresa",,"Servicios para  Empresas",0
,"Accesos Externos","show-menu=Externos",,"Accesos Externos",0
,"Contacto","../contactos/ContactosSecretaria.asp",,"Contactos",0
,"Inicio",url_dominio,,"Inicio",0
])
	addmenu(menu=["Distancia",126,100,170,5,,style2,0,"left",,,,,,,,,,,,,
	,"Oferta Académica","../formacion/OfertaAcademica.asp",,"Oferta Académica",0
	,"Precios","../formacion/Costes.asp",,"Costes",0
	,"Proceso de Matriculación","../formacion/ProcesoMatricula.asp",,"Proceso de matriculación",0
	,"¿Cómo se estudia?","../formacion/ComoEstudia.asp",,"¿Cómo se estudia?",0
	,"Alumnos en el Extranjero","../Formacion/ExtranjerosAlumnos.asp",,"Alumnos en el extranjero",0
	,"Evaluaciones y Diplomas","../formacion/EvaluacionesContinuas.asp",,"Evaluaciones y diplomas",0
	,"Graduaciones","../formacion/Graduaciones.asp",,"Graduaciones",0
	,"Servicios a Alumnos","../formacion/ServiciosAlumnos.asp",,"Servicio a alumnos",0
	,"Asociación de Antiguos Alumnos Master","../formacion/AntiguosAlumnos.asp",,"Asociación de Antiguos Alumnos Master",0
	,"Solicitud de Información","javascript:AbreCatalogo()",,"Solicitud de Información",0	
])
	addmenu(menu=["Empresa",126,410,170,5,,style2,0,"left",,,,,,,,,,,,,
	,"Empresa","../Empresa/Empresa.asp",,"Empresa",0
	//,"Programas de Especialista","../Empresa/ProgramaEspecialista.asp",,"Programas Especialista",0
	//,"Programas Master","../Empresa/ProgramaMaster.asp",,"Programas Master",0
	//,"Formación Online","../Empresa/EmpresaOnline.asp",,"Formación Continua Online",0
	//,"Formación Continua Presencial","../Empresa/FormacionPresencial.asp",,"Formación Continua Presencial",0
	//,"Formación In-Company","../Empresa/FormacionIncompany.asp",,"Formación In Company",0
	//,"Bolsa de Trabajo","/ademas/BTBolsaTrabajo.asp",,"Bolsa de Trabajo",0
])

	addmenu(menu=["Externos",126,510,165,5,,style2,0,"left",,,,,,,,,,,,,
	,"Matrícula y pago Online","../../TiendaVirtual/TiendaVirtual/CursosIndice.aspx",,"CursosIndice",0
	,"Instituciones -->","show-menu=Instituciones",,"Instituciones-->",0
	,"Extranet (Alumnos) -->","show-menu=Alumnos",,"Extranet (Alumnos) -->",0
	,"Extranet (Profesores)","javascript:AbreExtranet()",,"Extranet (Profesores)",0
	

//	,"Extranet (Profesores)","Extranetcepade.asp",,"Extranet (Profesores)",0
//	,"Extranet (Alumnos)","Extranetcepade.asp",,"Extranet (Alumnos)",0
//	,"Matrícula y pago Online","javascript:AbreMatricula()",,"Matriculación y pago on-line",0
//	,"Preinscripción","/Formacion/ProcesoPreMatricula.asp",,"Preinscripción",0
])

	addmenu(menu=["Instituciones",152,669,100,5,,style3,0,"left",,,,,,,,,,,,,
	,"Matriculación","/TiendaVirtual/Institucion/Ayudainstitucion.aspx",,"Matriculación",0
	,"Listados","javascript:AbreExtranet2()",,"Listados",0
	//,"Investigaciones y proyectos","/ademas/investigaciones.asp",,"Investigaciones y proyectos",0
	//,"Cooperación con la FAO","javascript:AbreFAO()",,"Fodepal",0
	//,"FORCEM","javascript:AbreForcem()",,"Forcem",0
	
])
	addmenu(menu=["Alumnos",172,669,200,5,,style3,0,"left",,,,,,,,,,,,,
	,"Extranet","javascript:AbreExtranet3()",,"Extranet",0
	,"Bolsa de Trabajo","javascript:AbreExtranet4()",,"Bolsa de Trabajo",0
	//,"Investigaciones y proyectos","/ademas/investigaciones.asp",,"Investigaciones y proyectos",0
	//,"Cooperación con la FAO","javascript:AbreFAO()",,"Fodepal",0
	//,"FORCEM","javascript:AbreForcem()",,"Forcem",0
	
])
//addmenu(menu=["Ademas",126,480,170,5,,style2,0,"left",,,,,,,,,,,,,
	//,"Bolsa de Trabajo","/ademas/BTBolsaTrabajo.asp",,"Bolsa de Trabajo",0
	//,"Revista CEPADE","/ademas/revista.asp",,"Revista",0
	//,"Investigaciones y proyectos","/ademas/investigaciones.asp",,"Investigaciones y proyectos",0
	//,"Cooperación con la FAO","javascript:AbreFAO()",,"Fodepal",0
	//,"FORCEM","javascript:AbreForcem()",,"Forcem",0
	
//])

dumpmenus()