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)}

effect = "Fade(duration=0.2);Alpha(style=0,opacity=88);Shadow(color='#777777', Direction=135, Strength=5)"


timegap=500			// The time delay for menus to remain visible
followspeed=0		// Follow Scrolling speed
followrate=40		// Follow Scrolling Rate
suboffset_top=0;	// Sub menu offset Top position 
suboffset_left=0;	// Sub menu offset Left position
closeOnClick = true

style1=[			// style1 is an array of properties. You can have as many property arrays as you need. This means that menus can have their own style.
"navy",				// Mouse Off Font Color
"003063",			// Mouse Off Background Color
"003063",			// Mouse On Font Color
"003063",			// Mouse On Background Color
"000000",			// Menu Border Color 
10,					// Font Size in pixels
"normal",			// Font Style (italic or normal)
"bold",				// Font Weight (bold or normal)
"Verdana, Arial",	// Font Name
0,					// Menu Item Padding
"/Images/menu/arrow.gif",		// Sub Menu Image (Leave this blank if not needed)
,					// 3D Border & Separator bar
"003063",			// 3D High Color
"003063",			// 3D Low Color
"003063",			// Current Page Item Font Color (leave this blank to disable)
"003063",				// Current Page Item Background Color (leave this blank to disable)
"/Images/menu/arrowdn.gif",		// Top Bar image (Leave this blank to disable)
"ffffff",			// Menu Header Font Color (Leave blank if headers are not needed)
"003063",			// 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
ubicacion_top,					// Menu Top - The Top position of the menu in pixels
ubicacion_left,				// Menu Left - The Left position of the menu in pixels
,					// Menu Width - Menus width in pixels
1,					// 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
,					// 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)
,					// Background image for menu when BGColor set to transparent.
,					// Scrollable Menu
,					// Reserved for future use
,"<img src=/Images/menu/titulosecciones.gif border=0>","/_portada/index.htm",,"Back to the home page",1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"<img src=/Images/menu/inicio.gif border=0>","/",,"Back to the home page",1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"<img src=/Images/menu/revistas.gif border=0>","show-menu=downloads",,"",1
,"<img src=/Images/menu/ed.gif border=0>","/_portada/Ediciones_Anteriores/index.asp?id=1&rep=316",,"Back to the home page",1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"<img src=/Images/menu/clasificados.gif border=0>","show-menu=clasificados",,"",1
,"<img src=/Images/menu/herramientas_n.gif border=0>","show-menu=herramientas",,"",1
,"<img src=/Images/menu/ayuda.gif border=0>","show-menu=ayuda",,"",1

])
	
	addmenu(menu=["downloads",,,120,1,,style1,0,"left",effect,0,,,,,,,,,,,
	,"<img src=/Images/menu/b1.gif border=0>","/El_Sabado/_portada/index.htm",,,1
	,"<img src=/Images/menu/b2.gif border=0>","http://www.timon.cl/",,,1
	,"<img src=/Images/menu/b3.gif border=0>","/Wiken/_portada/index.htm",,,1
	,"<img src=/Images/menu/b4.gif border=0>","/Ya/_portada/index.htm",,,1
	,"<img src=/Images/menu/b6.gif border=0>","/Vivienda_y_Decoracion/_portada/index.htm",,,1
	,"<img src=/Images/menu/b7.gif border=0>","/Revista_del_Campo/_portada/index.htm",,,1
	,"<img src=/Images/menu/b8.gif border=0>","/Revista_del_Domingo/_portada/index.htm",,,1
	,"<img src=/Images/menu/b9.gif border=0>","/Revista_de_Libros/_portada/index.htm",,,1
	,"<img src=/Images/menu/b11.gif border=0>","/deportesescolares/_portada/index.htm",,,1
	])
//	,"<img src=/Images/menu/b5.gif border=0>","/Zona_de_contacto/_portada/index.htm",,,1
	
	addmenu(menu=["clasificados",,,120,1,,style1,0,"left",effect,0,,,,,,,,,,,
	,"<img src=/Images/menu/portada.gif border=0>","http://economicos.mercurio.cl/",,,1
	,"<img src=/Images/menu/propiedades.gif border=0>","http://propiedades.elmercurio.com/",,,1
	,"<img src=/Images/menu/automoviles.gif border=0>","http://automoviles.elmercurio.com/Clasificados/_portada/index.asp",,,1
	])
	
	addmenu(menu=["herramientas",,,120,1,,style1,0,"left",effect,0,,,,,,,,,,,
	,"<img src=/Images/menu/pagina_inicio.gif border=0>","javascript:add_homepage();",,,1
	,"<img src=/Images/menu/mail.gif border=0>","",,,1
	])
	
	addmenu(menu=["ayuda",,,120,1,,style1,0,"left",effect,0,,,,,,,,,,,
	,"<img src=/Images/menu/ayuda1.gif border=0>","/Modulos/ayuda/index.asp",,,1
	,"<img src=/Images/menu/mapa.gif border=0>","/Modulos/ayuda/mapa.asp",,,1
	,"<img src=/Images/menu/contactenos.gif border=0>","/Modulos/ayuda/contactenos.asp",,,1
	])
	
dumpmenus()
