//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)}

// Special effect string for IE5.5 or above please visit http://www.milonic.com/filters_sample.php for more filters
if(navigator.appVersion.indexOf("MSIE 6.0")>0){
	effect = "Fade(duration=0.2);Alpha(style=0,opacity=100);Shadow(color='#372416', Direction=90, Strength=5)"
}
else{
	effect = "Shadow(color='#372416', Direction=90, Strength=5)"
}

timegap=50					// 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 
suboffset_left=0;			// Sub menu offset Left position
Frames_Top_Offset=0 		// Frames Page Adjustment for Top Offset
Frames_Left_Offset=0		// Frames Page Adjustment for Left Offset

plain_style=[				// Menu Properties Array
"#9C946B",					// Off Font Color
"#463420",					// Off Back Color

"#372416",					// On Font Color
"#9C946B",					// On Back Color

"#463420",					// Border Color
14,							// Font Size
"normal",					// Font Style
"bold",						// Font Weight
"Century Gothic",					// Font
10,							// Padding
"../Accesorios/Menu/arrow.gif",			// Sub Menu Image (Leave this blank if not needed)
,							// 3D Border & Separator bar
,							// 3D High Color
,							// 3D Low Color
,							// Current Page Item Font Color (leave this blank to disable)
,							// Current Pge Item Background Color (leave this blank to disable)
"",							// Top Bar image (Leave this blank to disable)
]


addmenu(menu=[		// This is the array that contains your menu properties and details
"simplemenu1",		// Menu items Name
0,					// Top
0,					// left
190,				// Width
0,					// Border Width
,					// Screen Position - here you can use "center;left;right;middle;top;bottom"
plain_style,		// Properties Array - this is set higher up, as above
1,					// Always Visible - allows the menu item to be visible at all time
"center",			// Alignment - sets the menu elements alignment, HTML values are valid here for example: left, right or center
effect,				// Filter - Text variable for setting transitional effects on menu activation
,					// Follow Scrolling - Tells the menu item to follow the user down the screen
0, 					// Horizontal Menu - Tells the menu to be horizontal instead of top to bottom style
0,					// 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
,"REDADAS Y DETENCIONES","show-menu=Detenciones target=main;sourceframe=main;",,"#",1
,"CENTROS DE INTERNAMIENTO","show-menu=Cies target=main;sourceframe=main;",,"#",1
,"MANTEROS","show-menu=Manteros target=main;sourceframe=main;",,"#",1
//"Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
])
dumpmenus()

// Aqui se puede cambiar el valor del alto que le adignamos al Menu, en caso de necesitar esta variable
// en nuestro código.  La varible es Menu.Altura

var Menu = { init: function () 
    //Menu de 1 linea, sumar 40.  De Dos lineas, sumar 55.  De Tres lineas, sumar 70
	{this.Altura = 130;}
};
Menu.init();

