//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)}

////////////////////////////////////
// Editable properties START here //
////////////////////////////////////

contextpath = ""         // Context path of the application

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

EasySampleStyle=[             // EasySampleStyle is an array of properties. You can have as many property arrays as you need
"FFFFFF",                     // Mouse Off Font Color
"607EBA",                     // Mouse Off Background Color (use zero for transparent in Netscape 6)
"ffff00",                     // Mouse On Font Color
"20578D",                     // Mouse On Background Color
"000000",                     // Menu Border Color
"12",                         // Font Size (default is px but you can specify mm, pt or a percentage)
"normal",                     // Font Style (italic or normal)
"normal",                     // Font Weight (bold or normal)
"arial,sans ms,helvetica",    // Font Name
5,                            // Menu Item Padding or spacing
,                             // Sub Menu Image (Leave this blank if not needed)
1,                            // 3D Border & Separator bar
"66ccff",                     // 3D High Color
"000099",                     // 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)
,                             // Menu Header Font Color (Leave blank if headers are not needed)
,                             // Menu Header Background Color (Leave blank if headers are not needed)
,                             // Menu Item Separator Color
]


//////////// SubMenu for 下載區 //////////// 
addmenu(menu=[
"menu0",
200,
729,
150,
1,
,
EasySampleStyle,
0,
,
"RandomDissolve(duration=0.1)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"2004年行政長官選舉","http://www.ce-election.gov.mo/",,"2004年行政長官選舉",
])

//////////// SubMenu for 下載區 //////////// 
addmenu(menu=[
"menu1",
230,
729,
210,
1,
,
EasySampleStyle,
0,
,
"RandomDissolve(duration=0.1)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"Eleição do Chefe do Executivo 2004","http://www.ce-election.gov.mo/index_p.htm",,"Eleição do Chefe do Executivo 2004",
])

addmenu(menu=[
"menu2",
471,
230,
130,
1,
,
EasySampleStyle,
0,
,
"RandomDissolve(duration=0.1)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"2005年立法會選舉","http://www.el2005.gov.mo/CN/default.asp",,"2005年立法會選舉",
,"2001年立法會選舉","http://www.informac.gov.mo/el/RST/Reporti.htm",,"2001年立法會選舉",
])

addmenu(menu=[
"menu3",
501,
230,
270,
1,
,
EasySampleStyle,
0,
,
"RandomDissolve(duration=0.1)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"Eleições para a Assembleia Legislativa 2005","http://www.el2005.gov.mo/PT/default.asp",,"Eleições para a Assembleia Legislativa 2005",
,"Eleições para a Assembleia Legislativa 2001","http://www.informac.gov.mo/el/RST/Reporti.htm",,"Eleições para a Assembleia Legislativa 2001",
])

addmenu(menu=[
"menu4",
472,
675,
100,
1,
,
EasySampleStyle,
0,
,
"RandomDissolve(duration=0.1)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"自然人選民登記","http://www.re.gov.mo/re/public/html.jsf?lang=zh_TW",,"自然人選民登記",
,"法人選民登記","http://www.re.gov.mo/re/public/co.jsf?lang=zh_TW",,"法人選民登記",
])

addmenu(menu=[
"menu5",
500,
675,
290,
1,
,
EasySampleStyle,
0,
,
"RandomDissolve(duration=0.1)",
0,
0,
0,
,
,
0,
0,
,
,
0,
,
,"Recenseamento eleitoral de pessoas singulares","http://www.re.gov.mo/re/public/html.jsf?lang=pt",,"Recenseamento eleitoral de pessoas singulares",
,"Recenseamento eleitoral de pessoas colectivas","http://www.re.gov.mo/re/public/co.jsf?lang=pt",,"Recenseamento eleitoral de pessoas colectivas",
])
dumpmenus();
	