menunum=0;menus=new Array();_d=document;function addmenu(){menunum++;menus[menunum]=menu;}function dumpmenus(){mt="<scr"+"ipt language=javascript>";for(a=1;a<menus.length;a++){mt+=" menu"+a+"=menus["+a+"];"}mt+="<\/scr"+"ipt>";_d.write(mt)}

effect = "Fade(duration=0.5);Alpha(opacity=80);Shadow(color='#777777', Direction=135, Strength=5)"


timegap=500			// The time delay for menus to remain visible
followspeed=8		// Follow Scrolling speed
followrate=50		// Follow Scrolling Rate
suboffset_top=4;	// Sub menu offset Top position 
suboffset_left=6;	// 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.
"ffffff",			// Mouse Off Font Color
"ffcc00",			// Mouse Off Background Color
"ffffff",		            // Mouse On Font Color
"666666",			// Mouse On Background Color
"ffcc00",			// Menu Border Color 
9,			// Font Size in pixels
"normal",			// Font Style (italic or normal)
"normal",					// Font Weight (bold or normal)
"Verdana,Tahoma,Helveticas",	// Font Name
0,					// Menu Item Padding
"",		// Sub Menu Image (Leave this blank if not needed)
0,					// 3D Border & Separator bar
"ffffff",					// 3D High Color
"000099",					// 3D Low Color
"",					// 瀏覽過 字形 顏色 Referer item Font Color (leave this blank to disable)
"3b78de",				// 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)
"000099",			// Menu Header Background Color (Leave blank if headers are not needed)
"",				// Menu Item Separator Color
]




style2=[			// 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.
"333333",			// Mouse Off Font Color
"ffdd53",			// Mouse Off Background Color
"333333",		            // Mouse On Font Color
"ffffff",			// Mouse On Background Color
"ffdd53",			// Menu Border Color 
9,			// Font Size in pixels
"normal",			// Font Style (italic or normal)
"normal",					// Font Weight (bold or normal)
"Tahoma,Verdana,Helveticas",	// Font Name
3,					// Menu Item Padding
"",		// Sub Menu Image (Leave this blank if not needed)
0,					// 3D Border & Separator bar
"ffffff",					// 3D High Color
"000099",					// 3D Low Color
"",					// 瀏覽過 字形 顏色 Referer item Font Color (leave this blank to disable)
"3b78de",				// 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)
"000099",			// 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
80,					// Menu Top - The Top position of the menu in pixels
0,				    // Menu Left - The Left position of the menu in pixels
60,					// Menu Width - Menus width in pixels
0,					// Menu Border Width 
"left",	                                             // 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)
"center",				// 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)
,					// 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
,					// 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)
,					// 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
,"<img border=0 src=eng_about.gif>","show-menu=menu1",,"About Us",1  // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"<img border=0 src=eng_services.gif>","show-menu=menu2",,"Services",1
,"<img border=0 src=eng_activity.gif>","show-menu=menu3",,"Activity",1
,"<img border=0 src=eng_others.gif>","show-menu=menu4",,"Others",1
,"<img border=0 src=eng_contacts.gif>","show-menu=menu5",,"Contacts",1

])
	addmenu(menu=["menu1",,,125,1,,style2,0,"left",effect,0,,,,,,,,,,,
	,"&nbsp;&nbsp;About the Centre","eng_title_01_page_001.htm",,"About the Centre",1
             ,"&nbsp;&nbsp;Objective","eng_title_01_page_002.htm",,"Objective",1
             ,"&nbsp;&nbsp;Who we are","eng_title_01_page_003.htm",,"Who we are",1
			 ,"&nbsp;&nbsp;Mediator","eng_title_01_page_005.htm",,"Mediator",1
	])


	addmenu(menu=["menu2",,,170,1,,style2,0,"left",effect,0,,,,,,,,,,,
	,"&nbsp;&nbsp;Knowledge","eng_title_02_page_001.htm",,"Knowledge",1
             ,"&nbsp;&nbsp;Family Mediation Service","eng_title_02_page_002.htm",,"Family Mediation Service",1
             ,"&nbsp;&nbsp;Community mediation","eng_title_02_page_003.htm",,"Community mediation",1
			 ,"&nbsp;&nbsp;Peer Mediation","eng_title_02_page_008.htm",,"Peer Mediation",1
			 ,"&nbsp;&nbsp;Divorce Line","eng_title_02_page_010.htm",,"Divorce Line",1
			 ,"&nbsp;&nbsp;Application for Family Mediation Service","eng_title_02_page_009.htm",,"Application for Family Mediation Service",1
             ,"&nbsp;&nbsp;Application for Community Mediation Service","eng_title_02_page_004.htm",,"Application for Community Mediation Service",1
             ,"&nbsp;&nbsp;Legal Consultation Seminar","eng_title_02_page_005.htm",,"Legal Consultation Seminar",1
             ,"&nbsp;&nbsp;Free Legal Consultation","eng_title_02_page_006.htm",,"Free Legal Consultation",1
	])


	addmenu(menu=["menu3",,,125,1,,style2,0,"left",effect,0,,,,,,,,,,,
	,"&nbsp;&nbsp;Training course","eng_title_03_page_001.htm",,"Training course",1
	,"&nbsp;&nbsp;Live Supervision","eng_title_03_page_004.htm",,"Live Supervision",1
	])

	addmenu(menu=["menu4",,,125,1,,style2,0,"left",effect,0,,,,,,,,,,,
	,"&nbsp;&nbsp;Information","eng_title_04_page_001.htm",,"Informations",1
	,"&nbsp;&nbsp;volunteer lawyers","eng_title_04_page_006.htm",,"volunteer lawyers",1
            
	])

	addmenu(menu=["menu5",,,125,1,,style2,0,"left",effect,0,,,,,,,,,,,
	,"&nbsp;&nbsp;Contact","eng_title_05_page_001.htm",,"Contact",1
             ,"&nbsp;&nbsp;Map","eng_title_05_page_002.htm",,"Map",1
	])

dumpmenus()
