 /*(c) Ger Versluis 2000 version 13.10 August 1, 2004  	www.burmees.nl/menu */
 
	var NoOffFirstLineMenus=5;			// 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="#336600";			// Background color when mouse is not over
	var HighBgColor="#669933";			// Background color when mouse is over
	var FontLowColor="#EEEEEE";			// Font color when mouse is not over
	var FontHighColor="#FFFFFF";			// Font color when mouse is over
	var BorderColor="";			// Border color
	var BorderWidthMain=1;			// Border width main items
	var BorderWidthSub=1;			// Border width sub items
 	var BorderBtwnMain=1;			// Border width between elements main items
	var BorderBtwnSub=1;			// Border width between elements sub items
	var FontFamily="verdana";	// Font family menu items
	var FontSize=10;				// Font size menu items
	var FontBold=0;				// 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
	var MenuVerticalCentered="bottom";		// Menu vertical position top, middle,bottom or static
	var ChildOverlap=-.00;			// horizontal overlap child/ parent
	var ChildVerticalOverlap=-.00;			// vertical overlap child/ parent
	var StartTop=0;				// Menu offset x coordinate
	var StartLeft=17;				// Menu offset y coordinate
	var VerCorrect=2;				// Multiple frames y correction
	var HorCorrect=2;				// Multiple frames x correction
	var DistFrmFrameBrdr=1;			// Distance between main menu and frame border
	var LeftPaddng=5;				// Left padding
	var TopPaddng=2;				// Top padding. If set to -1 text is vertically centered
	var FirstLineHorizontal=1;			// Number defines to which level the menu must unfold horizontal; 0 is all vertical
	var MenuFramesVertical=0;			// 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="topFrame";			// Frame where first level appears
	var SecLineFrame="mainFrame";			// Frame where sub levels appear
	var DocTargetFrame="mainFrame";		// Frame where target documents appear
	var TargetLoc="menuclip";				// span id for relative positioning
	var MenuWrap=1;				// enables/ disables menu wrap 1 or 0
	var RightToLeft=1;				// 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="http://www.concellodeopino.com/menu/";				// 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+"tri.gif",6,11,BaseHref+"spacer.gif",0,0,BaseHref+"",0,0,BaseHref+"",0,0];

						// Arrow source, width and height.
						// If arrow images are not needed keep source ""

	var MenuUsesFrames=1;			// 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=1;			// RememberStatus: When set to 1, menu unfolds to the presetted menu item. 
						// When set to 2 only the relevant main item stays highligthed
						// The preset is done by setting a variable in the head section of the target document.
						// <head>
						// <script type="text/javascript">var SetMenu="2_2_1";<script>
						// </head>
						// 2_2_1 represents the menu item Menu2_2_1=new Array(.......

						// 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 BuildOnDemand=0;			// 1/0 When set to 1 the sub menus are build when the parent is moused over
	var BgImgLeftOffset=0;			// Only relevant when bg image is used as rollover
	var ScaleMenu=0;				// 1/0 When set to 0 Menu scales with browser text size setting

	var HooverBold=1;				// 1 or 0
	var HooverItalic=0;				// 1 or 0
	var HooverUnderLine=0;			// 1 or 0
	var HooverTextSize=0;			// 0=off, number is font size difference on hoover
	var HooverVariant=0;			// 1 or 0

	var MenuSlide="";
	var MenuSlide="progid:DXImageTransform.Microsoft.RevealTrans(duration=.3, transition=10)";
	var MenuSlide="progid:DXImageTransform.Microsoft.GradientWipe(duration=.3, wipeStyle=1)";

	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=2)";

	var MenuOpacity="";
	var MenuOpacity="progid:DXImageTransform.Microsoft.Alpha(opacity=90)";

	function BeforeStart(){return}
	function AfterBuild(){return}

  function BeforeFirstOpen(){
   if(ScLoc.HideArray){
      var H_A,H_Al,H_El,i;
      H_A=ScLoc.HideArray;
      H_Al=H_A.length;
      for (i=0;i<H_Al;i++){
         H_El=ScLoc.document.getElementById(H_A[i]).style;
         H_El.visibility=M_Hide}}} 	
				 		 
  function AfterCloseAll(){
   if(ScLoc.HideArray){
      var H_A,H_Al,H_El,i;
      H_A=ScLoc.HideArray;
      H_Al=H_A.length;
      for (i=0;i<H_Al;i++){
         H_El=ScLoc.document.getElementById(H_A[i]).style;
         H_El.visibility=M_Show}}}
				 
				 
// 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 or background image format is:  "rollover?"+BaseHref+"Image1.jpg?"+BaseHref+"Image2.jpg" 

Menu1=new Array("Inicio","../web-gal/index_g.asp","",0,20,140,"","","","","","",-1,-1,-1,"","");
Menu2=new Array("Situación","","",5,36,140,"","","","","","",-1,-1,-1,"","");
	Menu2_1=new Array("Localización","../web-gal/situ/localizacion.html","",0,20,140,"","","","","","",-1,-1,-1,"","");
	Menu2_2=new Array("Accesos","../web-gal/situ/accesos.html","",0,20,140,"","","","","","",-1,-1,-1,"","");
	Menu2_3=new Array("Xeografía","../web-gal/situ/geografia.html","",0,20,140,"","","","","","",-1,-1,-1,"","");
	Menu2_4=new Array("Mapas","../web-gal/situ/mapas.html","",0,20,140,"","","","","","",-1,-1,-1,"","");
	Menu2_5=new Array("Historia","","",3,20,140,"","","","","","",-1,-1,-1,"","");
		Menu2_5_1=new Array("Historia","../web-gal/situ/historia.html","",0,20,140,"","","","","","",-1,-1,-1,"","");
		Menu2_5_2=new Array("Nomeclator","../web-gal/situ/nomeclator.html","",0,20,140,"","","","","","",-1,-1,-1,"","");
		Menu2_5_3=new Array("Fotografías","../web-gal/situ/fotografias.html","",0,20,140,"","","","","","",-1,-1,-1,"","");
Menu3=new Array("Concello","","",14,20,140,"","","","","","",-1,-1,-1,"","");
	Menu3_1=new Array("Saúdo","../web-gal/conc/saluda.html","",0,20,140,"","","","","","",-1,-1,-1,"","");
	Menu3_2=new Array("Casa do Concello","../web-gal/conc/concello.html","",0,20,140,"","","","","","",-1,-1,-1,"","");
	Menu3_3=new Array("Partidos","../web-gal/conc/partidospoliticos.html","",0,20,140,"","","","","","",-1,-1,-1,"","");
	Menu3_4=new Array("Corporación Municipal","../web-gal/conc/corporacion.html","",0,20,140,"","","","","","",-1,-1,-1,"","");
	Menu3_5=new Array("Áreas de Actuación","","",7,20,140,"","","","","","",-1,-1,-1,"","");
		Menu3_5_1=new Array("Área de Cultura","../web-gal/conc/conc_cultura.asp","",0,20,176,"","","","","","",-1,-1,-1,"","");
		Menu3_5_2=new Array("Área de Deportes","../web-gal/conc/conc_deportes.asp","",0,20,176,"","","","","","",-1,-1,-1,"","");
		Menu3_5_3=new Array("Área de Urbanismo","../web-gal/conc/conc_obras.html","",0,20,176,"","","","","","",-1,-1,-1,"","");
		Menu3_5_4=new Array("Área de Sanidade","../web-gal/conc/conc_sanidad.html","",0,20,176,"","","","","","",-1,-1,-1,"","");
		Menu3_5_5=new Array("Área de Educación","../web-gal/conc/conc_educacion.html","",0,20,176,"","","","","","",-1,-1,-1,"","");
		Menu3_5_6=new Array("Área de Servizos Sociais","../web-gal/conc/conc_serviciossociales.html","",0,20,176,"","","","","","",-1,-1,-1,"","");
		Menu3_5_7=new Array("Área de Economía","../web-gal/conc/conc_hacienda.html","",0,20,176,"","","","","","",-1,-1,-1,"","");
	Menu3_6=new Array("Directorio","../web-gal/agen/directorio/dir_concello.html","",0,20,140,"","","","","","",-1,-1,-1,"","");
	Menu3_7=new Array("Oficinas","../web-gal/conc/gestion.html","",0,20,140,"","","","","","",-1,-1,-1,"","");
	Menu3_8=new Array("Servizos","../web-gal/conc/serviciosconcello.html","",0,20,140,"","","","","","",-1,-1,-1,"","");
	Menu3_9=new Array("Programación","../administracion/secciones/programacion_g.asp","",0,20,140,"","","","","","",-1,-1,-1,"","");
	Menu3_10=new Array("Novas","../administracion/secciones/noticias_g.asp","",0,20,140,"","","","","","",-1,-1,-1,"","");
	Menu3_11=new Array("Bandos Municipais","../administracion/secciones/bandos_g.asp","",0,20,140,"","","","","","",-1,-1,-1,"","");
	Menu3_12=new Array("Publicacións","../web-gal/conc/publicaciones.html","",0,20,140,"","","","","","",-1,-1,-1,"","");
	Menu3_13=new Array("Documentos","../web-gal/conc/documentacion.html","",0,20,140,"","","","","","",-1,-1,-1,"","");
	Menu3_14=new Array("Contratación","../web-gal/conc/conc_contratacion.asp","",0,20,140,"","","","","","",-1,-1,-1,"","");

Menu4=new Array("Turismo","","",10,20,140,"","","","","","",-1,-1,-1,"","");
	Menu4_1=new Array("Xeral","../web-gal/turi/general.html","",0,20,140,"","","","","","",-1,-1,-1,"","");
	Menu4_2=new Array("Servizos","../web-gal/turi/servicios.html","",0,20,140,"","","","","","",-1,-1,-1,"","");
	Menu4_3=new Array("Festas","../web-gal/turi/fiestas.html","",0,20,140,"","","","","","",-1,-1,-1,"","");
	Menu4_4=new Array("Monumentos","../web-gal/turi/monumentos.html","",0,20,140,"","","","","","",-1,-1,-1,"","");
	Menu4_5=new Array("Camiño de Santiago","../web-gal/turi/caminodesantiago.html","",0,20,140,"","","","","","",-1,-1,-1,"","");
	Menu4_6=new Array("Rotas","../web-gal/turi/rutas.html","",0,20,140,"","","","","","",-1,-1,-1,"","");
	Menu4_7=new Array("Gastronomía","../web-gal/turi/gastronomia.html","",0,20,140,"","","","","","",-1,-1,-1,"","");
	Menu4_8=new Array("Tradicións","../web-gal/turi/tradiciones.html","",0,20,140,"","","","","","",-1,-1,-1,"","");
	Menu4_9=new Array("Postais","../web-gal/turi/post/postales.html","",0,20,140,"","","","","","",-1,-1,-1,"","");
	Menu4_10=new Array("Panorámica","../web-gal/turi/pano/panoramica.html","",0,20,140,"","","","","","",-1,-1,-1,"","");
Menu5=new Array("Axenda","","",7,20,140,"","","","","","",-1,-1,-1,"","");
	Menu5_1=new Array("Programación","../administracion/secciones/programacion_g.asp","",0,20,140,"","","","","","",-1,-1,-1,"","");
	Menu5_2=new Array("Novas","../administracion/secciones/noticias_g.asp","",0,20,140,"","","","","","",-1,-1,-1,"","");
	Menu5_3=new Array("Bandos Municipais","../administracion/secciones/bandos_g.asp","",0,20,140,"","","","","","",-1,-1,-1,"","");
	Menu5_4=new Array("Ofertas de Emprego","../administracion/secciones/empleo_g.asp","",0,20,140,"","","","","","",-1,-1,-1,"","");
	Menu5_5=new Array("Calendario","../web-gal/agen/calendario.html","",0,20,140,"","","","","","",-1,-1,-1,"","");
	Menu5_6=new Array("Directorio","","",7,20,140,"","","","","","",-1,-1,-1,"left","");
		Menu5_6_1=new Array("Concello","../web-gal/agen/directorio/dir_concello.html","",0,20,140,"","","","","","",-1,-1,-1,"","");
		Menu5_6_2=new Array("Saúde","../web-gal/agen/directorio/serv_sergas.html","",0,20,140,"","","","","","",-1,-1,-1,"","");
		Menu5_6_3=new Array("Educación","../web-gal/agen/directorio/serv_educa.html","",0,20,140,"","","","","","",-1,-1,-1,"","");
		Menu5_6_4=new Array("Emerxencias","../web-gal/agen/directorio/serv_emer.html","",0,20,140,"","","","","","",-1,-1,-1,"","");
		Menu5_6_5=new Array("Servizos","../web-gal/conc/serviciosconcello.html","",0,20,140,"","","","","","",-1,-1,-1,"","");
		Menu5_6_6=new Array("Transportes","../web-gal/agen/directorio/serv_tran.html","",0,20,140,"","","","","","",-1,-1,-1,"left","");
		Menu5_6_7=new Array("Asociacións","../web-gal/agen/directorio/dir_asociaciones.html","",0,20,140,"","","","","","",-1,-1,-1,"","");
	Menu5_7=new Array("Enlaces","../web-gal/agen/directorio/enlaces.html","",0,20,140,"","","","","","",-1,-1,-1,"","");
