/*
 Menu de la página www.hogarescrea.org - Hogares Crea de Venezuela
 Customizado por Carlos Eduardo Herrera Romero - Octubre 2002.  
*/


menunum=0;menus=new Array();_d=document;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)}


////////////////////////////////////
// Propiedades Editables         //
////////////////////////////////////

effect = "Fade(duration=0.2);Alpha(style=0,opacity=88);Shadow(color='#777777', Direction=135, Strength=5)"

timegap=500		// Tiempo que tarda el menu en permanecer visible
followspeed=1		// Velocidad de Scroll 
followrate=40		// Tasa de Scroll 
suboffset_top=10;		// Posición superior del sub menu
suboffset_left=10;		// Posición izquierda del sub menu
closeOnClick = false

style1=[			// Arreglo de propiedades.
"navy",				// Color de la letra cuando el mouse se aleja
"ccccff",			// Color de fondo cuando el mouse se aleja
"ffebdc",			// Color de la letra cuando el mouse esta encima
"4b0082",			// Color de fondo cuando el mouse esta encima
"000000",			// Color de Bordes del menu 
11,				// Tamaño de la letra en pixeles
"normal",			// Estilo de la Letra (italic o normal)
"bold",				// Ancho de la letra (bold or normal)
"Tahoma, Tahoma",		// Nombre de la Fuente de Letra
4,				// Menu Item Padding
"images/permanentes/arrow.gif",			// Sub Menu Image (Leave this blank if not needed)
,				// 3D Border & Separator bar
"66ffff",			// 3D High Color
"000099",			// 3D Low Color
"Purple",			// Current Page Item Font Color (leave this blank to disable)
"pink",				// Current Page Item Background Color (leave this blank to disable)
"images/permanentes/arrowdn.gif",			// Top Bar image (Leave this blank to disable)
"ffffff",			// Menu Header Font Color (Leave blank if headers are not needed)
"000099",			// Menu Header Background Color (Leave blank if headers are not needed)
"navy",				// Menu Item Separator Color
]


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
1,				// Menu Top - The Top position of the menu in pixels
12,				// Menu Left - The Left position of the menu in pixels
,				// Menu Width - Menus width in pixels
,				// Menu Border Width 
,				// Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
style1,				// 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
1,					// 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)
1,					// 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
1,					// Set the Overall Width of Horizontal Menu to 100% and height to the specified amount (Leave blank to disable)
0,					// Right To Left - Used in Hebrew for example. (1=on/0=off)
1,					// 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)
,					// Background image for menu when BGColor set to transparent.
,					// Scrollable Menu
,					// Reserved for future use
,"&nbsp&nbspHogares CREA&nbsp","show-menu=crea",,"",1
,"&nbsp&nbspServicios a la Comunidad&nbsp","show-menu=servicios",,"",1
,"&nbsp&nbspEducación&nbsp","show-menu=educacion",,"",1
,"&nbsp&nbspInvestigación&nbsp;","show-menu=investigacion",,"",1
,"&nbsp&nbspPublicaciones&nbsp;","show-menu=publicaciones",,"",1
,"&nbsp&nbspContactos&nbsp&nbsp","show-menu=contacto",,"",1
])

	addmenu(menu=["crea",
	,,180,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Información General","hogarescrea.htm",,,1
	,"Historia","historia.htm",,,1
	,"Nuestras Sedes","sedes.htm",,,1	
	,"Oratorio de CREA","oratorio.htm",,,1
	])			


	addmenu(menu=["servicios",
	,,180,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Prevención","show-menu=prevencion",,,1
	,"Tratamiento","show-menu=tratamiento",,,1
	,"Otros Servicios","otrosservicios.htm",,,1
	])


		addmenu(menu=["prevencion",
		,,180,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"Prevención Integral","prevencion.htm",,,1
		,"Prevención Educativa","educativa.htm",,,1
		,"Prevención Comunitaria","comunitaria.htm",,,1
		,"Prevención Laboral","laboral.htm",,,1
		,"FutCREA","futcrea.htm",,,1		
		,"Orientación a los Padres","padres.htm",,,1
		,"Consejos para los Niños","ninos.htm",,,1
		,"Respuestas a las preguntas más frecuentes","pregprev.htm",,,1
		])
					

		addmenu(menu=["tratamiento",
		,,180,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"Modelo, Fases, Tipos...","tratamiento.htm",,,1
		,"Centros de Inducción","induccion.htm",,,1
		,"Casas Intermedias","intermedias.htm",,,1
		,"Comunidades Terapéuticas","terapeuticas.htm",,,1	
		])


	addmenu(menu=["investigacion",
	,,180,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Estadísticas","estadisticas.htm",,,1	
	,"Enlaces de Interés","links.htm",,,1
	])
	
	
	addmenu(menu=["publicaciones",
	,,180,1,"",style1,,"left",effect,,,,,,,,,,,,	
	,"Revista CREA","revista.htm",,,1
	,"Artículos de Interés","articulos.htm",,,1
	])

	addmenu(menu=["educacion",
	,,250,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Colegio Universitario Padre Isaías Ojeda","cupio.htm",,,1
	,"Programa de Prevención ALCREA","alcrea.htm",,,1
	])


	addmenu(menu=["contacto",
	,,180,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Voluntariado","voluntariado.htm",,,1
	,"Solicitud de Ayuda","solicitud.htm",,,1
	,"Contactenos","contactos.htm",,,1
	])

dumpmenus()
