
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)}

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=13;			// 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.
"003366",				// Mouse Off Font Color
"C6E9FF",			// Mouse Off Background Color
"white",			// Mouse On Font Color				
"003366",			// Mouse On Background Color
"003366",			// Menu Border Color 
11,					// Font Size in pixels
"normal",			// Font Style (italic or normal)
"normal",				// Font Weight (bold or normal)
"Verdana, Arial",	// Font Name
2,					// Menu Item Padding
"images/tri.gif",	// Sub Menu Image (Leave this blank if not needed)
0,					// 3D Border & Separator bar
"66ffff",			// 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)
"images/tri.gif",		// Top Bar image (Leave this blank to disable)
,			// Menu Header Font Color (Leave blank if headers are not needed)
"C6E9FF",			// Menu Header Background Color (Leave blank if headers are not needed)
"003366",				// Menu Item Separator Color
]

style3=[					// 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
"cccccc",					// Mouse Off Background Color
"white",					// Mouse On Font Color
"666666",				// Mouse On Background Color
"999999",					// Menu Border Color 
10,							// 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)
"Verdana, Tahoma, Arial, Helvetica, sans-serif",	// Font Name
2,							// Menu Item Padding
"images/tri.gif",	// Sub Menu Image (Leave this blank if not needed)
,							// 3D Border & Separator bar
"black",					// 3D High Color
"black",					// 3D Low Color
,					// Current Page Item Font Color (leave this blank to disable)
,						// Current Page Item Background Color (leave this blank to disable)
"images/tri.gif",	// 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)
]


//effect2 = "Alpha( style=0,opacity=65)"
//effect=""


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
100,					// Menu Top - The Top position of the menu in pixels
0,				// Menu Left - The Left position of the menu in pixels
150,					// Menu Width - Menus width in pixels
,					// 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
,					// Filter - Text variable for setting transitional effects on menu activation - see above for more info
0,					// 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
,					// 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
,"&nbsp; Home","index.html",,"Home",0 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"&nbsp;","# type=header;align=center;",,"",1
,"&nbsp; Welcome","welcome.html",,"Welcome",1
,"&nbsp; About Fiji","about.html",,"About Fiji",1
,"&nbsp; Consular Services","services.html",,"Consular Services",1
,"&nbsp; Investor Guide","investor.html",,"Investor Guide",1
,"&nbsp; Tourist Guide","tourist.html",,"Tourist Guide",1
,"&nbsp;","# type=header;align=center;",,"",
,"&nbsp; About Us","aboutus.html",,"About Us",0
])

addmenu(menu=["about","offset=5",,300,1,"",style1,,"",,,,,,,,,,,,,
,"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;History and People", "x.html",,,
,"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Government and External Relations", "x.html",,,
,"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Agriculture", "x.html",,,
,"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Economy", "x.html",,,
,"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Education", "x.html",,,
,"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Health, Social Welfare and Living Standards", "x.html",,,
,"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Media", "x.html",,,
,"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Recreation and Sports", "x.html",,,
,"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tourism", "x.html",,,
,"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Trade and Industry", "x.html",,,
,"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Transport, Communications and Energy", "x.html",,,
])




dumpmenus();