// JavaScript Document

//Variables to set
between=28 //The pixel between the menus and the submenus
mainheight=25 //The height of the mainmenus
subheight=22 //The height of the submenus
pxspeed=13 //The pixel speed of the animation
timspeed=15 //The timer speed of the animation
menuy=185 //The top placement of the menu.
menux=0 //The left placement of the menu
//Images - Play with these
level0_regular="images/menu/level0_regular.gif"
level0_round="images/menu/level0_round.gif"
level1_regular="images/menu/level1_regular.gif"
level1_round="images/menu/level1_round.gif"
level1_sub="images/menu/level1_sub.gif"
level1_sub_round="images/menu/level1_sub_round.gif"
level1_round2="images/menu/level1_round2.gif"
level2_regular="images/menu/level2_regular.gif"
level2_round="images/menu/level2_round.gif"

//Leave this line
preLoadBackgrounds(level0_regular,level0_round,level1_regular,level1_round,level1_sub,level1_sub_round,level1_round2,level2_regular,level2_round)


//There are 3 different types of menus you can make
//top = Main menus
//sub = Sub menus
//sub2 = SubSub menus

//You control the look of the menus in the stylesheet

//makeMenu('TYPE','TEXT','LINK','TARGET', 'END (THE LAST MENU)')

//Menu 0 
makeMenu('top','Cursos de Formación')
	makeMenu('sub','Petición de Acceso','RegistroUsuario2.asp')
	makeMenu('sub','Acceso a Cursos','LoginUsuario2.asp')

//Menu 1
makeMenu('top','¿Qué es AFA Parla?')
	makeMenu('sub','Conoce la Asociación','infoafa.asp')
	/*makeMenu('sub','All scripts')
	makeMenu('sub','Categories')
	  makeMenu('sub2','Menu scripts','/script/search.asp?category=menu')
	  makeMenu('sub2','Text scripts','/script/search.asp?category=text')
	  makeMenu('sub2','Animation scripts','/script/search.asp?category=animation')
	  makeMenu('sub2','Other scripts','/script/search.asp?category=other')*/

//Menu 2    
makeMenu('top','La enfermedad [EA]')
  makeMenu('sub','Definición','EAdefinicion.asp')
  makeMenu('sub','Signos de alarma','EAsignos.asp')
  makeMenu('sub','Fases y Síntomas','EAfasesysintomas.asp')
  makeMenu('sub','Tratamiento','EAtratamiento.asp')

//Menu 3
makeMenu('top','Áreas')
  makeMenu('sub','Social','areaSocial.asp')
  makeMenu('sub','Psicológica','areaPsicologica.asp')
  makeMenu('sub','Terapéutica','areaTerapeutica.asp')
  makeMenu('sub','Formación','areaFormacion.asp')
  makeMenu('sub','Sensibilización','areaSensibilizacion.asp')

//Menu 4
makeMenu('top','Proyectos')
  makeMenu('sub','Taller NOA','ProyTaller-NOA.asp')
  makeMenu('sub','Taller ALI','ProyTaller-ALI.asp')
  makeMenu('sub','Fisioterapia fase grave','ProyFisioGrave.asp')
  makeMenu('sub','Arteterapia','ProyArteterapia.asp')
  makeMenu('sub','+ autónomo + activo','ProyMasAutonomo.asp')  
  makeMenu('sub','Cursos On Line','ProyCursosOnLine.asp')
  makeMenu('sub','Podólogo','ProyBienCabezaPies.asp')  
  makeMenu('sub','Estimulación sensorial','ProyEstimulacion.asp')    
  makeMenu('sub','Espacios de encuentro','ProyEspaciosEncuentro.asp')    
  makeMenu('sub','Voluntariado','ProyVoluntariado.asp')
  makeMenu('sub','Programa de formación','ProyFormacion.asp')
  makeMenu('sub','Atención logopédica','ProyLogopeda.asp')
  makeMenu('sub','Atención psicológica','ProyAtencionPsicologica.asp')  
  /*makeMenu('sub','CoolMenus','forums/forum.asp?FORUM_ID=2&CAT_ID=1&Forum_Title=CoolMenus')
  makeMenu('sub','Crossbrowser','forums/forum.asp?FORUM_ID=3&CAT_ID=1&Forum_Title=Crossbrowser+DHTML')
  makeMenu('sub','Scripts','forums/forum.asp?FORUM_ID=4&CAT_ID=1&Forum_Title=DHTML+Scripts')
  makeMenu('sub','dhtmlcentral.com','forums/forum.asp?FORUM_ID=5&CAT_ID=1&Forum_Title=dhtmlcentral%2Ecom')
  makeMenu('sub','General','forums/forum.asp?FORUM_ID=6&CAT_ID=1&Forum_Title=General+DHTML+issues')
  makeMenu('sub','Off-topic','forums/forum.asp?FORUM_ID=9&CAT_ID=1&Forum_Title=Off%2Dtopic')
  makeMenu('sub','Active topics','forums/active.asp')
  */

//Menu 5  
makeMenu('top','Colaboradores')
  makeMenu('sub','Nuestros colaboradores','colaboradores.asp')
  /*makeMenu('sub','Download','coolmenus/download.asp')
  makeMenu('sub','Tutorial','coolmenus/enConstruccion.htmtutorial.asp')
  makeMenu('sub','FAQ','faq/index.asp')
  */

//Menu 6
makeMenu('top','Nuestros servicios')
  makeMenu('sub','Taller Psicoestimulación','servEstimulacion.asp')
  makeMenu('sub','Fisioterapia','servFisio.asp')
  makeMenu('sub','Grupo de autoayuda','servGrupo.asp')
  makeMenu('sub','Abueloteca','servAbueloteca.asp')
	  
//Menu 7  
makeMenu('top','Contacta con nosotros')
  makeMenu('sub','La asociación')
	  makeMenu('sub2','Dirección de contacto','asociacionContacto.asp')
	  makeMenu('sub2','Plano de situación','asociacionMapa.asp')

  makeMenu('sub','La junta directiva')
	  makeMenu('sub2','Presidenta','enConstruccion.htm')
	  makeMenu('sub2','Vocales','enConstruccion.htm')

  makeMenu('sub','Los profesionales')
	  makeMenu('sub2','Directora','profDirectora.asp')
	  makeMenu('sub2','Auxiliar de enfermeria','profAEnfermeria.asp')
	  makeMenu('sub2','Fisioterapeuta','profFisioterapeuta.asp')
	  makeMenu('sub2','Integradora Social','profISocial.asp')
	  makeMenu('sub2','Psicologa','profPsicologa.asp')
	  makeMenu('sub2','Terapeuta Ocupacional','profTOcupacional.asp')
	  makeMenu('sub2','Trabajadora Social','profTSocial.asp',"",1)

//Starting the menu
onload=SlideMenuInit;
