
//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)}
//Please leave the above line intact. The above also needs to be enabled if it not already enabled unless this file is part of a multi pack.


///////////////////////
//////PROPIEDADES//////
///////////////////////



if(navigator.appVersion.indexOf("MSIE 6.0")>0) {
	effect = "Fade(duration=0.1);Alpha(style=0,opacity=100);Shadow(color='#0080ff', Direction=135, Strength=0)"
}
else {
	effect = "Shadow(color='#0080ff', Direction=135, Strength=0)" 
}


timegap=200				// The time delay for menus to remain visible
followspeed=1				// Follow Scrolling speed
followrate=1				// Follow Scrolling Rate
suboffset_top=5;			// Sub menu offset Top position 
suboffset_left=-2;			// Sub menu offset Left position
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
"0080ff",				// Mouse Off Background Color
"000000",				// Mouse On Font Color
"9EC6EC",				// Mouse On Background Color
"0080ff",				// Menu Border Color 
10,					// Font Size in pixels
"normal",				// Font Style (italic or normal)
"bold",					// Font Weight (bold or normal)
"Verdana, Arial, Helvetica",			// Font Name
3,					// Menu Item Padding
"images/arrow.gif",			// Sub Menu Image (Leave this blank if not needed)
,					// 3D Border & Separator bar
"0080ff",				// 3D High Color
"0080ff",				// 3D Low Color
"",					// 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)
"",					// Top Bar image (leave this blank to disable)
"",					// Menu Header Font Color (Leave blank if headers are not needed)
"",					// Menu Header Background Color (Leave blank if headers are not needed)
]



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
2,					// Menu Top - The Top position of the menu in pixels (leave this blank to disable)
screen.width - 789 - ((screen.width - 779) / 2),					// Menu Left - The Left position of the menu in pixels (leave this blank to disable)
138,					// 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)
"center",				// Alignment - sets the menu elements text alignment, values valid here are: left, right or center
effect,					// Filter - Text variable for setting transitional effects on menu activation - see above for more info
0,					// 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)
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)
,					// Reserved for future use
,					// Reserved for future use
,					// Reserved for future use
,"La Empresa","laempresa.html","","La Empresa",1
,"Sistemas Fotovoltaicos","show-menu=Sistemas",,"Sistemas Fotovoltaicos",1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"Productos","show-menu=productos",,"Productos",1
,"Servicios","servicios.html","/","Servicios",1
])

	addmenu(menu=["Sistemas",
	,,125,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Descripcion","gesdesc.html",,"Descripcion",1
	,"Ventajas","gesvent.html",,"Principales Ventajas",1
	//,"Dimensionamiento","gesdime.html",,"Dimensionamiento",1//
	,"Aplicaciones","show-menu=aplic",,"Aplicaciones",1
	])
	
	addmenu(menu=["productos",
	,,125,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Modulos","show-menu=Modulos3",,"Modulos",1
	//,"Estructuras","prodestr.asp",,"Estructuras",1//
	,"Reguladores","show-menu=Regu1",,"Reguladores",1
	//,"Baterias","prodbate.asp",,"Baterias",1//
	//,"Inversores","prodinve.asp",,"Inversores",1//
	,"Generadores","show-menu=Genera",,"Generadores Para Viviendas",1
	])

		addmenu(menu=["Modulos3",
		,,125,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"3 a 25 Wp","prodmodu.asp",,"Modulos Fotovoltaicos de 3 a 20 Wp",1
		,"32 a 130 Wp","prodmodu.asp?P=2",,"Modulos Fotovoltaicos de 3 a 20 Wp",1
		])

		addmenu(menu=["Genera",
		,,145,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"Descripcion","prodgen.html",,"Generadores Standard - Descripcion",1
		,"Generadores Para Viviendas","prodgen.asp",,"Generadores Para Vivienda - Tabla de productos",1
		])

		addmenu(menu=["Regu1",
		,,145,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"SOLARTEC","prodregu.asp?Marca=SOLARTEC",,"Reguladores - SOLARTEC",1
		,"MORNINGSTAR","prodregu.asp?Marca=MORNINGSTAR&P=1",,"Reguladores - MORNINGSTAR",1
		])

	addmenu(menu=["aplic",
	,,135,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Telecomunicaciones","gestel.html",,"Aplicaciones - Telecomunicaciones",1
	,"Petroleo y Gas","gespet.html",,"Aplicaciones - Petroleo y Gas",1
	,"Electrificación Rural","gesele.html",,"Aplicaciones - Electrificación Rural",1
	,"Señalizacion","gessen.html",,"Señalizacion y balizamiento",1
	,"Otras Aplicaciones","gesotr.html",,"Otras Aplicaciones",1
	])

dumpmenus()
