//The following line is critical for menu operation, and MUST APPEAR ONLY ONCE.
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)}
//Please leave the above line intact. The above also needs to be enabled if it not already enabled unless you have more than one _array.js file

ns4=(_d.layers)?true:false
ns6=(navigator.userAgent.indexOf("Gecko")!=-1)?true:false
mac=(navigator.appVersion.indexOf("Mac")!=-1)?true:false
mac45=(navigator.appVersion.indexOf("MSIE 4.5")!=-1)?true:false
if(ns6||ns4)mac=false

pathimages="images/top"

////////////////////////////////////
// Editable properties START here //
////////////////////////////////////

timegap=500                   // 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
if (mac || mac45) suboffset_top=0;
suboffset_left=-7             // Sub menu offset Left position

PlainStyle=[                  // PlainStyle is an array of properties. You can have as many property arrays as you need
"ffffff",                     // Mouse Off Font Color
0,                     // Mouse Off Background Color (use zero for transparent in Netscape 6)
"ffffff",                     // Mouse On Font Color
0,                     // Mouse On Background Color
"ffffff",                     // Menu Border Color
"10",                         // Font Size (default is px but you can specify mm, pt or a percentage)
"normal",                     // Font Style (italic or normal)
"bold",                     // Font Weight (bold or normal)
"arial",			          // Font Name
0,                            // Menu Item Padding or spacing
"/s_menu/images/flecha_off.gif",      // Sub Menu Image (Leave this blank if not needed)
0,                            // 3D Border &amp; Separator bar
"ffff00",                     // 3D High Color
"ccffff",                     // 3D Low Color
"FF9900",					  // Current Page Item Font Color (leave this blank to disable)
,							  // 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)
"000099",                     // Menu Header Background Color (Leave blank if headers are not needed)
,                             // Menu Item Separator Color
]

var top=0;
var fondo="fondo3.gif";
if (ns4) fondo="fondo2.gif";

addmenu(menu=[
"Mainmenu",                   // Menu Name - This is needed in order for this menu to be called
102 + top,                          // Menu Top - The Top position of this menu in pixels
215,                          // Menu Left - The Left position of this menu in pixels
,                             // 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"
PlainStyle,                   // Properties Array - this array is declared higher up as you can see above
1,                            // Always Visible - allows this menu item to be visible at all time (1=on or 0=off)
,                             // Alignment - sets this 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
0,                            // Follow Scrolling Top Position - Tells this menu to follow the user down the screen on scroll placing the menu at the value specified.
1,                            // Horizontal Menu - Tells this menu to display horizontaly instead of top to bottom style (1=on or 0=off)
0,                            // Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page (1=on or 0=off)
,                             // Position of TOP sub image left:center:right
,                             // Set the Overall Width of Horizontal Menu to specified width or 100% and height to a specified amount
0,                            // Right To Left - Used in Hebrew for example. (1=on or 0=off)
0,                            // Open the Menus OnClick - leave blank for OnMouseover (1=on or 0=off)
,                             // ID of the div you want to hide on MouseOver (useful for hiding form elements)
,                             // Background image for menu Color must be set to transparent for this to work
0,                            // Scrollable Menu
,                             // Miscellaneous Menu Properties
,"<img src="+ pathimages +"/bot_ediciones.gif width=96 height=21 border=0>","show-menu=ediciones",,,1
,"<img src="+ pathimages +"/bot_comunidad.gif width=97 height=21 border=0>","show-menu=comunidad",,,1
,"<img src="+ pathimages +"/bot_buscador.gif width=96 height=21 border=0>","buscador.asp",,,1
,"<img src="+ pathimages +"/bot_registro.gif width=96 height=21 border=0>","registro.asp",,,1
,"<img src="+ pathimages +"/bot_contacto.gif width=96 height=21 border=0>","mailto:info@eltangauta.com",,,1
,"<img src="+ pathimages +"/bot_home.gif width=98 height=21 border=0>","inicio.asp",,,1
])

addmenu(menu=[
"ediciones",
123 + top,
218,
150,
0,
,
PlainStyle,
0,
,
"",	//"Fade(duration=0.5);Alpha(style=0,opacity=88);Shadow(color=777777, Direction=135, Strength=5)"
0,
0,
0,
,
,
0,
0,
,
"/s_menu/images/fondo.gif",
0,
,
,"<img src="+ pathimages +"/bot_edi1.gif width=96 height=19 border=0>","ediciones.asp",,,0
,"<img src="+ pathimages +"/bot_ed_digital.gif width=96 height=19 border=0>","ed_digital",,,0
,"<img src="+ pathimages +"/bot_edi2.gif width=96 height=18 border=0>","edicionesold.asp",,,0
,"<img src="+ pathimages +"/bot_edi3.gif width=96 height=17 border=0>","lqv.asp",,,0
])

addmenu(menu=[
"productos",
90 + top + 13,
360,
68,
0,
,
PlainStyle,
0,
,
"",
0,
0,
0,
,
,
0,
0,
,
"/s_menu/images/" + fondo,
0,
,
,"Estudiante","/s_personal/tarjeta_estudiante.jsp",,,0
,"Profesional","/s_personal/tarjeta_profesional.jsp",,,0
,"Entrepreneur","/s_personal/tarjeta_entrepreneur.jsp",,,0
,"Viajero","/s_personal/tarjeta_viajero.jsp",,,0
])

addmenu(menu=[
"seguridad",
129 + top,
356,
148,
0,
,
PlainStyle,
0,
,
"",
0,
0,
0,
,
,
0,
0,
,
"/s_menu/images/" + fondo,
0,
,
,"Seguridad en el Mundo Físico","/s_personal/mundofisico_seguridad.jsp",,,0
,"Seguridad en el Mundo Virtual","/s_personal/mundovirtual.jsp",,,0
])

addmenu(menu=[
"comunidad",
123 + top,
313,
135,
0,
,
PlainStyle,
0,
,
"",
0,
0,
0,
,
,
0,
0,
,
"/s_menu/images/" + fondo,
0,
,
,"<img src="+ pathimages +"/bot_com1.gif width=97 height=19 border=0>","trasnochando.asp",,,0
,"<img src="+ pathimages +"/bot_com2.gif width=97 height=18 border=0>","tomoyobligo.asp",,,0
,"<img src="+ pathimages +"/bot_com3.gif width=97 height=17 border=0>","foro.asp",,,0
])

//addmenu(menu=[
//"sector",
//90 + top,
//471,
//122,
//0,
//,
//PlainStyle,
//0,
//,
//"",
//0,
//0,
//0,
//,
//,
//0,
//0,
//,
//"/s_menu/images/"+ fondo,
//0,
//,
//,"Soluciones de pago","show-menu=soluciones",,,0
//,"Casos desarrollados","/s_publicsector/caso_internacional.jsp",,,0
//])


//addmenu(menu=[
//"registro",
//123 + top,
//506,
//135,
//0,
//,
//PlainStyle,
//0,
//,
//"",
//0,
//0,
//0,
//,
//,
//0,
//0,
//,
//"/s_menu/images/"+ fondo,
//0,
//,
//,"<img src="+ pathimages +"/bot_reg1.gif width=98 height=19 border=0>","registro.asp",,,0
// ,"<img src="+ pathimages +"/bot_edic_digital.gif width=98 height=19 border=0>","suscripcion_digital.asp",,,0
// ,"<img src="+ pathimages +"/bot_edic_impresa.gif width=98 height=19 border=0>","suscripcion_impresa.asp",,,0
// ,"<img src="+ pathimages +"/bot_edic_online.gif width=98 height=19 border=0>","suscripcion_online.asp",,,0

//])

/*------MENU DE ABAJO---------*/

var top2=10;
if (mac || mac45) top2=10;

function kc_showMenu(menuName, alwaysVis){
  var menuNum = getMenuByName(menuName);
  var menuArr = eval("menu" + menuNum);
  menuArr[7] = alwaysVis;
  SDiv("menu" + menuNum, 1);
}
function kc_hideMenu(menuName){
  SDiv("menu" + getMenuByName(menuName), 0);
}

window.onload = function(){
	on_load();
}
function on_load(){
	kc_showMenu('Mainmenu', 1);
//	kc_showMenu(menu_abierto, 0);
}
dumpmenus();
