
   var query  = location.search;                                                                                     // Query given by calling this page
   var logged = false;                                                                                               // Default: Not logged in
   if (query && query=="?LoginSuccessful") logged = true;                                                            // Called as logged in -> logged=true


   tree = new treemenu('tree', false, true, true, false);
   tree.put(1,'Home Page',         '','/index.html',                          'Go to Main Start Page',                            '/images/menu/wheel.gif', '/images/menu/wheel.gif');
   tree.add(1,' Buy Now!',         '','/cgi-bin/buy.exe',                     'Buy Now and be Running in 5 minutes!',                             '/images/menu/wheel.gif',                '/images/menu/wheel.gif'                 );
   tree.add(1,' Downloads',   '','http://www.sellmatix.com/cgi-bin/WEBmatix.exe?cfgfile=download.cfg',    'Download the Software',       '/images/menu/wheel.gif',                 '/images/menu/wheel.gif'                 );

   tree.add(1,' SELLmatix Info',     '',    '',                                   'Product Information ',                             '',                ''                 );
   tree.add(0,'  Overview',          '','/sellmatix_info/index.html',             'General Information',                              '',                 ''                 );
   tree.add(0,'  Retailer Features', '','/sellmatix_info/retail_features.html',   'Useful features for Retail Shops',                              '',                 ''                 );
   tree.add(0,'  Rest/Bar Features', '','/sellmatix_info/rest_bar_features.html', 'Useful features for Restaurants and Bars',                              '',                 ''                 );
   tree.add(0,'  Point of Sale',     '','/sellmatix_info/pos.html',               'POS Information',                                  '',                 ''                 );
   tree.add(0,'  Control',           '','/sellmatix_info/control.html',           'Site Controller Information',                      '',                 ''                 );
   tree.add(0,'  Restaurant',        '','/sellmatix_info/restaurant.html',        'Restaurant Usage',                                 '',                 ''                 );
   tree.add(0,'  Do It Yourself',    '','/sellmatix_info/do_it_yourself.html',    'Do It Yourself',                                   '',                 ''                 );
   tree.add(0,'  Hardware',          '','/sellmatix_info/hardware.html',          'Hardware Suggestions',                             '',                 ''                 );
   tree.add(0,'  Compared',          '','/sellmatix_info/compared.html',          'SELLmatix compared to Other Systems',              '',                 ''                 );
   tree.add(0,'  Myths',             '','/sellmatix_info/myths.html',             'Myths and Misconceptions About POS Systems',       '',                 ''                 );
   tree.add(0,'  Design',            '','/sellmatix_info/design.html',            'Design Considerations in SELLmatix',               '',                 ''                 );

   tree.add(1,' SELLmatix Help',   '','',                                                'Online Help System',                         '',                 ''                 );
   tree.add(0,'  Getting Started',     '','',                                            'Step by Step Instructions',                  '',                 ''                 );
   tree.add(0,'   Program Install','','/sellmatix_help/getting_started/install.html',    'How to Install the Software',                '',                 ''                 );
   tree.add(0,'   Basic Guide',    '','/sellmatix_help/getting_started/prog_basics.html','The big Picture',                            '',                   ''                 );
   tree.add(0,'   Select Config',  '','/sellmatix_help/getting_started/datadir.html',    'Using and Changing Multiple Configurations', '',                 ''                 );
   tree.add(0,'   New Config',     '','/sellmatix_help/getting_started/new_config.html', 'Creating a New Configuration', '',                 ''                 );
   tree.add(0,'   Departments',    '','/sellmatix_help/getting_started/departments.html','Setting Up Your Departments', '',                 ''                 );
   tree.add(0,'   Tax Rates',      '','/sellmatix_help/getting_started/taxrates.html',   'Setting Up Your Tax Rate Table', '',                 ''                 );
   tree.add(0,'   Products',       '','/sellmatix_help/getting_started/products.html',   'Setting Up Your Products', '',                 ''                 );
   tree.add(0,'   POS Screens',    '','/sellmatix_help/getting_started/pos_screen.html', 'Setting Up Your Point of Sale Display Screens', '',                 ''                 );
   tree.add(0,'   Adjustments',    '','/sellmatix_help/getting_started/adjustments.html','Setting Up Your Adjustments', '',                 ''                 );
   tree.add(0,'   Products',       '','/sellmatix_help/getting_started/payments.html',   'Setting Up Your Finalisations', '',                 ''                 );
   tree.add(0,'   Clerks',         '','/sellmatix_help/getting_started/clerks.html',     'Setting Up Your Clerks', '',                 ''                 );
   tree.add(0,'   Hardware Types', '','/sellmatix_help/getting_started/hardware_types.html','Types of POS Hardware', '',                 ''                 );
   tree.add(0,'   Checklist',      '','/sellmatix_help/getting_started/hardware_setup.html','Installation Checklist', '',                 ''                 );
   tree.add(0,'   Hardware Config','','/sellmatix_help/getting_started/hardware_config.html','Configuring Your Hardware', '',                 ''                 );
   tree.add(0,'   Train Users',    '','/sellmatix_help/getting_started/train_operators.html','User Training', '',                 ''                 );
   tree.add(0,'   Going Live',     '','/sellmatix_help/getting_started/go_live.html',        'Going Live', '',                 ''                 );
   tree.add(0,'   Cash Control',   '','/sellmatix_help/getting_started/cash_control.html',   'Cash Control', '',                 ''                 );
   tree.add(0,'   Import/Export',  '','/sellmatix_help/getting_started/import_export.html',  'Importing and Exporting Data', '',                 ''                 );

   tree.add(0,'  Config Videos',   '','',                                                    'Configuration Videos With The Fast Start Sample',       '',                 ''                 );
   tree.add(0,'   Install & Tour', '','/sellmatix_help/setup_video/install_tour/index.html', 'Installation and Tour of the Fast Start Sample', '',                 ''                 );
   tree.add(0,'   Basic Setup',    '','/sellmatix_help/setup_video/basic_setup/index.html', 'Basic Configuration of the Fast Start Sample', '',                 ''                 );
   tree.add(0,'   Your Products',  '','/sellmatix_help/setup_video/shop_prods/index.html',  'Adding Your Own Products to the Fast Start Sample', '',                 ''                 );
   tree.add(0,'   Add on the Fly', '','/sellmatix_help/setup_video/add_on_fly/index.html',  'Adding Products While You Trade', '',                 ''                 );

   tree.add(0,'  Using POS',       '','',                                                    'Online Help System',       '',                 ''                 );
   tree.add(0,'   POS Display',    '','/sellmatix_help/use_pos/display.html',                'The Point of Sale Display', '',                 ''                 );
   tree.add(0,'   POS Operation',  '','/sellmatix_help/use_pos/operate.html',                'How to Operate the Point of Sale', '',                 ''                 );

   tree.add(0,'  Using PocketPos',       '','',                                              'Using PocketPos on a Pocket PC',       '',                 ''                 );
   tree.add(0,'   POS Display',    '','/sellmatix_help/use_pocket/display.html',             'The PocketPos Display', '',                 ''                 );
   tree.add(0,'   POS Operation',  '','/sellmatix_help/use_pocket/operate.html',             'How to Operate the PocketPos', '',                 ''                 );

   tree.add(0,'  Using Control',       '','',                                                'Online Help System',       '',                 ''                 );
   tree.add(0,'   File Menu',    '','/sellmatix_help/use_control/menu_file.html',            'The File Menu', '',                 ''                 );
   tree.add(0,'   Edit Menu',    '','/sellmatix_help/use_control/menu_edit.html',            'The Edit Menu', '',                 ''                 );
   tree.add(0,'   Print/View Menu',    '','/sellmatix_help/use_control/menu_print.html',     'The Print/View Menu', '',                 ''                 );
   tree.add(0,'   Tools Menu',   '','/sellmatix_help/use_control/menu_tools.html',           'The Tools Menu', '',                 ''                 );
   tree.add(0,'   Connection Manager',    '','/sellmatix_help/use_control/conn_mgr.html',    'Connection Manager', '',                 ''                 );
   tree.add(0,'   Order Manager',    '','/sellmatix_help/use_control/ord_mgr.html',          'Order Manager', '',                 ''                 );

   tree.add(0,'  Configure POS',       '','',                                                'How to configure POS',       '',                 ''                 );
   tree.add(0,'   POS Display',        '','/sellmatix_help/config_pos/display.html',         'Configure the POS Display', '',                 ''                 );
   tree.add(0,'   Keyboard Setup',     '','/sellmatix_help/config_pos/keyboard.html',        'Configure POS Keyboard', '',                 ''                 );
   tree.add(0,'   Input Data',         '','/sellmatix_help/config_pos/input_data.html',      'Configure Input Data from Screen or Keyboard', '',                 ''                 );
   tree.add(0,'   Tools Menu',         '','/sellmatix_help/config_pos/menu_tools.html',      'The Tools Menu', '',                 ''                 );
   tree.add(0,'   Security',           '','/sellmatix_help/config_pos/pos_security.html',    'Configure POS Security', '',                 ''                 );

   tree.add(0,'   Advanced',           '','',                                                'Advanced Configuration', '',                 ''                 );
   tree.add(0,'    Config File',       '','/sellmatix_help/config_pos/advanced/cfgfile.html','The POS Configuration File', '',                 ''                 );
   tree.add(0,'    Output Events',     '','/sellmatix_help/config_pos/advanced/outevent.html','Output Events', '',                 ''                 );
   tree.add(0,'    Output Variables',  '','/sellmatix_help/config_pos/advanced/outvar.html', 'Output Variables', '',                 ''                 );
   tree.add(0,'    Output Formatting', '','/sellmatix_help/config_pos/advanced/outformat.html', 'Output Formatting', '',                 ''                 );
   tree.add(0,'    Device Drivers',    '','/sellmatix_help/config_pos/advanced/devicedrivers.html', 'Device Drivers', '',                 ''                 );

   tree.add(0,'  Configure PocketPos',       '','',                                          'Configuring PocketPos',       '',                 ''                 );
   tree.add(0,'   POS Display',    '','/sellmatix_help/config_pocket/pocket_display.html',   'Configure the PocketPos Display', '',                 ''                 );

   tree.add(0,'  Configure Control',   '','',                                                'How to Configure Control',       '',                 ''                 );
   tree.add(0,'   Tools Menu',        '','/sellmatix_help/config_control/menu_tools_ctrl.html',   'The Tools Menu', '',                 ''                 );
   tree.add(0,'   Account Printer',   '','/sellmatix_help/config_control/account_print.html','Account Printer Config', '',                 ''                 );
   tree.add(0,'   Order Printer',     '','/sellmatix_help/config_control/order_print.html',  'Order Printer Config', '',                 ''                 );
   tree.add(0,'   Remote Access',     '','/sellmatix_help/config_control/remote_access.html','Remote Access Over the Internet', '',                 ''                 );

   tree.add(0,'   Import/Export',     '','',                                                 'Importing and Exporting Data', '',                 ''                 );
   tree.add(0,'    Data Import',      '','/sellmatix_help/config_control/import_export/import.html', 'Importing Data', '',                 ''                 );
   tree.add(0,'    Data Export',      '','/sellmatix_help/config_control/import_export/export.html', 'Exporting Data', '',                 ''                 );
   tree.add(0,'    Database Fields',  '','/sellmatix_help/config_control/import_export/database_fields.html', 'Database Fields Available', '',                 ''                 );
   tree.add(0,'    Transaction Export','','/sellmatix_help/config_control/import_export/trans_export.html', 'Exporting Transactions', '',                 ''                 );
   tree.add(0,'    Raw Trans Format'  ,'','/sellmatix_help/config_control/import_export/raw_trans_format.html', 'Raw Transaction Format', '',                 ''                 );

   tree.add(0,'  Advanced Config',   '','',                                                  'Advanced Options',       '',                 ''                 );
   tree.add(0,'   Advanced Settings','','/sellmatix_help/advanced/index.html',              'Advanced Options', '',                 ''                 );

   tree.add(0,'  Activate SELLmatix',   '','/sellmatix_help/activate.html',                  'Activate The Software',       '',                 ''                 );
   tree.add(0,'  Troubleshooting Guide','','/sellmatix_help/troubleshoot.html',              'Troubleshooting Guide',       '',                 ''                 );

   tree.add(1,' Support',   '',    '',                                        'Support Information ',                             '',                ''                 );
   tree.add(0,'  Free Help',        '','/support/help.html',           'Uncharged Support',                              '',                 ''                 );
   tree.add(0,'  Charged Services', '','/support/charged.html',        'Charged Services',                              '',                 ''                 );
   tree.add(0,'  Charged Services', '','/support/charged.html',        'Charged Services',                              '',                 ''                 );
   tree.add(0,'  Subsidised Services', '','/support/subsidised.html',  'Subsidised Services',                              '',                 ''                 );
   tree.add(0,'  Custom Services', '','/support/custom.html',          'Custom Services',                              '',                 ''                 );
   tree.add(0,'  Bug Reporting', '','/support/bugs.html',              'Bug Resolution',                              '',                 ''                 );

   tree.add(1,' Retail Resources',   '',    '',                        'Retail Resources',                             '',                ''                 );
   tree.add(0,'  Retail Numbering',        '','/resources/manage/retail_numbering.html',       'Retail Numbering Conventions',                              '',                 ''                 );
   tree.add(0,'  Printer Types',        '','/resources/tech/printers.html',       'POS Printer Types ',                              '',                 ''                 );
   tree.add(0,'  Barcode Scanners',     '','/resources/tech/scanners.html',       'Barcode Scanner Types',                              '',                 ''                 );
   tree.add(0,'  Serial Interfacing',   '','/resources/tech/serial.html',         'RS-232 Interfacing',                              '',                 ''                 );

   tree.add(1,' Reseller Resources',   '',    '',                        'Reseller Resources',                             '',                ''                 );
   tree.add(0,'  Understand Retail',        '','/reseller_resources/understand.html',  'Understanding Retail for Computer Dealers',                              '',                 ''                 );
   tree.add(0,'  Key Issues',          '','/reseller_resources/key_issues.html',       'Key Issues for Retailers',                              '',                 ''                 );
   tree.add(0,'  Target Markets',      '','/reseller_resources/target.html',           'Ideal Prospects for SELLmatix POS',                              '',                 ''                 );
   tree.add(0,'  Finding Prospects',   '','/reseller_resources/finding_prospects.html','Finding Possible Clients',                              '',                 ''                 );
   tree.add(0,'  Contacting Retailers','','/reseller_resources/contact_retailers.html','How to Contact Retailers',                              '',                 ''                 );
   tree.add(0,'  Sell POS Profitably', '','/reseller_resources/making_money_pos.html', 'How to Make Money from Handling POS Systems',                              '',                 ''                 );

   tree.add(1,' Contact Us',   '','/contact/index.html',                'Contact Us',       '/images/menu/wheel.gif',                 '/images/menu/wheel.gif'                 );

   tree.lines(false);                  // Ensure settings, if cookies were
   tree.icons(true);                   // overwriting the values from instantiation

document.write('<table width="100%" cellpadding="1" cellspacing="0" border="0" align="center">');
document.write('<tr><td align="center" >');
document.write('<table width="100%" cellpadding="1" cellspacing="1" border="0" class="forumline">');
document.write('<tr><th height="25" class="thHead"><b>Navigation Bar</b></th></tr>');
document.write('<tr><td>');

document.write(tree);

document.write('</table></td></tr></table>');



