//The following line is critical for menu operation, and MUST APPEAR ONLY ONCE. If you have more than one menu_array.js file rem out this line in subsequent files
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)}

if(navigator.appVersion.indexOf("MSIE 6.0")>0)
{
	effect = "GradientWipe(duration=0.4);Alpha(style=0,opacity=75);Shadow(color='#777777', Direction=150, Strength=5)"
}
else
{
	effect = "Shadow(color='#777777', Direction=150, Strength=5)" // Stop IE5.5 bug when using more than one filter
}

timegap=700			// The time delay for menus to remain visible
followspeed=7		// Follow Scrolling speed
followrate=40		// Follow Scrolling Rate
suboffset_top=10;	// Sub menu offset Top position 
suboffset_left=10;	// Sub menu offset Left position

//FONDOS Y COLORES MENU PRINCIPAL
style0=[			// style0 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
"952F56",			// Mouse Off Background Color //fondo del menu principal en estado normal
"ffffff",			// Mouse On Font Color // Color de las letras cuando pasas por encima
"69213D",			// Mouse On Background Color //Fondo Raton Encima
"952F56",			// Menu Border Color // borde de menu
11,					// Font Size in pixels
"normal",			// Font Style (italic or normal)
"normal",			// Font Weight (bold or normal)
"Arial",        	// Font Name
1,					// Menu Item Padding
"menu/arrow.gif",		// Sub Menu Image (Leave this blank if not needed)
,					// 3D Border & Separator bar
"ff9900",			// 3D High Color
"ff9900",			// 3D Low Color
,       			// Current Page Item Font Color (leave this blank to disable)
,				    // Current Page Item Background Color (leave this blank to disable)
"menu/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)
"FFFFFF",			// Menu Item Separator Color
]

//FONDOS Y COLORES SUBMENUS
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.
"ffffff",			// Mouse Off Font Color
"952F56",			// Mouse Off Background Color
"ffffff",			// Mouse On Font Color
"000000",			// Mouse On Background Color
"ffffff",			// Menu Border Color 
10,					// Font Size in pixels
"normal",			// Font Style (italic or normal)
"normal",			// Font Weight (bold or normal)
"Arial",	        // Font Name
4,					// Menu Item Padding
"menu/arrow.gif",		// Sub Menu Image (Leave this blank if not needed)
,					// 3D Border & Separator bar
"66ffff",			// 3D High Color
"000099",			// 3D Low Color
,       			// Current Page Item Font Color (leave this blank to disable)
,   				// Current Page Item Background Color (leave this blank to disable)
"menu/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)
"FF9933",			// 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
174,				// Menu Top - The Top position of the menu in pixels
210,  				// Menu Left - The Left position of the menu in pixels
127,			    // 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"
style0,				// 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
      ,"&nbsp;&nbsp;&nbsp;EMPRESA&nbsp;&nbsp;&nbsp;&nbsp;","show-menu=empresa","#","Invest Detectives",1
      ,"&nbsp;&nbsp;&nbsp;INVESTIGACIÓN&nbsp;&nbsp;&nbsp;&nbsp;","show-menu=servicios","#","Invest Detectives",1
      ,"&nbsp;&nbsp;&nbsp;LEGAL&nbsp;&nbsp;&nbsp;&nbsp;","show-menu=legal","#","Invest Detectives",1
	  ,"&nbsp;&nbsp;&nbsp;PUBLICACIONES&nbsp;&nbsp;&nbsp;&nbsp;","show-menu=publicaciones","#","Publicaciones - Invest Detectives",1

   ])

//*******************************************************************
//EMPRESA menu  ****************************************************
//*******************************************************************

	addmenu(menu=["empresa",
	,,115,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Historia/Evolución","historia.php",,"Historia y Evolución - Invest Detectives",0
	,"Nuestra Garantía","garantia.php",,"Nuestra Garantía - Invest Detectives",0
	])

//*******************************************************************
//SERVICIOS menu  ****************************************************
//*******************************************************************

	addmenu(menu=["servicios",
	,,255,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Recursos Humanos","investigacion-rrhh.php","","Area de Recursos Humanos - Invest Detectives",0
	,"Compañías Aseguradoras y Mutuas Patronales","investigacion-asegura.php","","Area de Compañías Aseguradoras y Mutuas Patronales - Invest Detectives",0
	,"Profesionales del derecho","investigacion-derecho.php","","Area de Profesionales del derecho - Invest Detectives",0
	,"Búsqueda y localización de todo tipo de personas","investigacion-personas.php","","Area de Búsqueda y localización de todo tipo de personas - Invest Detectives",0
	,"Seguridad y Seguridad Electrónica","investigacion-seguridad.php","","Area de Seguridad y Seguridad Electrónica-Invest Detectives",0
	,"Investigación Mercantil y Financiera","investigacion-financiera.php","","Area de Investigación Mercantil y Financiera - Invest Detectives",0
	,"Patentes y Marcas","investigacion-marcas.php","","Area de Patentes y Marcas - Invest Detectives",0
	,"Franquicias","investigacion-franquicias.php","","Area de Franquicias - Invest Detectives",0
	,"Arrendamientos","investigacion-arrenda.php","","Area de Arrendamientos - Invest Detectives",0
	,"Derecho de la Familia","investigacion-familia.php","","Area de Derecho de la Familia - Invest Detectives",0
	])
			
//*******************************************************************
// LEGAL menu  ****************************************************
//*******************************************************************

	addmenu(menu=["legal",
	,,140,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Regulación General","legal-regulacion.php","","Regugalción General de actividad - Invest Detectives",0
   	,"Requisitos Legales","legal-requisitos.php","","Requisitos Legales para el Ejercicio de la Actividad - Invest Detectives",0
 	,"Legislación Relacionada","show-menu=legislacion", "#","Invest Detectives",0
	])
		addmenu(menu=["legislacion",
				,,180,1,"",style1,,"left",effect,,,,,,,,,,,,
			  	,"Ley de Seguridad Privada - Ley 23/1992","legal-ley23-1992.php","","Ley 23/1992 de 30 de Julio, de Seguridad Privada - Invest Detectives",0
				,"Real Decreto 2364/1994 - Aprobación Reglamento Seguridad Privada","legal-decreto-2364-1994.php","","Invest Detectives",0
				,"Reglamento Seguridad Privada","legal-reglamento-seg.php","","Invest Detectives",0
				,"Modificación Reglamento Seguridad Privada","legal-mod-reglamento.php","","Modificación Reglamento Seguridad Privada - Invest Detectives",0
				])
//*******************************************************************
//PUBLICACIONES / OTROS menu  ***************************************
//*******************************************************************

	addmenu(menu=["publicaciones",
	,,180,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Boletin 1774 Ministerio de Justicia","otros-boletin1774.php",,"Boletin 1774 Ministerio de Justicia - Invest Detectives",0
	,"El fenómeno del intrusismo: Un enemigo para todos","otros-intrusismo.php","","El fenómeno del intrusismo: Un enemigo para todos - Invest Detectives",0
	])
dumpmenus()
