// Milonic DHTML Menu
// please note that major changes to this file have been made.
//
// You no longer need to number your menus as in previous versions. 
// The new menu structure allows you to name the menu instead. This means that you to remove menus and not break the system.
// The structure should also be much easier to modify, add & remove menus and menu items.
// 
// If you are having difficulty with the menu please read the FAQ at http://www.milonic.co.uk/menu/faq.php before contacting us.
//
// Please note that the above text CAN be erased if you wish.



// The following line is critical for menu operation, and must appear only once.
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

////////////////////////////////////
// Editable properties START here //
////////////////////////////////////
if(document.all){
  browserWidth = document.body.clientWidth;
}else{
  browserWidth = innerWidth;
}

posicao = (browserWidth - 700)/2;
if (isNaN(posicao)) {
	posicao= 80;
}

effect = "Fade(duration=0.2);Alpha(style=0,opacity=80);Shadow(color='#777777', Direction=135, Strength=5)" // Special effect string for IE5.5 or above please visit http://www.milonic.co.uk/menu/filters_sample.php for more filters

timegap=500					// The time delay for menus to remain visible
followspeed=5				// Follow Scrolling speed
followrate=40				// Follow Scrolling Rate
suboffset_top=8;			// Sub menu offset Top position
suboffset_left=10;		// Sub menu offset Left position


plain_style=[				// Menu Properties Array
"white",						// Off Font Color
"012267",					// Off Back Color
"FFEBCD",					// On Font Color
"3e598e",					// On Back Color
"000000",					// Border Color
10,							// Font Size
"normal",					// Font Style
"bold",						// Font Weight
"Verdana, Tahoma, Arial, Helvetica",	// Font
4,							// Padding
"arrow.png"			   // Sub Menu Image
,							// 3D Border & Separator
,"66ccff"					// 3D High Color
,"000099"					// 3D Low Color
]


addmenu(menu=[				// This is the array that contains your menu properties and details
"simplemenu1",				// Menu items Name
93,						// Top
posicao,						// left
,							// Width
0,							// Border Width
,							// Screen Position - here you can use "center;left;right;middle;top;bottom"
plain_style,				// Properties Array - this is set higher up, as above
1,							// Always Visible - allows the menu item to be visible at all time
"left",						// Alignment - sets the menu elements alignment, HTML values are valid here for example: left, right or center
,							// Filter - Text variable for setting transitional effects on menu activation
1,							// Follow Scrolling - Tells the menu item to follow the user down the screen
1, 							// Horizontal Menu - Tells the menu to be horizontal instead of top to bottom style
,							// Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page
,							// Position of sub image left:center:right:middle:top:bottom
,							// Show an image on top menu bars indicating a sub menu exists below
,							// Reserved for future use
,							// Reserved for future use
,							// Reserved for future use
,,,
,"apresentação","apresent.php",,"",1
,"material didático","show-menu=material",,"",1
,"apoio didático","show-menu=apoio",,"",1
,"cad","show-menu=cad",,"",1
,"links","show-menu=links",,"",1
,"Home","index.php",,,1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
])

addmenu(menu=["material",,,170,1,"",plain_style,,"left",effect,,,,,,,,,,,,
,"introdução","material0.php",,,1
,"histórico","material1.php",,,1
,"faculdades","material2.php",,,1
,"grátis","material3.php",,,1
,"publicações","material4.php",,,1
,"colaboradores","material5.php",,,1
])

addmenu(menu=["apoio",,,120,1,"",plain_style,,"left",effect,,,,,,,,,,,,
	,"Unip","show-menu=unip",,,1
	,"Fei","show-menu=fei",,,1
	,"São Judas","show-menu=saojudas",,,1
	])

addmenu(menu=["unip",,,170,1,"",plain_style,,"left",effect,,,,,,,,,,,,
,"Des Tec 2003","sol3.php",,,1
,"Des Tec 2002","sol2.php",,,1
,"Des Tec 2001","sol1.php",,,1
,"Des Tec 2000","sol.php",,,1
,"gabaritos","unip2.php",,,1
,"exercícios","unip3.php",,,1
,"programa","unip4.php",,,1
])

addmenu(menu=["fei",,,170,1,"",plain_style,,"left",effect,,,,,,,,,,,,
,"DT-I  2001","fei1b.php",,,1
,"DT-II 2001","fei1a.php",,,1
,"gabaritos","fei2.php",,,1
,"exercícios","fei3.php",,,1
,"programa","fei4.php",,,1
])

addmenu(menu=["saojudas",,,170,1,"",plain_style,,"left",effect,,,,,,,,,,,,
,"DT-I  2001","sjudas1b.php",,,1
,"DT-II 2001","sjudas1a.php",,,1
,"gabaritos","sjudas2.php",,,1
,"exercícios","sjudas3.php",,,1
,"programa","sjudas4.php",,,1
])

addmenu(menu=["cad",,,170,1,"",plain_style,,"left",effect,,,,,,,,,,,,
,"considerações","cad1.php",,,1
,"tutoriais","cad2.php",,,1
])

addmenu(menu=["links",,,170,1,"",plain_style,,"left",effect,,,,,,,,,,,,
,"escolas","links1.php",,,1
,"instituições","links2.php",,,1
,"cad","links3.php",,,1
,"empresas","links4.php",,,1
])

dumpmenus()
