 /***********************************************
*	(c) Ger Versluis 2000 version 9.10 2 October 2002        *
*	You may use this script on non commercial sites.	          *
*	For info write to menus@burmees.nl		          *
*	You may remove all comments for faster loading	          *		
************************************************/
var NoOffFirstLineMenus=10;		// 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="#fbc6ab";		// Background color when mouse is over
var FontLowColor="black";		// Font color when mouse is not over
var FontHighColor="white";		// Font color when mouse is over
var BorderColor="black";		// Border color
var BorderWidthMain=1;			// Border width main items
var BorderWidthSub=1;			// Border width sub items
var BorderBtwnMain=1;			// Border between elements main items 1 or 0
var BorderBtwnSub=1;			// Border between elements sub items 1 or 0
var FontFamily="century gothic,arial narrow,comic sans ms,arial,helvetica,sans-serif";	// Font family menu items
var FontSize=8;				// 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="right";		// 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=.2;			// horizontal overlap child/ parent
var ChildVerticalOverlap=.2;		// vertical overlap child/ parent
var StartTop=18;			// Menu offset x coordinate. If StartTop is between 0 and 1 StartTop is calculated as part of windowheight
var StartLeft=0;			// Menu offset y coordinate. If StartLeft is between 0 and 1 StartLeft is calculated as part of windowheight
var VerCorrect=-18;			// Multiple frames y correction
var HorCorrect=0;			// Multiple frames x correction
var LeftPaddng=2;			// 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=300;			// 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="menu";		// Frame where first level appears
var SecLineFrame="main";		// Frame where sub levels appear
var DocTargetFrame="main";		// 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+"tri.gif",5,10,BaseHref+"tridown.gif",10,5,BaseHref+"trileft.gif",5,10,BaseHref+"triup.gif",10,5,];

					// 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=0;			// 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(.......

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 BuildOnDemand=0;			// 1/0 When set to 1 the sub menus are build when the parent is moused over

var MenuSlide="";
var MenuSlide="progid:DXImageTransform.Microsoft.RevealTrans(duration=.2, transition=19)";
var MenuSlide="progid:DXImageTransform.Microsoft.GradientWipe(duration=.2, wipeStyle=1)";

var MenuShadow="";

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("Temas de Portada","portada.htm","",0,18,120,"","","","","","",-1,-1,-1,"","");

Menu2=new Array("Datos Útiles","http://www.palenzuela.org/datos/datosutiles.htm","",4,18,120,"","","","","","",-1,-1,-1,"","");
       Menu2_1=new Array("1. Situación Geográfica","http://www.palenzuela.org/datos/situacion.htm","",0,18,160,"","","","","","",-1,-1,-1,"","");
       Menu2_2=new Array("2. Servicios y Comercio","http://www.palenzuela.org/datos/servicios.htm","",0,18,140,"","","","","","",-1,-1,-1,"","");
       Menu2_3=new Array("3. Asociaciones y Cofradías","http://www.palenzuela.org/datos/asociaciones.htm","",0,18,140,"","","","","","",-1,-1,-1,"","");
       Menu2_4=new Array("4. Datos Estadísticos","http://www.palenzuela.org/datos/otros3.htm","",0,18,140,"","","","","","",-1,-1,-1,"","");

Menu3=new Array("Historia de la Villa","http://www.palenzuela.org/historia/historia.htm","",11,18,120,"","","","","","",-1,-1,-1,"","");
       Menu3_1=new Array("1. La Ciudad de Pallantia","http://www.palenzuela.org/historia/pallantia.htm","",0,18,180,"","","","","","",-1,-1,-1,"","");
       Menu3_2=new Array("2. Los Nombres de la Villa","http://www.palenzuela.org/historia/nombres.htm","",0,18,135,"","","","","","",-1,-1,-1,"","");
       Menu3_3=new Array("3. Alfoz y Merindad","http://www.palenzuela.org/historia/alfoz.htm","",0,18,135,"","","","","","",-1,-1,-1,"","");
       Menu3_4=new Array("4. Los Fueros del Conde Sancho","http://www.palenzuela.org/historia/fueros.htm","",0,18,135,"","","","","","",-1,-1,-1,"","");
       Menu3_5=new Array("5. Guerras Medievales","http://www.palenzuela.org/historia/guerras.htm","",0,18,135,"","","","","","",-1,-1,-1,"","");
       Menu3_6=new Array("6. Las Cortes de Palenzuela","http://www.palenzuela.org/historia/cortes.htm","",0,18,135,"","","","","","",-1,-1,-1,"","");
       Menu3_7=new Array("7. Los Privilegios de la Villa","http://www.palenzuela.org/historia/privilegios.htm","",0,18,135,"","","","","","",-1,-1,-1,"","");
       Menu3_8=new Array("8. Linajes Nobiliarios","http://www.palenzuela.org/historia/nobleza.htm","",0,18,135,"","","","","","",-1,-1,-1,"","");
       Menu3_9=new Array("9. Guerra de Independencia","http://www.palenzuela.org/historia/independencia.htm","",0,18,135,"","","","","","",-1,-1,-1,"","");
       Menu3_10=new Array("-Otros Datos de Interés","http://www.palenzuela.org/historia/otros1.htm","",0,18,135,"","","","","","",-1,-1,-1,"","");
       Menu3_11=new Array("-Anecdotario Histórico","http://www.palenzuela.org/historia/anecdotario.htm","",0,18,135,"","","","","","",-1,-1,-1,"","");

Menu4=new Array("Arte y Patrimonio","http://www.palenzuela.org/arte/arte.htm","",11,18,120,"","","","","","",-1,-1,-1,"","");
       Menu4_1=new Array("1. Iglesia de San Juan Bautista","http://www.palenzuela.org/arte/sanjuan.htm","",3,18,200,"","","","","","",-1,-1,-1,"","");
                Menu4_1_1=new Array("1. Retablos","http://www.palenzuela.org/arte/retablos.htm","",0,18,110,"","","","","","",-1,-1,-1,"","");
                Menu4_1_2=new Array("2. Sepulcros","http://www.palenzuela.org/arte/sepulcros.htm","",0,18,135,"","","","","","",-1,-1,-1,"","");
                Menu4_1_3=new Array("3. Platería","http://www.palenzuela.org/arte/plateria.htm","",0,18,135,"","","","","","",-1,-1,-1,"","");
       Menu4_2=new Array("2. Iglesia de Santa Eulalia","http://www.palenzuela.org/arte/santaeulalia.htm","",0,18,135,"","","","","","",-1,-1,-1,"","");
       Menu4_3=new Array("3. Castillo y Muralla","http://www.palenzuela.org/arte/castillo.htm","",0,18,135,"","","","","","",-1,-1,-1,"","");
       Menu4_4=new Array("4. Casco Urbano","http://www.palenzuela.org/arte/cascoviejo.htm","",0,18,135,"","","","","","",-1,-1,-1,"","");
       Menu4_5=new Array("5. Ermita de Nuestra Señora","http://www.palenzuela.org/arte/ermita.htm","",0,18,135,"","","","","","",-1,-1,-1,"","");
       Menu4_6=new Array("6. Convento de San Francisco","http://www.palenzuela.org/arte/convento.htm","",0,18,135,"","","","","","",-1,-1,-1,"","");
       Menu4_7=new Array("7. Puente Medieval","http://www.palenzuela.org/arte/puente.htm","",0,18,135,"","","","","","",-1,-1,-1,"","");
       Menu4_8=new Array("8. Calzada Romana","http://www.palenzuela.org/arte/calzada.htm","",0,18,135,"","","","","","",-1,-1,-1,"","");
       Menu4_9=new Array("9. Descubrimientos Arqueológicos","http://www.palenzuela.org/arte/necropolis.htm","",3,18,135,"","","","","","",-1,-1,-1,"","");
                Menu4_9_1=new Array("1. El Tesorillo de Pallantia","http://www.palenzuela.org/arte/tesoro.htm","",0,18,165,"","","","","","",-1,-1,-1,"","");
                Menu4_9_2=new Array("2. La Necrópolis Celtibérica","http://www.palenzuela.org/arte/necropal.htm","",0,18,135,"","","","","","",-1,-1,-1,"","");
                Menu4_9_3=new Array("3. La Necrópolis Medieval","http://www.palenzuela.org/arte/moral.htm","",0,18,135,"","","","","","",-1,-1,-1,"","");
       Menu4_10=new Array("-La Belleza de las Ruinas","http://www.palenzuela.org/arte/piedras.htm","",0,18,135,"","","","","","",-1,-1,-1,"","");
       Menu4_11=new Array("-Paseo Visual","http://www.palenzuela.org/arte/paseo.htm","",0,18,135,"","","","","","",-1,-1,-1,"","");

Menu5=new Array("Medio Natural","http://www.palenzuela.org/naturaleza/naturaleza.htm","",6,18,120,"","","","","","",-1,-1,-1,"","");
       Menu5_1=new Array("1. La Fauna","http://www.palenzuela.org/naturaleza/fauna.htm","",0,18,125,"","","","","","",-1,-1,-1,"","");
       Menu5_2=new Array("2. La Flora","http://www.palenzuela.org/naturaleza/flora.htm","",0,18,135,"","","","","","",-1,-1,-1,"","");
       Menu5_3=new Array("3. Los Ríos","http://www.palenzuela.org/naturaleza/rios.htm","",0,18,135,"","","","","","",-1,-1,-1,"","");
       Menu5_4=new Array("4. La Montaña","http://www.palenzuela.org/naturaleza/cuestahorca.htm","",0,18,135,"","","","","","",-1,-1,-1,"","");
       Menu5_5=new Array("-Fuerzas Naturales","http://www.palenzuela.org/naturaleza/furianatural.htm","",0,18,135,"","","","","","",-1,-1,-1,"","");
       Menu5_6=new Array("-Rincones Escondidos","http://www.palenzuela.org/naturaleza/rincones.htm","",0,18,135,"","","","","","",-1,-1,-1,"","");

Menu6=new Array("Fiestas y Tradiciones","http://www.palenzuela.org/fiestas/fiestas.htm","",4,18,120,"","","","","","",-1,-1,-1,"","");
       Menu6_1=new Array("1. La Vigen de Allende el Río","http://www.palenzuela.org/fiestas/virgen.htm","",3,18,170,"","","","","","",-1,-1,-1,"","");
                Menu6_1_1=new Array("1. Himno a la Virgen","http://www.palenzuela.org/fiestas/himno.htm","",0,18,165,"","","","","","",-1,-1,-1,"","");
                Menu6_1_2=new Array("2. Procesión de las Hogueras","http://www.palenzuela.org/fiestas/hogueras.htm","",0,18,165,"","","","","","",-1,-1,-1,"","");
                Menu6_1_3=new Array("3. Baile del Lazo","http://www.palenzuela.org/fiestas/lazo.htm","",0,18,165,"","","","","","",-1,-1,-1,"","");
       Menu6_2=new Array("2. La Noche de Reyes","http://www.palenzuela.org/fiestas/reyes.htm","",0,18,165,"","","","","","",-1,-1,-1,"","");
       Menu6_3=new Array("3. Semana Santa","http://www.palenzuela.org/fiestas/semana.htm","",0,18,165,"","","","","","",-1,-1,-1,"","");
       Menu6_4=new Array("4. Fiesta de la Vendimia","http://www.palenzuela.org/fiestas/vendimia.htm","",0,18,165,"","","","","","",-1,-1,-1,"","");

Menu7=new Array("Biblioteca Cebollera","http://www.palenzuela.org/biblioteca/biblioteca.htm","",5,18,120,"","","","","","",-1,-1,-1,"","");
       Menu7_1=new Array("1. Diccionario Cebollero","http://www.palenzuela.org/biblioteca/diccionario.htm","",0,18,160,"","","","","","",-1,-1,-1,"","");
       Menu7_2=new Array("2. Historia de las Calles","http://www.palenzuela.org/biblioteca/calles.htm","",0,18,160,"","","","","","",-1,-1,-1,"","");
       Menu7_3=new Array("3. Toponimia de Palenzuela","http://www.palenzuela.org/biblioteca/toponimia.htm","",0,18,160,"","","","","","",-1,-1,-1,"","");
       Menu7_4=new Array("4. Palenzuela en los Libros","http://www.palenzuela.org/biblioteca/literatura.htm","",0,18,160,"","","","","","",-1,-1,-1,"","");
       Menu7_5=new Array("5. Palenzuela en la Prensa","http://www.palenzuela.org/biblioteca/prensa.htm","",0,18,160,"","","","","","",-1,-1,-1,"","");

Menu8=new Array("Iniciativas","http://www.palenzuela.org/iniciativas/iniciativas.htm","",6,18,120,"","","","","","",-1,-1,-1,"","");
       Menu8_1=new Array("1. Museo de Palenzuela","http://www.palenzuela.org/iniciativas/museo.htm","",0,18,160,"","","","","","",-1,-1,-1,"","");
       Menu8_2=new Array("2. Patrimonio Desaparecido","http://www.palenzuela.org/iniciativas/perdido.htm","",0,18,160,"","","","","","",-1,-1,-1,"","");
       Menu8_3=new Array("3. Archivo Genealógico","http://www.palenzuela.org/iniciativas/genealogia.htm","",0,18,160,"","","","","","",-1,-1,-1,"","");
       Menu8_4=new Array("4. Casa Rural","http://www.palenzuela.org/iniciativas/casarural.htm","",0,18,160,"","","","","","",-1,-1,-1,"","");
       Menu8_5=new Array("5. Jardín Arqueológico","http://www.palenzuela.org/iniciativas/jardinmuros.htm","",0,18,160,"","","","","","",-1,-1,-1,"","");
       Menu8_6=new Array("6. Mejorar los Accesos","http://www.palenzuela.org/iniciativas/accesos.htm","",0,18,160,"","","","","","",-1,-1,-1,"","");

Menu9=new Array("Alrededores","http://www.palenzuela.org/alrededores/alrededores.htm","",2,18,120,"","","","","","",-1,-1,-1,"","");
       Menu9_1=new Array("1. Pueblos Cercanos","http://www.palenzuela.org/alrededores/pueblos.htm","",0,18,130,"","","","","","",-1,-1,-1,"","");
       Menu9_2=new Array("2. Rutas Turísticas","http://www.palenzuela.org/alrededores/rutas.htm","",3,18,130,"","","","","","",-1,-1,-1,"","");
                Menu9_2_1=new Array("1. El Río Arlanza","http://www.palenzuela.org/alrededores/rioarlanza.htm","",0,18,130,"","","","","","",-1,-1,-1,"","");
                Menu9_2_2=new Array("2. El Cerrato","http://www.palenzuela.org/alrededores/cerrato.htm","",0,18,130,"","","","","","",-1,-1,-1,"","");
                Menu9_2_3=new Array("3. Murallas y Castillos","http://www.palenzuela.org/alrededores/rutacastillos.htm","",0,18,130,"","","","","","",-1,-1,-1,"","");

Menu10=new Array("Enlaces de Interés","http://www.palenzuela.org/enlaces/links.htm","",6,18,120,"","","","","","",-1,-1,-1,"","");
       Menu10_1=new Array("1. Instituciones Oficiales","http://www.palenzuela.org/enlaces/links1.htm","",0,18,150,"","","","","","",-1,-1,-1,"","");
       Menu10_2=new Array("2. Información y Prensa","http://www.palenzuela.org/enlaces/links2.htm","",0,18,150,"","","","","","",-1,-1,-1,"","");
       Menu10_3=new Array("3. Culturales","http://www.palenzuela.org/enlaces/links3.htm","",0,18,150,"","","","","","",-1,-1,-1,"","");
       Menu10_4=new Array("4. Turísticos","http://www.palenzuela.org/enlaces/links4.htm","",0,18,150,"","","","","","",-1,-1,-1,"","");
       Menu10_5=new Array("5. Portales y Correo","http://www.palenzuela.org/enlaces/links5.htm","",0,18,150,"","","","","","",-1,-1,-1,"","");
       Menu10_6=new Array("6. Sobre Palenzuela","http://www.palenzuela.org/enlaces/links6.htm","",0,18,150,"","","","","","",-1,-1,-1,"","");

