//Top Nav bar script v2.1- http://www.dynamicdrive.com/dynamicindex1/sm/index.htm

function showToolbar()
{
// AddItem(id, text, hint, location, alternativeLocation);
// AddSubItem(idParent, text, hint, location, linktarget);

	menu = new Menu();
	menu.addItem("loginid", "Login", "Login, Logoff or Change Password",  null, null);
	menu.addItem("accountid", "Account", "Account",  null, null);
	menu.addItem("tradeid", "Trade", "Trade",  null, null);
	menu.addItem("companyid", "Company", "Company",  null, null);
        menu.addItem("mbid","Forum","Forum",null,null);
	menu.addItem("helpid", "Help", "Help",  null, null);

	menu.addSubItem("loginid", "Login", "Login",  "login.php", "");
	menu.addSubItem("loginid", "Change Password", "Change Password",  "changepassword.php", "");
	menu.addSubItem("loginid", "Profile", "Profile",  "profile.php", "");
	menu.addSubItem("loginid", "Logoff", "Logoff",  "logoff.php", "");

	menu.addSubItem("accountid", "Account", "Account",  "account.php", "");
	menu.addSubItem("accountid", "Transaction History", "Transaction History",  "transactionhistory.php", "");
	menu.addSubItem("tradeid", "Trade Shares", "Trade Shares",  "tradeshares.php", "");
	menu.addSubItem("tradeid", "Trade History", "Trade History",  "tradehistory.php", "");
        menu.addSubItem("tradeid", "Redeem Options", "Redeem Options", "getOptions.php", "");
        menu.addSubItem("tradeid","Quick Snapshot Feed","Quick Snapshot Feed","stockcsv.php","");
        menu.addSubItem("tradeid","Stock Matrix","Stock Matrix","StockMatrix.php","");
        menu.addSubItem("tradeid","Stock Charts","Stock Charts","fncharts.php","");

	menu.addSubItem("companyid", "IPO and Profiles", "IPO and Profiles",  "company.php", "");
	menu.addSubItem("companyid", "List Your Company", "List Your Company",  "RulesOfListing.php", "");
	menu.addSubItem("companyid", "Press Releases", "Press Releases",  "pressrelease.php", "");
	menu.addSubItem("companyid", "Company Officer Area", "Company Officer Area",  "CompanyOfficerArea.php", "");
	menu.addSubItem("companyid", "Affiliate Program", "Affiliate Program",  "affiliate.php", "");

        menu.addSubItem("mbid","Forum","Forum","punbb/index.php","");
	menu.addSubItem("mbid","WIKI","WIKI","punbb/doku.php","");
        menu.addSubItem("mbid", "Video", "Video",  "punbb/videolist.php", "");
       menu.addSubItem("mbid", "ISE 3D Chat", "ISE 3D Chat",  "punbb/LivelyChat.php", "");

        menu.addSubItem("helpid", "About", "About",  "default.php", "");
	menu.addSubItem("helpid", "Contact Us", "Contact Us",  "ContactUS.php", "");
	menu.addSubItem("helpid", "FAQ", "FAQ",  "Faq.php", "");
	menu.addSubItem("helpid", "Second Life Location", "Second Life Location",  "SLSites.php", "");
        menu.addSubItem("helpid","Terms of Service","Terms of Service","termsofservice.php","");
	menu.showMenu();
}
