// 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 //
////////////////////////////////////


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


hlp=[						// Menu Properties Array
"FFFFFF",					// Off Font Color
"999999",					// Off Back Color
"686868",					// On Font Color
"999999",					// On Back Color
"FFFFFF",					// Border Color
10,							// Font Size
"normal",					// Font Style
"normal",					// Font Weight
"Arial, Helvetica, sans-serif",	// Font
2,							// Padding
"images/arrow.gif"			// Sub Menu Image
,0							// 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
162,						// Top
415,						// left
150,						// Width
1,							// Border Width
,							// Screen Position - here you can use "center;left;right;middle;top;bottom"
hlp,						// Properties Array - this is set higher up, as above
,							// 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
"Fade(duration=0.5)",		// Filter - Text variable for setting transitional effects on menu activation
,							// Follow Scrolling - Tells the menu item to follow the user down the screen
, 							// 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
,,,
,"Video","video.html",,,0 // "Name", "URL", "Alternate URL", "Status", "Separator Bar"
,"Audio","video.html",,,0
,"Graphics","video.html",,,0
])

addmenu(menu=[				// This is the array that contains your menu properties and details
"simplemenu2",				// Menu items Name
162,						// Top
515,						// left
150,						// Width
1,							// Border Width
,							// Screen Position - here you can use "center;left;right;middle;top;bottom"
hlp,						// Properties Array - this is set higher up, as above
,							// 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
"Fade(duration=0.5)",		// Filter - Text variable for setting transitional effects on menu activation
,							// Follow Scrolling - Tells the menu item to follow the user down the screen
, 							// 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
,,,
,"Clientel","#",,,0 // "Name", "URL", "Alternate URL", "Status", "Separator Bar"
,"Portfolio / Demo Reel","#",,,0
])

	
	addmenu(menu=["simplesub1",
	,,186,1,"",hlp,,,"RandomDissolve(duration=0.4)",,,,,,,,,,,,
	,"Sub menu 1 item 1", "http://www.yahoo.com",,,0
	,"Sub menu 1 item 2 with a sub menu", "show-menu=simplesub2",,,0
	,"Sub menu 1 item 3","http://www.microsoft.com",,,0
	])
	


		addmenu(menu=["simplesub2",,,150,1,"",hlp,,,"Fade(duration=0.4)",,,,,,,,,,,,
		,"Back to home page", "index.php",,,1
		,"Open Self In  New Window", "/menu/easy_sample.php target=new",,,1
		,"Open JavaScript Popup","javascript:alert(\"Popping&nbsp;Up&nbsp;an&nbsp;Alert&nbsp;Box\")",,,1
		])
	

dumpmenus()