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

////////////////////////////////////
// Editable properties START here //
////////////////////////////////////
timegap=500		// The time delay for menus to remain visible on mouse off
followspeed=5		// Follow Scrolling speed (higher number makes the scrolling smoother but slower)
followrate=40		// Follow Scrolling Rate (use a minimum of 40 or you may experience problems)
suboffset_top=0;	// Sub menu offset Top position 
suboffset_left=-5;	// 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.
"800000",		// Mouse Off Font Color
"fffacd",		// Mouse Off Background Color
"ffff00",		// Mouse On Font Color
"F10603",		// Mouse On Background Color
"028700",		// Menu Border Color
"10px",			// Font Size in pixels
"normal",		// Font Style (italic or normal)
"normal",		// Font Weight (bold or normal)
"Verdana",		// Font Name
3,			// Menu Item Padding
"images/plus.gif",	// Sub Menu Image (Leave this blank if not needed)
1,			// 3D Border & Separator bar
"028700",		// 3D High Color
"f7f709",		// 3D Low Color
,			// Referer Item Font Color (leave this blank to disable)
,			// Referer Item Background Color (leave this blank to disable)
"images/minus.gif",	// Top Bar image (Leave this blank to disable)
"800000",		// Menu Header Font Color (Leave blank if headers are not needed)
"f7f709",		// Menu Header Background Color (Leave blank if headers are not needed)
]

addmenu(menu=[		// This is the array that contains your menu properties and details
"sidemenu",		// Menu Name - This is needed in order for the menu to be called
140,			// Menu Top - The Top position of the menu in pixels
10,			// Menu Left - The Left position of the menu in pixels
100,			// 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
1,			// Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times) (1=on/0=off)
0,			// Horizontal Menu - Tells the menu to become horizontal instead of top to bottom style (1=on/0=off)
,			// 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
,			// ..Now Obsolete..
,			// 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
			//"Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"<img src=images/home.gif align=left border=0>&nbsp;Home","index.php",,,1
,"<img src=images/iconeMALI.jpg align=left width=20><b>The Association</b>","# type=header;align=center;",,"",1
,"Les News","news.php",,,1
,"Events","show-menu=events",,,1
,"Gallery","album.php",,,1
,"Objective","objective.php",,,1
,"Committee Members","member.php",,,1
,"Contacts us","contact.php",,,1
])

addmenu(menu=[		// This is the array that contains your menu properties and details
"sidemenu",		// Menu Name - This is needed in order for the menu to be called
140,			// Menu Top - The Top position of the menu in pixels
725,			// Menu Left - The Left position of the menu in pixels
100,			// 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
1,			// Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times) (1=on/0=off)
0,			// Horizontal Menu - Tells the menu to become horizontal instead of top to bottom style (1=on/0=off)
,			// 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
,			// ..Now Obsolete..
,			// 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
			//"Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"<img src=images/print.gif align=left border=0>&nbsp;Print","javascript:self.print()",,,1
,"<b>Communication</b>","# type=header;align=center;",,"",1
,"Links","links.php",,,1
,"Useful Information","show-menu=uinfo",,,1
,"Forum","javascript:launch(\"forum/\",750,500)",,"Go on our forum based on phpBB technology",1
,"<b>Membership</b>","membership.php",,"",1
//,"<div name=subscribeform id=subscribeform style=\"position:relative;\"><form action=register.php method=post><table border=0 align=left><tr><td align=left>Pseudo</td><td><input name=pseudo size=4></td></tr><tr><td align=left>PIN</td><td><input type=password size=4 name=mdp></td></tr><tr><td colspan=2 align=center><input type=submit value=\"Log In\"></td></tr></table></form></div>","# type=form;align=center;",,"",1
])

	addmenu(menu=["events",,,130,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Events of the month","eventsm.php",,"",1
	,"Events of the year","eventsy.php",,"",1
	,"All events","events.php",,"",1
	])
	
	addmenu(menu=["uinfo",,,130,1,"",style1,,"left",effect,,,,,,,,,,,,
	,"Useful information for Malians in UK","ulinksUK.php",,,1
	,"Useful information about MALI","ulinksMALI.php",,,1
	])
	
dumpmenus();
