var menu = new Array();// Default colours passed to most menu constructors (just passed to functions, not// a global variable - makes things easier to change later in bulk).//var defOver = '#336699', defBack = '#003366';var defOver = '#E6E6E6', defBack = '#FFFFFF';// Default 'length' of menu items - item height if menu is vertical, width if horizontal.var defLength = 18;// Menu 0 is the special, 'root' menu from which everything else arises.menu[0] = new Array();// A non-vertical menu with a few different colours and no popout indicator, as an example.// *** MOVE ROOT MENU AROUND HERE ***  it's positioned at (5, 0) and is 17px high now.menu[0][0] = new Menu(false, '', 380, 100, 18, '#E6E6E6', '#FFFFFF', '', 'itemText');// Notice how the targets are all set to nonzero values...// The 'length' of each of these items is 40, and there is spacing of 10 to the next item.// Most of the links are set to '#' hashes, make sure you change them to actual files.menu[0][1] = new Item('<table width="137" cellspacing="0" cellpadding="0" border="0"><tr><td width="137" height="18" background=/VG_Brands/MBE/images/button_frame.gif><span class="itemText"><strong><A HREF="##">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MY &nbsp;mybiz</A></strong></span></td></tr></table>', '#', '', 137, 4, 1);menu[0][2] = new Item('<table width="137" cellspacing="0" cellpadding="0" border="0"><tr><td width="137" height="18" background=/VG_Brands/MBE/images/button_frame.gif><span class="itemText"><strong><A HREF="##">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;My Account</A></strong></span></td></tr></table>', '#', '', 137, 4, 2);if (member == 0) {menu[0][3] = new Item('<table width="137" cellspacing="0" cellpadding="0" border="0"><tr><td width="137" height="18" background=/VG_Brands/MBE/images/button_frame.gif><span class="itemText"><strong><A HREF="/VG_app_Login/index.cfm?fuseaction=showLogin&display=false" onFocus="blur()">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sign In/Register</A></strong></span></td></tr></table>', '/VG_app_Login/index.cfm?fuseaction=showLogin&display=false', '', 137, 4, 0);} else {	menu[0][3] = new Item('<table width="137" cellspacing="0" cellpadding="0" border="0"><tr><td width="137" height="18" background=/VG_Brands/MBE/images/button_frame.gif><span class="itemText"><strong><a href="/VG_app_Login/index.cfm?fuseaction=logout" onFocus="blur()">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sign Out</a></strong></span></td></tr></table>', '/VG_app_Login/index.cfm?fuseaction=logout', '', 137, 4, 0);}// MY BRAND menu.menu[1] = new Array();// The File menu is positioned 0px across and 22 down from its trigger, and is 80 wide.// All text in this menu has the stylesheet class 'item' -- see the style section above.// We've passed a 'greater-than' sign '>' as a popout indicator. Try an image...?menu[1][0] = new Menu(true, '', 0, 22, 202, defOver, defBack, 'itemBorder', 'itemText');menu[1][1] = new Item('<table width="202" cellspacing="0" cellpadding="0" border="0"><tr><td width="202" height="17" align="left" valign="middle" background=/VG_Brands/mbe/images/button_subframe.gif><span class="itemText"><strong><A HREF="/VG_app_Global/VG_app_Welcome/index.cfm?fuseaction=welcomepage" onFocus="blur()">&nbsp;&nbsp;&nbsp;Home</A></strong></span></td></tr></table>', '/VG_app_Global/VG_app_Welcome/index.cfm?fuseaction=welcomepage', '', defLength, 0, 0);menu[1][2] = new Item('<table width="202" cellspacing="0" cellpadding="0" border="0"><tr><td width="202" height="17" align="left" valign="middle" background=/VG_Brands/MBE/images/button_subframe2.gif><span class="itemText"><A HREF="##" onFocus="blur()">&nbsp;&nbsp;Member-to-Member</A></span></td></tr></table>', '#', '', defLength, 0, 3);menu[1][3] = new Item('<table width="202" cellspacing="0" cellpadding="0" border="0"><tr><td width="202" height="17" align="left" valign="middle" background=/VG_Brands/MBE/images/button_subframe2.gif><span class="itemText"><A HREF="##" onFocus="blur()">&nbsp;&nbsp;Business Services</A></span></td></tr></table>', '#', '', defLength, 0, 4);// MY ACCOUNT menu.menu[2] = new Array();menu[2][0] = new Menu(true, '>', 0, 22, 202, defOver, defBack, 'itemBorder', 'itemText');menu[2][1] = new Item('<table width="202" cellspacing="0" cellpadding="0" border="0"><tr><td width="202" height="17" align="left" valign="middle" background=/VG_Brands/MBE/images/button_subframe.gif><span class="itemText"><A HREF="/VG_app_Account/index.cfm" onFocus="blur()">&nbsp;&nbsp;User Info</A></span></td></tr></table>', '/VG_app_Account/index.cfm', '', defLength, 0, 0);menu[2][2] = new Item('<table width="202" cellspacing="0" cellpadding="0" border="0"><tr><td width="202" height="17" align="left" valign="middle" background=/VG_Brands/MBE/images/button_subframe.gif><span class="itemText"><A HREF="/VG_app_Account/index.cfm?fuseaction=showPreference" onFocus="blur()">&nbsp;&nbsp;Preferences/Notifications</A></span></td></tr></table>', '/VG_app_Account/index.cfm?fuseaction=showPreference', '', defLength, 0, 0);menu[2][3] = new Item('<table width="202" cellspacing="0" cellpadding="0" border="0"><tr><td width="202" height="17" align="left" valign="middle" background=/VG_Brands/MBE/images/button_subframe.gif><span class="itemText"><A HREF="/VG_app_Account/index.cfm?fuseaction=viewHistory" onFocus="blur()">&nbsp;&nbsp;Order History</A></span></td></tr></table>', '/VG_app_Account/index.cfm?fuseaction=viewHistory', '', defLength, 0, 0);if (adminid == 1 || adminid == 2) {	menu[2][4] = new Item('<table width="202" cellspacing="0" cellpadding="0" border="0"><tr><td width="202" height="17" align="left" valign="middle" background=/VG_Brands/MBE/images/button_subframe.gif><span class="itemText"><A HREF="/VG_app_Admin/index.cfm" onFocus="blur()">&nbsp;&nbsp;ADMINISTRATION</A></span></td></tr></table>', '/VG_app_Admin/index.cfm', '', defLength, 0, 0);}menu[3] = new Array();menu[3][0] = new Menu(true, '', 190, 5, 202, defOver, defBack, 'itemBorder', 'itemText');menu[3][1] = new Item('<table width="202" cellspacing="0" cellpadding="0" border="0"><tr><td width="202" height="17" align="left" valign="middle" background=/VG_Brands/MBE/images/button_subframe.gif><span class="itemText"><A HREF="/VG_app_Global/VG_app_AskExpert/index.cfm" onFocus="blur()">&nbsp;&nbsp;&nbsp;&nbsp;Ask an Expert</A></span></td></tr></table>', '/VG_app_Global/VG_app_AskExpert/index.cfm', '', defLength, 0, 0);	menu[3][2] = new Item('<table width="202" cellspacing="0" cellpadding="0" border="0"><tr><td width="202" height="17" align="left" valign="middle" background=/VG_Brands/MBE/images/button_subframe.gif><span class="itemText"><A HREF="/VG_app_BusDirectory/index.cfm" onFocus="blur()">&nbsp;&nbsp;&nbsp;&nbsp;Business Directory</A></span></td></tr></table>', '/VG_app_BusDirectory/index.cfm', '', defLength, 0, 0);	menu[3][3] = new Item('<table width="202" cellspacing="0" cellpadding="0" border="0"><tr><td width="202" height="17" align="left" valign="middle" background=/VG_Brands/MBE/images/button_subframe.gif><span class="itemText"><A HREF="/VG_app_BusinessOpp/index.cfm" onFocus="blur()">&nbsp;&nbsp;&nbsp;&nbsp;Business Opportunities</A></span></td></tr></table>', '/VG_app_BusinessOpp/index.cfm', '', defLength, 0, 0);			menu[3][4] = new Item('<table width="202" cellspacing="0" cellpadding="0" border="0"><tr><td width="202" height="17" align="left" valign="middle" background=/VG_Brands/MBE/images/button_subframe.gif><span class="itemText"><A HREF="/VG_app_Event/index.cfm" onFocus="blur()">&nbsp;&nbsp;&nbsp;&nbsp;Events</A></span></td></tr></table>', '/VG_app_Event/index.cfm', '', defLength, 0, 0);		menu[3][5] = new Item('<table width="202" cellspacing="0" cellpadding="0" border="0"><tr><td width="202" height="17" align="left" valign="middle" background=/VG_Brands/MBE/images/button_subframe.gif><span class="itemText"><A HREF="/VG_app_Jobs/index.cfm" onFocus="blur()">&nbsp;&nbsp;&nbsp;&nbsp;Jobs</A></span></td></tr></table>', '/VG_app_Jobs/index.cfm', '', defLength, 0, 0);		menu[3][6] = new Item('<table width="202" cellspacing="0" cellpadding="0" border="0"><tr><td width="202" height="17" align="left" valign="middle" background=/VG_Brands/MBE/images/button_subframe.gif><span class="itemText"><A HREF="/VG_app_NewsRelease/index.cfm" onFocus="blur()">&nbsp;&nbsp;&nbsp;&nbsp;News Releases</A></span></td></tr></table>', '/VG_app_NewsRelease/index.cfm', '', defLength, 0, 0);		menu[3][7] = new Item('<table width="202" cellspacing="0" cellpadding="0" border="0"><tr><td width="198" height="17" align="left" valign="middle" background=/VG_Brands/MBE/images/button_subframe.gif><span class="itemText"><A HREF="/VG_app_SpecialOffer/index.cfm" onFocus="blur()">&nbsp;&nbsp;&nbsp;&nbsp;Marketplace</A></span></td></tr></table>', '/VG_app_SpecialOffer/index.cfm', '', defLength, 0, 0);		menu[4] = new Array();menu[4][0] = new Menu(true, '', 190, 5, 202, defOver, defBack, 'itemBorder', 'itemText');menu[4][1] = new Item('<table width="202" cellspacing="0" cellpadding="0" border="0"><tr><td width="202" height="17" align="left" valign="middle" background=/VG_Brands/MBE/images/button_subframe.gif><span class="itemText"><A HREF="/VG_app_NewsRelease/index.cfm" onFocus="blur()">&nbsp;&nbsp;&nbsp;&nbsp;Canada NewsWire</A></span></td></tr></table>', '/VG_app_NewsRelease/index.cfm', '', defLength, 0, 0);menu[4][2] = new Item('<table width="202" cellspacing="0" cellpadding="0" border="0"><tr><td width="202" height="17" align="left" valign="middle" background=/VG_Brands/MBE/images/button_subframe.gif><span class="itemText"><A HREF="/VG_app_DnB/index.cfm" onFocus="blur()">&nbsp;&nbsp;&nbsp;&nbsp;D&amp;B Services</A></span></td></tr></table>', '/VG_app_DnB/index.cfm', '', defLength, 0, 0);menu[4][3] = new Item('<table width="202" cellspacing="0" cellpadding="0" border="0"><tr><td width="202" height="17" align="left" valign="middle" background=/VG_Brands/MBE/images/button_subframe.gif><span class="itemText"><A HREF="/VG_app_gt/index.cfm" onFocus="blur()">&nbsp;&nbsp;&nbsp;&nbsp;Grand &amp; Toy</A></span></td></tr></table>', '/VG_app_gt/index.cfm', '', defLength, 0, 0);menu[4][4] = new Item('<table width="202" cellspacing="0" cellpadding="0" border="0"><tr><td width="202" height="17" align="left" valign="middle" background=/VG_Brands/MBE/images/button_subframe.gif><span class="itemText"><A HREF="/VG_app_hp/index.cfm" onFocus="blur()">&nbsp;&nbsp;&nbsp;&nbsp;HP Canada</A></span></td></tr></table>', '/VG_app_hp/index.cfm', '', defLength, 0, 0);menu[4][5] = new Item('<table width="202" cellspacing="0" cellpadding="0" border="0"><tr><td width="202" height="17" align="left" valign="middle" background=/VG_Brands/MBE/images/button_subframe.gif><A HREF="/VG_app_insurance/index.cfm" onFocus="blur()"><span class="itemText">&nbsp;&nbsp;&nbsp;&nbsp;Manulife Financial</span></A></td></tr></table>', '/VG_app_primus/index.cfm', '', defLength, 0, 0);<!---menu[4][6] = new Item('<table width="202" cellspacing="0" cellpadding="0" border="0"><tr><td width="202" height="17" align="left" valign="middle" background=/VG_Brands/MBE/images/button_subframe.gif><A HREF="/VG_app_primus/index.cfm" onFocus="blur()"><span class="itemText">&nbsp;&nbsp;&nbsp;&nbsp;PRIMUS Business Services</span></A></td></tr></table>', '/VG_app_primus/index.cfm', '', defLength, 0, 0);--->menu[4][6] = new Item('<table width="202" cellspacing="0" cellpadding="0" border="0"><tr><td width="202" height="17" align="left" valign="middle" background=/VG_Brands/MBE/images/button_subframe.gif><span class="itemText"><A HREF="/VG_app_Jobs/index.cfm" onFocus="blur()">&nbsp;&nbsp;&nbsp;&nbsp;Workopolis</A></span></td></tr></table>', '/VG_app_Jobs/index.cfm', '', defLength, 0, 0);