/*
 Milonic DHTML Website Navigation Menu - Version 3.x
 Written by Andy Woolley - Copyright 2002 (c) Milonic Solutions Limited. All Rights Reserved.
 Please visit http://www.milonic.co.uk/menu or e-mail menu3@milonic.com for more information.
 
 The Free use of this menu is only available to Non-Profit, Educational & Personal web sites.
 Commercial and Corporate licenses  are available for use on all other web sites & Intranets.
 All Copyright notices MUST remain in place at ALL times and, please keep us informed of your 
 intentions to use the menu and send us your URL.
*/


//The following line is critical for menu operation, and MUST APPEAR ONLY ONCE. If you have more than one menu_array.js file rem out this line in subsequent files
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)}
//Please leave the above line intact. The above also needs to be enabled if it not already enabled unless this file is part of a multi pack.



////////////////////////////////////
// Editable properties START here //
////////////////////////////////////

// Special effect string for IE5.5 or above please visit http://www.milonic.co.uk/menu/filters_sample.php for more filters
effect = "Fade(duration=0.2);Alpha(style=0,opacity=88);Shadow(color='#777777', Direction=135, Strength=5)"


timegap=500		// The time delay for menus to remain visible
followspeed=5		// Follow Scrolling speed
followrate=40		// Follow Scrolling Rate
suboffset_top=10;		// Sub menu offset Top position 
suboffset_left=10;		// Sub menu offset Left position
closeOnClick = true

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.
"ff9900",			// Mouse Off Font Color
"000000",			// Mouse Off Background Color
"ffcc00",			// Mouse On Font Color
"01474f",			// Mouse On Background Color
"000000",			// Menu Border Color 
12,			// Font Size in pixels
"normal",			// Font Style (italic or normal)
"bold",			// Font Weight (bold or normal)
"trebuchet, Helvetica, arial",		// Font Name
4,			// Menu Item Padding
"",			// Sub Menu Image (Leave this blank if not needed)
,			// 3D Border & Separator bar
"ff6600",			// 3D High Color
"ffffff",			// 3D Low Color
,			// Current Page Item Font Color (leave this blank to disable)
,			// Current Page Item Background Color (leave this blank to disable)
,			// Top Bar image (Leave this blank to disable)
"ffffff",			// Menu Header Font Color (Leave blank if headers are not needed)
"ff6600",			// Menu Header Background Color (Leave blank if headers are not needed)
"",			// Menu Item Separator Color
]


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
69,			// Menu Top - The Top position of the menu in pixels
200,			// Menu Left - The Left position of the menu in pixels
,			// Menu Width - Menus width in pixels
,			// Menu Border Width 
"right",			// 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
,			// 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
1,			// 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)
1,			// 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)
,			// Background image for menu when BGColor set to transparent.
,			// Scrollable Menu
,			// Reserved for future use
,"","",,"", // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"Inici&nbsp;&nbsp;&nbsp;","http://www.uned-terrassa.es/",,"",1
//,"CUID&nbsp;&nbsp;","http://www.uned-terrassa.es/arees/serveis/cuid",,"",1
,"La&nbsp;UNED&nbsp;&nbsp;","show-menu=launed",,"",1
,"<font color='#FFFF00'>ESTUDIS</font>&nbsp;&nbsp;","show-menu=estudis",,"",1
,"<font color='#FFFF00'>ESTUDIANTS</font>&nbsp;&nbsp;","http://www.uned-terrassa.es/arees/informacio/estudiants",,"",1
,"<font color='#FFFF00'>TUTORS</font>&nbsp;&nbsp;","http://www.uned-terrassa.es/arees/informacio/tutor",,"",1
,"<font color='#339966'>BIBLIOTECA</font>&nbsp;&nbsp;","http://www.uned-terrassa.es/arees/biblioteca",,"",1
//,"ORIENTACIÓ&nbsp;&nbsp;","http://www.uned-terrassa.es/arees/serveis/coie",,"",1
//,"Serveis&nbsp;&nbsp;","show-menu=serveis",,"",1
])
	
	addmenu(menu=["estudis",,,120,1,,style1,0,"left",,0,,,,,,,,,,,
	,"Graus","http://www.uned-terrassa.es/arees/informacio/estudis/graus",,,1
	,"Diplomatures","http://www.uned-terrassa.es/arees/informacio/estudis/diplomatures",,,1
	,"Llicenciatures","http://www.uned-terrassa.es/arees/informacio/estudis/llicenciatures",,,1
	,"Enginyeries","http://www.uned-terrassa.es/arees/informacio/estudis/enginyeries",,,1
	,"Curs d'accés majors de 25 i 45 anys","http://www.uned-terrassa.es/arees/informacio/estudis/cad",,,1
	,"Doctorats","http://portal.uned.es/portal/page?_pageid=93,559531&_dad=portal&_schema=PORTAL",,,1
	,"Masters Oficials","http://www.uned-terrassa.es/arees/informacio/estudis/masters",,,1
	,"Implantació de Graus","http://portal.uned.es/portal/page?_pageid=93,1416571&_dad=portal&_schema=PORTAL",,,1
	//,"Horaris tutories","http://www.uned-terrassa.es/arees/informacio/estudis/horaris",,,1
	,"CUID","http://www.uned-terrassa.es/arees/cuid",,,1
	,"Universitat Gent Gran","http://www.uned-terrassa.es/arees/gentgran",,,1
	])
	
	//addmenu(menu=["matricula",
	//,,140,1,"",style1,,"",,,,,,,,,,,,,
	//,"Com et pots matricular?","http://www.uned-terrassa.es/arees/informacio/matricula",,,1
	//])
	
	addmenu(menu=["launed",
	,,120,1,"",style1,,"left",,,,,,,,,,,,,
		//,"Organització i govern","http://www.uned-terrassa.es/arees/informacio/organitzacio",,,1
		,"Model docent","http://www.uned-terrassa.es/arees/informacio/modelo",,,1
		,"La missió","http://www.uned-terrassa.es/arees/elcentre/missio",,,1
		//,"La UNED en xifres","http://www.uned-terrassa.es/arees/elcentre/xifres",,,1
	])
	
	addmenu(menu=["serveis",
	,,140,1,"",style1,,"",,,,,,,,,,,,,
	//,"Llibreria","http://www.uned-terrassa.es/arees/serveis/llibreria",,,1
	,"Punt d'Informació","http://www.uned-terrassa.es/arees/informacio",,,1
	//,"Aula informàtica","http://www.uned-terrassa.es/arees/serveis/informatica",,,1
	//,"Aula d'estudis","http://www.uned-terrassa.es/arees/serveis/aula_estudis",,,1
	,"COIE","http://www.uned-terrassa.es/arees/serveis/coie",,,1

	])
	
	addmenu(menu=["practiques",
	,,140,1,"",style1,,"",,,,,,,,,,,,,
	,"Info. general","http://www.uned-terrassa.es/arees/practiques/informaciogeneral",,,1
	,"CC. Físiques","http://www.uned-terrassa.es/arees/practiques/07",,,1
	,"CC. Matemàtiques","http://www.uned-terrassa.es/arees/practiques/08",,,1
	,"CC. Químiques","http://www.uned-terrassa.es/arees/practiques/09",,,1
	,"Eng. Industrial","http://www.uned-terrassa.es/arees/practiques/52",,,1
	,"CC. Ambientals","http://www.uned-terrassa.es/arees/practiques/60",,,1
	,"Eng. Tec. Ind. Electrònica","http://www.uned-terrassa.es/arees/practiques/62",,,1
	,"Eng. Tec. Ind. Mecànica","http://www.uned-terrassa.es/arees/practiques/63",,,1
	,"Eng. Tec. Ind. Electricitat","http://www.uned-terrassa.es/arees/practiques/64",,,1
	
	])
	

	

dumpmenus()
