timegap=500		// The time delay for menus to remain visible on mouse off
followspeed=5	// Follow Scrolling speed (higher the scrolling smoother but slower)
followrate=40	// Follow Scrolling Rate (use a minimum of 40 or you may experience problems)
suboffset_top=6;			// Sub menu offset Top position 
suboffset_left=2;			// Sub menu offset Left position

if(navigator.appVersion.indexOf("MSIE 6.0")>0)
{
	effect = "Fade(duration=0.2);Shadow(color='#777777', Direction=135, Strength=5)"
}
else
{
	effect = "Shadow(color='#777777', Direction=135, Strength=5)"
}

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)}


style1=[	// style1 is an array of properties. 
"000066",				// Mouse Off Font Color
"fffacd",				// Mouse Off Background Color
"ffff00",				// Mouse On Font Color
"cc3300",				// Mouse On Background Color
"00008B",				// Menu Border Color
"9px",				// Font Size in pixels
"normal",				// Font Style (italic or normal)
"normal",				// Font Weight (bold or normal)
"Verdana, Tahoma, Arial, sans-serif;",	// Font Name
3,					// Menu Item Padding
"/images/orange3darrow.gif",	// Sub Menu Image (Leave this blank if not needed)
,					// 3D Border & Separator bar
"66ffff",				// 3D High Color
"000099",				// 3D Low Color
,					// Referer Item Font Color (leave this blank to disable)
,					// Referer Item Background Color (leave this blank to disable)
"arrowdn.gif",			// Top Bar image (Leave this blank to disable)
"ffffff",				// Menu Header Font Color (Leave blank if headers are not needed)
"336699",				// Menu Header Background Color (Leave blank if headers are not needed)
]



//effect2 = "Alpha( style=0,opacity=65)"
//effect=""


addmenu(menu=[
"sidemenu",
80,
4,
88,
1,
,
style1,
1,
"center",
effect,
1,
,
,
,
,
,
,
,
,
,
,
,"<b>Menú</b>","# type=header;align=center;",,"",1
,"Introducción","torcal.html#intro",,,1
,"Mapas","torcal.html#mapas",,,1
,"Rutas","torcal.html#rutas",,,1
,"Fotos","../album.html",,,1
,"Otra Info","torcal.html#otrainfo",,,1
])

dumpmenus();
