
	var NoOffFirstLineMenus=4;			// Number of main menu  items
						// Colorvariables:
						// Color variables take HTML predefined color names or "#rrggbb" strings
						//For transparency make colors and border color ""
	var LowBgColor="white";			// Background color when mouse is not over
	var HighBgColor="#f0f0f0";			// Background color when mouse is over
	var FontLowColor="black";			// Font color when mouse is not over
	var FontHighColor="black";			// Font color when mouse is over
	var BorderColor="silver";			// Border color
	var BorderWidth=1;				// Border width
	var BorderBtwnElmnts=1;			// Border between elements 1 or 0
	var FontFamily="arial"			// Font family menu items
	var FontSize=9;				// Font size menu items
	var FontBold=1;				// Bold menu items 1 or 0
	var FontItalic=0;				// Italic menu items 1 or 0
	var MenuTextCentered="left";			// Item text position left, center or right
	var MenuCentered="left";			// Menu horizontal position can be: left, center, right, justify,
						//  leftjustify, centerjustify or rightjustify. PartOfWindow determines part of window to use
	var MenuVerticalCentered="top";		// Menu vertical position top, middle,bottom or static
	var ChildOverlap=0;				// horizontal overlap child/ parent
	var ChildVerticalOverlap=0;			// vertical overlap child/ parent
	var StartTop=28;				// Menu offset x coordinate
	var StartLeft=125;				// Menu offset y coordinate
	var VerCorrect=0;				// Multiple frames y correction
	var HorCorrect=0;				// Multiple frames x correction
	var LeftPaddng=5;				// Left padding
	var TopPaddng=2;				// Top padding
	var FirstLineHorizontal=1;			// First level items layout horizontal 1 or 0
	var MenuFramesVertical=1;			// Frames in cols or rows 1 or 0
	var DissapearDelay=1000;			// delay before menu folds in
	var UnfoldDelay=100;			// delay before sub unfolds	
	var TakeOverBgColor=1;			// Menu frame takes over background color subitem frame
	var FirstLineFrame="navig";			// Frame where first level appears
	var SecLineFrame="space";			// Frame where sub levels appear
	var DocTargetFrame="space";			// Frame where target documents appear
	var TargetLoc="";				// span id for relative positioning
	var MenuWrap=1;				// enables/ disables menu wrap 1 or 0
	var RightToLeft=0;				// enables/ disables right to left unfold 1 or 0
	var BottomUp=0;				// enables/ disables Bottom up unfold 1 or 0
	var UnfoldsOnClick=0;			// Level 1 unfolds onclick/ onmouseover
	var BaseHref="";				// BaseHref lets you specify the root directory for relative links. 
						// The script precedes your relative links with BaseHref
						// For instance: 
						// when your BaseHref= "http://www.MyDomain/" and a link in the menu is "subdir/MyFile.htm",
						// the script renders to: "http://www.MyDomain/subdir/MyFile.htm"
						// Can also be used when you use images in the textfields of the menu
						// "MenuX=new Array("<img src=\""+BaseHref+"MyImage\">"
						// For testing on your harddisk use syntax like: BaseHref="file:///C|/MyFiles/Homepage/"

	var Arrws=[BaseHref+"img/tri.gif",3,6,BaseHref+"img/tridown.gif",6,3,BaseHref+"img/trileft.gif",3,6,BaseHref+"img/triup.gif",6,3];

						// Arrow source, width and height.
						// If arrow images are not needed keep source ""

	var MenuUsesFrames=0;			// MenuUsesFrames is only 0 when Main menu, submenus,
						// document targets and script are in the same frame.
						// In all other cases it must be 1

	var RememberStatus=0;			// RememberStatus: When set to 1, menu unfolds to the presetted menu item. 
						// The preset is done by the body onload of target document.
						// In frame setup the body onload is:
						// onload="if(parent.frames[0]&&parent.frames[\"navig\"].SetMenu)parent.frames[\"navig\"].SetMenu=\"x_x\";"
						// In a single page the body onload is:
						// onload="if(window.SetMenu)window.SetMenu=\"x_x\""
						// x_x represents the menu item MenuX_X=new Array(.......
						// To preset the menu to no item use \"0\" for \"x_x\" 

	var PartOfWindow=.8;			// PartOfWindow: When MenuCentered is justify, sets part of window width to stretch to

						// Below some pretty useless effects, since only IE6+ supports them
						// I provided 3 effects: MenuSlide, MenuShadow and MenuOpacity
						// If you don't need MenuSlide just leave in the line var MenuSlide="";
						// delete the other MenuSlide statements
						// In general leave the MenuSlide you need in and delete the others.
						// Above is also valid for MenuShadow and MenuOpacity
						// You can also use other effects by specifying another filter for MenuShadow and MenuOpacity.
						// You can add more filters by concanating the strings
	var MenuSlide="";
	var MenuSlide="progid:DXImageTransform.Microsoft.RevealTrans(duration=0, transition=0)";
	var MenuSlide="progid:DXImageTransform.Microsoft.GradientWipe(duration=0, wipeStyle=0)";

	var MenuShadow="";
	var MenuShadow="progid:DXImageTransform.Microsoft.DropShadow(color=#888888, offX=2, offY=2, positive=1)";
	var MenuShadow="progid:DXImageTransform.Microsoft.Shadow(color=#888888, direction=135, strength=3)";

	var MenuOpacity="";
	var MenuOpacity="progid:DXImageTransform.Microsoft.Alpha(opacity=100)";

	function BeforeStart(){return}
	function AfterBuild(){return}
	function BeforeFirstOpen(){return}
	function AfterCloseAll(){return}

// Menu tree:
// MenuX=new Array("ItemText","Link","background image",number of sub elements,height,width,"bgcolor","bghighcolor",
//	"fontcolor","fonthighcolor","bordercolor","fontfamily",fontsize,fontbold,fontitalic,"textalign","statustext");
// Color and font variables defined in the menu tree take precedence over the global variables
// Fontsize, fontbold and fontitalic are ignored when set to -1.
// For rollover images ItemText format is:  "rollover?"+BaseHref+"Image1.jpg?"+BaseHref+"Image2.jpg" 

Menu1=new Array("Analógicos","","",8,20,82,"","","","","","",-1,1,-1,"","");
	Menu1_1=new Array("A.C. Hierro Móvil","","",5,20,145,"","","","","","",-1,1,-1,"","");
		Menu1_1_1=new Array("Serie cuadro 90º EC","an_hm_ec.htm","",0,20,170,"","","","","","",-1,1,-1,"","");
		Menu1_1_2=new Array("Serie cuadro 240º EZC","an_hm_ezc.htm","",0,20,100,"","","","","","",-1,1,-1,"","");
		Menu1_1_3=new Array("Carril DIN EM45","an_hm_em.htm","",0,20,100,"","","","","","",-1,1,-1,"","");
		Menu1_1_4=new Array("Con conmutador EC_F/FN/FA","an_hm_ecf.htm","",0,20,100,"","","","","","",-1,1,-1,"","");
		Menu1_1_5=new Array("Serie Panel EK","an_hm_ek.htm","",0,20,100,"","","","","","",-1,1,-1,"","");
	Menu1_2=new Array("D.C. Bobina Móvil","","",6,20,100,"","","","","","",-1,1,-1,"","");
		Menu1_2_1=new Array("Serie cuadro 90º BC","an_bm_bc.htm","",0,20,190,"","","","","","",-1,1,-1,"","");
		Menu1_2_2=new Array("Serie cuadro 240º ZC","an_bm_zc.htm","",0,20,100,"","","","","","",-1,1,-1,"","");
		Menu1_2_3=new Array("Carril DIN BM","an_bm_bm.htm","",0,20,100,"","","","","","",-1,1,-1,"","");
		Menu1_2_4=new Array("Serie Panel BK","an_bm_bk.htm","",0,20,100,"","","","","","",-1,1,-1,"","");
		Menu1_2_5=new Array("Con Rectificador 90º RBC, BNC","an_bm_rbc.htm","",0,20,100,"","","","","","",-1,1,-1,"","");
		Menu1_2_6=new Array("Con Rectificador 240º RZC, ZNC","an_bm_rzc.htm","",0,20,100,"","","","","","",-1,1,-1,"","");
	Menu1_3=new Array("Amp. Máx. Demanda","","",3,20,120,"","","","","","",-1,1,-1,"","");
		Menu1_3_1=new Array("Serie cuadro Maxímetro MC, MCT","an_md_mc.htm","",0,20,215,"","","","","","",-1,1,-1,"","");
		Menu1_3_2=new Array("Serie cuadro Maxímetro comb. EMC","an_md_emc.htm","",0,20,100,"","","","","","",-1,1,-1,"","");
		Menu1_3_3=new Array("Carril DIN Maxímetro MMC","an_md_mmc.htm","",0,20,100,"","","","","","",-1,1,-1,"","");
	Menu1_4=new Array("Frecuencímetros","","",4,20,100,"","","","","","",-1,1,-1,"","");
		Menu1_4_1=new Array("Serie cuadro 90º HC","an_fr_hc.htm","",0,20,180,"","","","","","",-1,1,-1,"","");
		Menu1_4_2=new Array("Serie cuadro 240º HZC","an_fr_hzc.htm","",0,20,100,"","","","","","",-1,1,-1,"","");
		Menu1_4_3=new Array("Serie cuadro Láminas HLC","an_fr_hlc.htm","",0,20,100,"","","","","","",-1,1,-1,"","");
		Menu1_4_4=new Array("Serie carril DIN HM","an_fr_hm.htm","",0,20,100,"","","","","","",-1,1,-1,"","");
	Menu1_5=new Array("Ind. Potencia y cos Phi","","",4,20,270,"","","","","","",-1,1,-1,"","");
		Menu1_5_1=new Array("Potencia Activa W","an_ip_w.htm","",0,20,150,"","","","","","",-1,1,-1,"","");
		Menu1_5_2=new Array("Potencia Reactiva Y","an_ip_y.htm","",0,20,100,"","","","","","",-1,1,-1,"","");
		Menu1_5_3=new Array("Fasímetros PIC, F","an_ip_pic.htm","",0,20,100,"","","","","","",-1,1,-1,"","");
		Menu1_5_4=new Array("Serie carril DIN W, Y, F","an_ip_wyfe.htm","",0,20,100,"","","","","","",-1,1,-1,"","");
	Menu1_6=new Array("Sincronización","","",5,20,200,"","","","","","",-1,1,-1,"","");
		Menu1_6_1=new Array("Dobles 2EC, 2HC, 2HLC","an_si_2ec.htm","",0,20,205,"","","","","","",-1,1,-1,"","");
		Menu1_6_2=new Array("Secuencímetros UC, CUC","an_si_uc.htm","",0,20,100,"","","","","","",-1,1,-1,"","");
		Menu1_6_3=new Array("Sincronoscopios SMC, STC","an_si_smc.htm","",0,20,100,"","","","","","",-1,1,-1,"","");
		Menu1_6_4=new Array("Diferenciales ZDC, HDC, VC","an_si_zdc.htm","",0,20,100,"","","","","","",-1,1,-1,"","");
		Menu1_6_5=new Array("SYNCHROMAX","an_si_sync.htm","",0,20,100,"","","","","","",-1,1,-1,"","");
	Menu1_7=new Array("Con Alarmas","","",3,20,200,"","","","","","",-1,1,-1,"","");
		Menu1_7_1=new Array("Serie CEC (a.c.)","an_al_cec.htm","",0,20,110,"","","","","","",-1,1,-1,"","");
		Menu1_7_2=new Array("Serie CBC (d.c.)","an_al_cec.htm","",0,20,100,"","","","","","",-1,1,-1,"","");
		Menu1_7_3=new Array("Serie CRBC (a.c.)","an_al_cec.htm","",0,20,100,"","","","","","",-1,1,-1,"","");
	Menu1_8=new Array("Otros","","",6,20,200,"","","","","","",-1,1,-1,"","");
		Menu1_8_1=new Array("Temperatura PEC, PZC, TEC, TZC","an_ot_pec.htm","",0,20,200,"","","","","","",-1,1,-1,"","");
		Menu1_8_2=new Array("Posición PBC","an_ot_pbc.htm","",0,20,100,"","","","","","",-1,1,-1,"","");
		Menu1_8_3=new Array("Medidor Aislamiento MEG","an_ot_meg.htm","",0,20,100,"","","","","","",-1,1,-1,"","");
		Menu1_8_4=new Array("Óhmetros OBC","an_ot_obc.htm","",0,20,100,"","","","","","",-1,1,-1,"","");
		Menu1_8_5=new Array("Contador Impulsos CI","an_ot_ci.htm","",0,20,100,"","","","","","",-1,1,-1,"","");
		Menu1_8_6=new Array("Cuentahoras CH","an_ot_ch.htm","",0,20,100,"","","","","","",-1,1,-1,"","");
Menu2=new Array("Digitales","","",12,20,69,"","","","","","",-1,1,-1,"","");
	Menu2_1=new Array("Serie DH96","di_dh96.htm","",0,20,210,"","","","","","",-1,1,-1,"","");
	Menu2_2=new Array("Serie Cuadrada DC48, 72, 96","di_dc.htm","",0,20,190,"","","","","","",-1,1,-1,"","");
	Menu2_3=new Array("Serie ROYAL","di_roy.htm","",0,20,150,"","","","","","",-1,1,-1,"","");
	Menu2_4=new Array("Contadores de Energía MK, AMK","di_mk.htm","",0,20,150,"","","","","","",-1,1,-1,"","");
	Menu2_5=new Array("Analizadores de Red CVM","di_cvm.htm","",0,20,150,"","","","","","",-1,1,-1,"","");
	Menu2_6=new Array("Genius","di_gen.htm","",0,20,150,"","","","","","",-1,1,-1,"","");
	Menu2_7=new Array("DM45","di_dm.htm","",0,20,150,"","","","","","",-1,1,-1,"","");
	Menu2_8=new Array("Central multifunción medida","di_cmm.htm","",0,20,150,"","","","","","",-1,1,-1,"","");
	Menu2_9=new Array("Aplicaciones solares","di_solar.htm","",0,20,150,"","","","","","",-1,1,-1,"","");
	Menu2_10=new Array("Contadores energía EM30C EMS30","di_em.htm","",0,20,150,"","","","","","",-1,1,-1,"","");
	Menu2_11=new Array("Contadores energía trifásicos","di_cont_trif.htm","",0,20,150,"","","","","","",-1,1,-1,"","");
	Menu2_12=new Array("Analizadores de redes eléctricas","di_analiz.htm","",0,20,150,"","","","","","",-1,1,-1,"","");
	
Menu3=new Array("Convertidores","","",2,20,104,"","","","","","",-1,1,-1,"","");
	Menu3_1=new Array("Carril DIN","co_din.htm","",0,20,104,"","","","","","",-1,1,-1,"","");
	Menu3_2=new Array("Perfil estrecho","co_pe.htm","",0,20,110,"","","","","","",-1,1,-1,"","");
Menu4=new Array("Transformadores de Corriente","","",11,20,192,"","","","","","",-1,1,-1,"","");
	Menu4_1=new Array("Perfil estrecho TC","tc_tc.htm","",0,20,220,"","","","","","",-1,1,-1,"","");
	Menu4_2=new Array("Perfil estrecho alta precisión TCH","tc_tch.htm","",0,20,220,"","","","","","",-1,1,-1,"","");
	Menu4_3=new Array("Con convertidor incorporado TC-420","tc_tc420.htm","",0,20,220,"","","","","","",-1,1,-1,"","");
	Menu4_4=new Array("Aplicaciones generales TA","tc_ta.htm","",0,20,220,"","","","","","",-1,1,-1,"","");
	Menu4_5=new Array("Núcleo Partido TP","tc_tp.htm","",0,20,220,"","","","","","",-1,1,-1,"","");
	Menu4_6=new Array("Carril DIN TM","tc_tm.htm","",0,20,220,"","","","","","",-1,1,-1,"","");
	Menu4_7=new Array("Sumador TSR","tc_tsr.htm","",0,20,220,"","","","","","",-1,1,-1,"","");
	Menu4_8=new Array("Resinado de Protección TRP","tc_trp.htm","",0,20,220,"","","","","","",-1,1,-1,"","");
	Menu4_9=new Array("Resinado de Medida TRM","tc_trm.htm","",0,20,220,"","","","","","",-1,1,-1,"","");
	Menu4_10=new Array("Resinado de Compañía TRMC","tc_trmc.htm","",0,20,220,"","","","","","",-1,1,-1,"","");
	Menu4_11=new Array("Shunts (d.c.)","tc_shu.htm","",0,20,220,"","","","","","",-1,1,-1,"","");


	

