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)}

if(navigator.appVersion.indexOf("MSIE 6.0")>0)
{
	effect = "Fade(duration=0.2);Alpha(style=0,opacity=88);Shadow(color='#777777', Direction=135, Strength=5)"
}
else
{
	effect = "Shadow(color='#777777', Direction=135, Strength=5)" // Stop IE5.5 bug when using more than one filter
}


timegap=100				// The time delay for menus to remain visible
followspeed=2			// Follow Scrolling speed
followrate=40			// Follow Scrolling Rate
suboffset_top=10;		// Sub menu offset Top position 
suboffset_left=10;		// 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.
"000000",					// Mouse Off Font Color
"CFCD84",				// Mouse Off Background Color
"000000",				// Mouse On Font Color
"E2E090",				// Mouse On Background Color
"000000",				// Menu Border Color 
10,						// Font Size in pixels
"normal",				// Font Style (italic or normal)
"normal",					// Font Weight (bold or normal)
"Verdana, Arial",		// Font Name
2,						// Menu Item Padding
"img/menu-arrow.gif",			// Sub Menu Image (Leave this blank if not needed)
,						// 3D Border & Separator bar
"666666",				// 3D High Color
"000099",				// 3D Low Color
"000000",				// Current Page Item Font Color (leave this blank to disable)
"CFCD84",					// Current Page Item Background Color (leave this blank to disable)
"img/menu-arrowdn.gif",			// Top Bar image (Leave this blank to disable)
"ffffff",				// Menu Header Font Color (Leave blank if headers are not needed)
"000099",				// 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
106,					// Menu Top - The Top position of the menu in pixels
75,				// Menu Left - The Left position of the menu in pixels
,					// Menu Width - Menus width in pixels
1,					// 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)
"left",				// 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
,					// 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

,"&nbsp;&nbsp;NOVEDADES&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;","show-menu=Novedades",,"",1
,"&nbsp;&nbsp;TEXTOS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;","show-menu=Textos",,"",1
,"&nbsp;&nbsp;DELFITOS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;","show-menu=Infantiles",,"",1
,"&nbsp;&nbsp;OFERTAS - SALDOS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;","show-menu=Ofertas",,"",1
,"&nbsp;&nbsp;AGOTADOS&nbsp;&nbsp;","secciones.aspx?idSeccion=34",,"Libros agotados",1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"&nbsp;&nbsp;A PEDIDO&nbsp;&nbsp;","libros_pedido.aspx",,"Libros a pedido",1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"



])

	addmenu(menu=["Novedades",
	,,185,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"<img src=img/menu-newsimage.gif border=0>&nbsp;Las ultimas novedades de &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;LIBRER&#205;AS DELFOS","show-menu=Novedades1",,,1
	])
	
		addmenu(menu=["Novedades1",
		,,170,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"<img src=img/menu-newsimage.gif border=0>&nbsp;&nbsp;Historia","secciones.aspx?idSeccion=1",,"Novedades: Historia",1
		,"<img src=img/menu-newsimage.gif border=0>&nbsp;&nbsp;Novela Historica","secciones.aspx?idSeccion=2",,"Novedades: Novela Historica",1
		,"<img src=img/menu-newsimage.gif border=0>&nbsp;&nbsp;Ficci&oacute;n","secciones.aspx?idSeccion=3",,"Novedades: Ficci&oacute;n",1
		,"<img src=img/menu-newsimage.gif border=0>&nbsp;&nbsp;Autoayuda","secciones.aspx?idSeccion=4",,"Novedades: Autoayuda",1
		,"<img src=img/menu-newsimage.gif border=0>&nbsp;&nbsp;Inform&#225;tica","secciones.aspx?idSeccion=5",,"Novedades: Inform&#225;tica",1
		,"<img src=img/menu-newsimage.gif border=0>&nbsp;&nbsp;Esoterismo","secciones.aspx?idSeccion=6",,"Novedades: Esoterismo",1
		,"<img src=img/menu-newsimage.gif border=0>&nbsp;&nbsp;No ficci&oacute;n","secciones.aspx?idSeccion=7",,"Novedades: No ficci&oacute;n",1
		,"<img src=img/menu-newsimage.gif border=0>&nbsp;&nbsp;Cocina","secciones.aspx?idSeccion=8",,"Novedades: Cocina",1
		,"<img src=img/menu-newsimage.gif border=0>&nbsp;&nbsp;Pol&#237;tica","secciones.aspx?idSeccion=9",,"Novedades: Pol&#237;tica",1
		,"<img src=img/menu-newsimage.gif border=0>&nbsp;&nbsp;Novela romantica","secciones.aspx?idSeccion=36",,"Novedades: Novela romantica",1		
])
	

	addmenu(menu=["Textos",
	,,170,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"<img src=img/menu-newsimage.gif border=0>&nbsp;&nbsp;Preescolar","secciones.aspx?idSeccion=10",,"Textos: Preescolar",1
	,"<img src=img/menu-newsimage.gif border=0>&nbsp;&nbsp;Primarios","secciones.aspx?idSeccion=11",,"Textos: Primarios",1
	,"<img src=img/menu-newsimage.gif border=0>&nbsp;&nbsp;Primer Ciclo EGB","secciones.aspx?idSeccion=12",,"Textos: Primer Ciclo EGB",1
	,"<img src=img/menu-newsimage.gif border=0>&nbsp;&nbsp;Segundo Ciclo EGB","secciones.aspx?idSeccion=13",,"Textos: Segundo Ciclo EGB",1
	,"<img src=img/menu-newsimage.gif border=0>&nbsp;&nbsp;Tercer Ciclo EGB","secciones.aspx?idSeccion=14",,"Textos: Tercer Ciclo EGB",1
	,"<img src=img/menu-newsimage.gif border=0>&nbsp;&nbsp;Secundario","secciones.aspx?idSeccion=15",,"Textos: Secundario",1
	,"<img src=img/menu-newsimage.gif border=0>&nbsp;&nbsp;Polimodal","secciones.aspx?idSeccion=16",,"Textos: Polimodal",1
	,"<img src=img/menu-newsimage.gif border=0>&nbsp;&nbsp;Universitarios","secciones.aspx?idSeccion=17",,"Textos: Universitarios",1
	,"<img src=img/menu-newsimage.gif border=0>&nbsp;&nbsp;Diccionarios","secciones.aspx?idSeccion=18",,"Textos: Diccionarios",1
	,"<img src=img/menu-newsimage.gif border=0>&nbsp;&nbsp;Ingl&#233;s","secciones.aspx?idSeccion=19",,"Textos: Ingl&#233;s",1
	
		
	])
	
	
	
	addmenu(menu=["Infantiles",,,160,1,,style1,0,"left",effect,0,,,,,,,,,,,
	,"<img src=img/menu-newsimage.gif border=0>&nbsp;&nbsp;De 0 a 3 a&#241;os","secciones.aspx?idSeccion=20",,"Infantiles: 0 a 3 a&#241;os",1
	,"<img src=img/menu-newsimage.gif border=0>&nbsp;&nbsp;3 a&#241;os a 7","secciones.aspx?idSeccion=21",,"Infantiles: 3 a 7 a&#241;os",1
	,"<img src=img/menu-newsimage.gif border=0>&nbsp;&nbsp;7 a 9 a&#241;os","secciones.aspx?idSeccion=22",,"Infantiles: 7 a 9 a&#241;os",1
	,"<img src=img/menu-newsimage.gif border=0>&nbsp;&nbsp;9 a 12","secciones.aspx?idSeccion=23",,"Infantiles: 9 a 12 a&#241;os",1
	,"<img src=img/menu-newsimage.gif border=0>&nbsp;&nbsp;Literatura juvenil","secciones.aspx?idSeccion=24",,"Infantiles: Literatura Juvenil",1
	
	
	])
	


	addmenu(menu=["Novedades",
	,,185,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"<img src=img/menu-newsimage.gif border=0>&nbsp;Las ultimas novedades de &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;LIBRER&#205;AS DELFOS","show-menu=Novedades1",,,1
	])
	
		addmenu(menu=["Ofertas",
		,,170,1,"",style1,,"left",effect,,,,,,,,,,,,
		,"<img src=img/menu-newsimage.gif border=0>&nbsp;&nbsp;Historia","secciones.aspx?idSeccion=25",,"Ofertas y Saldos: Historia",1
		,"<img src=img/menu-newsimage.gif border=0>&nbsp;&nbsp;Novela Historica","secciones.aspx?idSeccion=26",,"Ofertas y Saldos: Novela Historica",1
		,"<img src=img/menu-newsimage.gif border=0>&nbsp;&nbsp;Ficci&oacute;n","secciones.aspx?idSeccion=27",,"Ofertas y Saldos: Ficci&oacute;n",1
		,"<img src=img/menu-newsimage.gif border=0>&nbsp;&nbsp;Autoayuda","secciones.aspx?idSeccion=28",,"Ofertas y Saldos: Autoayuda",1
		,"<img src=img/menu-newsimage.gif border=0>&nbsp;&nbsp;Inform&#225;tica","secciones.aspx?idSeccion=29",,"Ofertas y Saldos: Inform&#225;tica",1
		,"<img src=img/menu-newsimage.gif border=0>&nbsp;&nbsp;Esoterismo","secciones.aspx?idSeccion=30",,"Ofertas y Saldos: Esoterismo",1
		,"<img src=img/menu-newsimage.gif border=0>&nbsp;&nbsp;No ficci&oacute;n","secciones.aspx?idSeccion=31",,"Ofertas y Saldos: No ficci&oacute;n",1
		,"<img src=img/menu-newsimage.gif border=0>&nbsp;&nbsp;Cocina","secciones.aspx?idSeccion=32",,"Ofertas y Saldos: Cocina",1
		,"<img src=img/menu-newsimage.gif border=0>&nbsp;&nbsp;Pol&#237;tica","secciones.aspx?idSeccion=33",,"Ofertas y Saldos: Pol&#237;tica",1
		,"<img src=img/menu-newsimage.gif border=0>&nbsp;&nbsp;Novela romantica","secciones.aspx?idSeccion=37",,"Ofertas y Saldos: Novela romantica",1		

])



dumpmenus()
