//=======================================================================================================
// menu.js
//
// * The code that draws the menu is in a function called "DisplayMenu()"
// * The menu data is in a two dimensional array called "Menu".
// * Each page has a hardcoded array index like "idxHome"
// * Each html page calls DisplayMenu() and passes its array index
// * Each page has 6 items in the array:
//
// [0]: The html filename for that page
// [1]: The page title
// [2]: The number of subsections on that page
// [3]: An array containing the in-page targets for each subsection
// [4]: An array containing the names for each subsection - also used by the site index and site map
// [5]: The page update status: 0=unchanged, 1=new, 2=updated - controls the "NEW" and star icons
// [6]: An array of statuses for each subsection 0=unchanged, 1=new, 2=updated - controls the "NEW" and star icons

// DisplayMenu
function DisplayMenu(PageNum)
{
  
  // ** Header
  document.write("<CENTER><FONT CLASS='tocheader'>Table of Contents</FONT></CENTER>");
  document.write("<CENTER><IMG SRC='images/elements/new.gif' BORDER='0' WIDTH='35' HEIGHT='11' ALT='New'><FONT CLASS='menuitem'> = New Section</FONT></CENTER>");
  document.write("<CENTER><IMG SRC='images/elements/star.gif' BORDER='0' WIDTH='11' HEIGHT='11' ALT='Star'><FONT CLASS='menuitem'> = Updated Section</FONT></CENTER>");

  for (i=0; i < RowCount; i++)
  {
    // ** Sub-contents & Bars
    if (i==idxHome)
    {
      document.write("<HR><CENTER><FONT COLOR='green'>FAQ Info</FONT></CENTER>");
    }
    else if (i==idxGen)
    {
      document.write("<HR><CENTER><FONT COLOR='green'>Glock Info</FONT></CENTER>");
    }
    else if (i==idxPicsStk)
    {
      document.write("<HR><CENTER><FONT COLOR='green'>Glock Picture Library</FONT></CENTER>");
    }

    // ** Menu Item
    if (i!=PageNum)
    {
      if (Menu[i][5]==1)
        document.write("&nbsp;<A CLASS='menuitem' HREF='",Menu[i][0],"'><IMG SRC='images/elements/plus.gif' BORDER='0' WIDTH='9' HEIGHT='9' ALT='plus'>&nbsp;",Menu[i][1],"&nbsp;</A><IMG SRC='images/elements/new.gif' BORDER='0' WIDTH='35' HEIGHT='11' ALT='New'><BR>");
      else if (Menu[i][5]==2)
        document.write("&nbsp;<A CLASS='menuitem' HREF='",Menu[i][0],"'><IMG SRC='images/elements/plus.gif' BORDER='0' WIDTH='9' HEIGHT='9' ALT='plus'>&nbsp;",Menu[i][1],"&nbsp;</A><IMG SRC='images/elements/star.gif' BORDER='0' WIDTH='11' HEIGHT='11' ALT='Star'><BR>");
      else
        document.write("&nbsp;<A CLASS='menuitem' HREF='",Menu[i][0],"'><IMG SRC='images/elements/plus.gif' BORDER='0' WIDTH='9' HEIGHT='9' ALT='plus'>&nbsp;",Menu[i][1],"</A><BR>");
    }
    // ** Sub-menu
    else
    {
      if (Menu[i][5]==1)
        document.write("&nbsp;<A CLASS='menuitem' HREF='",Menu[i][0],"'><IMG SRC='images/elements/minus.gif' BORDER='0' WIDTH='9' HEIGHT='9' ALT='minus'>&nbsp;",Menu[i][1],"&nbsp;</A><IMG SRC='images/elements/new.gif' BORDER='0' WIDTH='35' HEIGHT='11' ALT='New'><BR>");
      else if (Menu[i][5]==2)
        document.write("&nbsp;<A CLASS='menuitem' HREF='",Menu[i][0],"'><IMG SRC='images/elements/minus.gif' BORDER='0' WIDTH='9' HEIGHT='9' ALT='minus'>&nbsp;",Menu[i][1],"&nbsp;</A><IMG SRC='images/elements/star.gif' BORDER='0' WIDTH='11' HEIGHT='11' ALT='Star'><BR>");
      else
        document.write("&nbsp;<A CLASS='menuitem' HREF='",Menu[i][0],"'><IMG SRC='images/elements/minus.gif' BORDER='0' WIDTH='9' HEIGHT='9' ALT='minus'>&nbsp;",Menu[i][1],"</A><BR>");

      document.write("<FONT SIZE=1>");
      for (j=0; j < Menu[i][2]; j++)
      {
        if ((Menu[i][6])[j]=='1')
          document.write("&nbsp;&nbsp;<A CLASS='menuitem2' HREF='",Menu[i][0],"#",(Menu[i][3])[j],"'><IMG SRC='images/elements/none.gif' BORDER='0' WIDTH='9' HEIGHT='9' ALT='none'>&nbsp;",(Menu[i][4])[j],"&nbsp;</A><IMG SRC='images/elements/new.gif' BORDER='0' WIDTH='35' HEIGHT='11' ALT='New'><BR>");
        else if ((Menu[i][6])[j]=='2')
          document.write("&nbsp;&nbsp;<A CLASS='menuitem2' HREF='",Menu[i][0],"#",(Menu[i][3])[j],"'><IMG SRC='images/elements/none.gif' BORDER='0' WIDTH='9' HEIGHT='9' ALT='none'>&nbsp;",(Menu[i][4])[j],"&nbsp;</A><IMG SRC='images/elements/star.gif' BORDER='0' WIDTH='11' HEIGHT='11' ALT='Star'><BR>");
        else
          document.write("&nbsp;&nbsp;<A CLASS='menuitem2' HREF='",Menu[i][0],"#",(Menu[i][3])[j],"'><IMG SRC='images/elements/none.gif' BORDER='0' WIDTH='9' HEIGHT='9' ALT='none'>&nbsp;",(Menu[i][4])[j],"</A><BR>");
      }
      document.write("</FONT>");
    }
  }
  document.write("<HR>");
  document.write("&nbsp;&nbsp;<A CLASS='menuitem3' HREF='sitemap.htm'><IMG SRC='images/elements/dot.gif' BORDER='0' WIDTH='10' HEIGHT='10' ALT='dot'>&nbsp;Site Map </A><BR>");
  document.write("&nbsp;&nbsp;<A CLASS='menuitem3' HREF='siteindex.htm'><IMG SRC='images/elements/dot.gif' BORDER='0' WIDTH='10' HEIGHT='10' ALT='dot'>&nbsp;Index </A><BR>");
  document.write("&nbsp;&nbsp;<A CLASS='menuitem3' HREF='sitesearch.htm'><IMG SRC='images/elements/dot.gif' BORDER='0' WIDTH='10' HEIGHT='10' ALT='dot'>&nbsp;Site Search </A><BR>");
}


// Menu Array
RowCount = 30;
ColCount = 6;
Menu = new Array(RowCount);
for (i=0; i < RowCount; i++)
{
  Menu[i] = new Array(ColCount);
}

idxHome   = 0;
idxGirls  = 1;
idxTarget = 2;
idxLinks  = 3;
idxGen    = 4;
idxGuide  = 5;
idxModels = 6;
idxNonUS  = 7;
idxRare   = 8;
idxMaint  = 9;
idxSmith  = 10;
idxMag    = 11;
idxMark   = 12;
idxBbl    = 13;
idxAft    = 14;
idxTips   = 15;
idxShoot  = 16;
idxTrig   = 17;
idxCart   = 18;
idxLoad   = 19;
idxIDPA   = 20;
idxMisc   = 21;
idxPicsStk  = 22;
idxPicsMod  = 23;
idxPicsComp = 24;
idxPicsNonUS= 25;
idxPicsRare = 26;
idxPicsWild = 27;
idxPicsMisc = 28;
idxPicsPromo =29;


//=======================================================================================================
Menu[idxHome][0]= 'default.htm';
Menu[idxHome][1]= 'Home';
Menu[idxHome][2]= 8;
Menu[idxHome][3]= new Array('welcome','new','genr','disc',
              'hist','cred','priv','ring');
Menu[idxHome][4]= new Array('Welcome','What`s New?','General FAQ Info','Disclaimer',
              'FAQ History', 'Credits', 'Privacy Policy','Glock Ring');
Menu[idxHome][5]= 2;
Menu[idxHome][6]= new Array('0','2','0','0',
              '2','0','0','0');
//=======================================================================================================
Menu[idxGirls][0]= 'girls.htm';
Menu[idxGirls][1]= 'Glock Girls';
Menu[idxGirls][2]= 1;
Menu[idxGirls][3]= new Array('candy');
Menu[idxGirls][4]= new Array('Candy Keane');
Menu[idxGirls][5]= 1;
Menu[idxGirls][6]= new Array('1');
//=======================================================================================================
Menu[idxTarget][0]= 'targets.htm';
Menu[idxTarget][1]= 'Target Gallery';
Menu[idxTarget][2]= 7;
Menu[idxTarget][3]= new Array('new','bull','human','comp','oly','pic','shape');
Menu[idxTarget][4]= new Array('New Targets','Bullseye Targets','Humanoid Targets', 'Competition Targets','Olympic Targets', 'Picture Targets','Shape Targets');
Menu[idxTarget][5]= 0;
Menu[idxTarget][6]= new Array('0','0','0','0','0','0','0');
//=======================================================================================================
Menu[idxLinks][0]= 'favoritelinks.htm';
Menu[idxLinks][1]= 'Favorite Links';
Menu[idxLinks][2]= 6;
Menu[idxLinks][3]= new Array('misc', 'offic','info','parts','gen','targets');
Menu[idxLinks][4]= new Array('Miscellaneous', 'Official Glock Sites','Glock Info','Glock Parts & Accessories','General Shooting','Targets');
Menu[idxLinks][5]= 2;
Menu[idxLinks][6]= new Array('1','0','0','0','0','0');
//=======================================================================================================
Menu[idxGen][0]= 'generalinfo.htm';
Menu[idxGen][1]= 'General Glock Info';
Menu[idxGen][2]= 15;
Menu[idxGen][3]= new Array('why','contact','dry','h2o',
               'annual','autopistols','timeline','books','videos',
               'box','manual','faq','polymer',
               'factory','fired');
Menu[idxGen][4]= new Array('Why choose Glock?','Contact Glock','Dry Firing','Underwater Firing',
               'Glock Annual','Glock Autopistols','Glock Timeline','Glock Books','Glock Videos',
               'In the Glock Box','Need A Manual?','Other Glock FAQs','Polymer Frame',
               'Factory Tours','Fired Brass');
Menu[idxGen][5]= 0;
Menu[idxGen][6]= new Array('0','0','0','0',
               '0','0','0','0','0',
               '0','0','0','0',
               '0','0');
//=======================================================================================================
Menu[idxGuide][0]= 'guide.htm';
Menu[idxGuide][1]= 'Glock Model Guide';
Menu[idxGuide][2]= 26;
Menu[idxGuide][3]= new Array('chart','chart2','g17','g17l',
               'g19','g20','g21','g21sf','g22','g23',
               'g24','g25','g26','g27','g28',
               'g29','g30','g31','g32','g33',
               'g34','g35','g36','g37','g38','g39');
Menu[idxGuide][4]= new Array('Size/Caliber Chart','Model Comparison Chart','Glock 17','Glock 17L',
               'Glock 19','Glock 20','Glock 21','Glock 21SF','Glock 22','Glock 23',
               'Glock 24','Glock 25','Glock 26','Glock 27','Glock 28',
               'Glock 29','Glock 30','Glock 31','Glock 32','Glock 33',
               'Glock 34','Glock 35','Glock 36','Glock 37','Glock 38','Glock 39');
Menu[idxGuide][5]= 2;
Menu[idxGuide][6]= new Array('0','0','0','0','0',
               '0','0','1','0','0','0',
               '0','0','0','0','0',
               '0','0','0','0','0',
               '0','0','0','0','0');
//=======================================================================================================
Menu[idxModels][0]= 'models.htm';
Menu[idxModels][1]= 'Glock Model Info';
Menu[idxModels][2]= 22;
Menu[idxModels][3]= new Array('all','basic','details','g21sf','green','carbon',
            'comp','cc','practice','training','cutaway',
            'modnums','restricted','discontinued','design','which',
            'carbine','points','lefty','laser',
            'ceramic','blowback');
Menu[idxModels][4]= new Array('All Glock Models','Basic Models','Detailed Model Info','Glock 21SF','Green Frame Glocks','Carbon Fiber Glocks',
            'Compensated Models','Compensated Competition','Practice Models','Training Models','Cutaway Models',
            'Model Numbers','Restricted in the US','Discontinued Models','Gxx vs. Mxx','Which Glock to Buy?',
            'Glock Carbine','BATF Import Points','Lefty Glock?','Glock Factory Laser',
            'Porcelain/Ceramic Glock','Recoil vs. Blowback');
Menu[idxModels][5]= 2;
Menu[idxModels][6]= new Array('0','0','0','1','0','0',
                '0','0','0','0','0',
                '0','0','0','0','0',
                '0','0','0','0',
                '0','0');
//=======================================================================================================
Menu[idxNonUS][0]= 'nonus.htm';
Menu[idxNonUS][1]= 'Non-US Glocks';
Menu[idxNonUS][2]= 7;
Menu[idxNonUS][3]= new Array('calibers','g25g28','sdng25','g17pro','g17a','g17dk','gmt');
Menu[idxNonUS][4]= new Array('Special Calibers','Glock 25 & Glock 28','S. D. N. MEXICO DF','Glock 17 Pro','Glock 17A','Glock 17DK','Glock Mariner & Tactical');
Menu[idxNonUS][5]= 2;
Menu[idxNonUS][6]= new Array('0','0','1','0','0','0','0');
//=======================================================================================================
Menu[idxRare][0]= 'rare.htm';
Menu[idxRare][1]= 'Rare & Collectible';
Menu[idxRare][2]= 18;
Menu[idxRare][3]= new Array('summary','desert','10th','army','atlanta','bell',
              '2m','alaska','1m','nra','gssf',
              'hero','defense','g17lc','g18c','9x21',
              'g17s','gca');
Menu[idxRare][4]= new Array('Summary Chart','Desert Storm Glock','10th Anniversary','Army Aviators Glock','Atlanta Olympic Glock','Bell Hellicopter Glock',
              '2,000,000th Glock','Alaskan Glock','1,000,000th Glock','NRA Commemorative','GSSF 10th Anniv.',
              'America`s Heroes Glocks','Glock Defense Set','Compensated G17L','Original G18C','9x21 G19',
              'G17 With External Safety','Glock Collector`s Association');
Menu[idxRare][5]= 2;
Menu[idxRare][6]= new Array('0','0','0','2','0','0',
              '0','0','0','0','0',
              '2','0','0','0','0',
              '0','0');
//=======================================================================================================
Menu[idxMaint][0]= 'maintenance.htm';
Menu[idxMaint][1]= 'Maintenance';
Menu[idxMaint][2]= 8;
Menu[idxMaint][3]= new Array('dis','dish','copper','cleaner','cleaned',
               'function','recoil','peen');
Menu[idxMaint][4]= new Array('Disassemble & Clean','Dishwasher','Copper Paste','Cleaner/Lubricant','Cleaning Interval',
               'Safety & Function Check','Recoil Spring Position','Slide Peening');
Menu[idxMaint][5]= 0;
Menu[idxMaint][6]= new Array('0','0','0','0','0',
               '0','0','0');
//=======================================================================================================
Menu[idxSmith][0]= 'gunsmithing.htm';
Menu[idxSmith][1]= 'Gunsmithing & Parts';
Menu[idxSmith][2]= 14;
Menu[idxSmith][3]= new Array('parts','pin','armorer','manual','slideframe',
               'liner','tenifer','recoil',
               'trigsmooth','rails','frame','acc','swivel',
               'lanyard');
Menu[idxSmith][4]= new Array('34 Parts?','Extra Pin','Glock Armorer`s Course','Glock Armorer`s Manual','Slide/Frame Swaps',
               'Channel Liner','Tenifer Finish','Recoil Spring Test',
               'Trigger Swap','Compact Glock With Rails','Frame Generations','Glock Accessories','Glock Police Swivel Holster',
               'Glock Lanyard');
Menu[idxSmith][5]= 0;
Menu[idxSmith][6]= new Array('0','0','0','0','0',
               '0','0','0',
               '0','0','0','0','0',
               '0');
//=======================================================================================================
Menu[idxMag][0]= 'magazine.htm';
Menu[idxMag][1]= 'Magazine Information';
Menu[idxMag][2]= 6;
Menu[idxMag][3]= new Array('diff','dis','10th','after',
               'swede','uplula');
Menu[idxMag][4]= new Array('FML/DF/NFML/NDF','Magazine Disassembly','The 10th Round','Aftermarket Magazines',
               'Swedish Magazine','UpLULA Magazine Loader');
Menu[idxMag][5]= 0;
Menu[idxMag][6]= new Array('0','0','0','0',
               '0','0');
//=======================================================================================================
Menu[idxMark][0]= 'markings.htm';
Menu[idxMark][1]= 'Serial #s & Markings';
Menu[idxMark][2]= 8;
Menu[idxMark][3]= new Array('lookup','serial','replacement','prototype','le',
              'austrian','modelframe','engraving');
Menu[idxMark][4]= new Array('Serial Number Age','Serial Numbers','G#### / S#### / L####','J#### - Prototypes','LE Marked Glocks',
              'Austrian Proof Marks','Number on Trigger Guard','Engraving');
Menu[idxMark][5]= 0;
Menu[idxMark][6]= new Array('0','0','0','0','2',
              '0','0','0');
//=======================================================================================================
Menu[idxBbl][0]= 'barrel.htm';
Menu[idxBbl][1]= 'Barrel Information';
Menu[idxBbl][2]= 6;
Menu[idxBbl][3]= new Array('polygonal','long','swap','after','support','pencil');
Menu[idxBbl][4]= new Array('Hexagonal vs Octagonal', 'Barrel Lifespan','Barrel Interchangeablity','Aftermarket Barrels','Chamber Support','Pencil Barrel');
Menu[idxBbl][5]= 0;
Menu[idxBbl][6]= new Array('0','0','0','0','0','0');
//=======================================================================================================
Menu[idxAft][0]= 'aftermarket.htm';
Menu[idxAft][1]= 'Aftermarket Parts';
Menu[idxAft][2]= 5;
Menu[idxAft][3]= new Array('grip','plug','safet','fa','22');
Menu[idxAft][4]= new Array('Grip Reductions','The Plug','Saf-T-Block','Full-Auto Conversions','.22 Conversion Kits');
Menu[idxAft][5]= 0;
Menu[idxAft][6]= new Array('0','0','0','0','0');
//=======================================================================================================
Menu[idxTips][0]= 'tips.htm';
Menu[idxTips][1]= 'Tips From the Pros';
Menu[idxTips][2]= 13;
Menu[idxTips][3]= new Array('about','body','importance','stance','gripstance',
              'trigger','first','distance','doubles','where',
              'plates','5tggm','ammo');
Menu[idxTips][4]= new Array('About the Tips', 'Taking Care of Your Body', 'The Importance of Practice', 'Stance', 'Grip & Stance',
              'Trigger Control', 'The First Shot', 'Increased Target Distance', 'Shooting Double Taps', 'Where did that shot come from?',
              'Shooting The Plates Faster', '5 to Glock and Glock M', 'Ammo');
Menu[idxTips][5]= 0;
Menu[idxTips][6]= new Array('0','0','0','0','0',
              '0','0','0','0','0',
              '0','0','0');
//=======================================================================================================
Menu[idxShoot][0]= 'shooting.htm';
Menu[idxShoot][1]= 'Shooting Technique';
Menu[idxShoot][2]= 6;
Menu[idxShoot][3]= new Array('marksmanship','head','low','chamber','rech','range');
Menu[idxShoot][4]= new Array('Marksmanship Fundamentals', 'Brass on Your Head','Shooting Low & Left','Loaded Chamber Indicator','Re-Chambering Rounds','Range Safety');
Menu[idxShoot][5]= 0;
Menu[idxShoot][6]= new Array('0','0','0','0','0','0');
//=======================================================================================================
Menu[idxTrig][0]= 'trigger.htm';
Menu[idxTrig][1]= 'Trigger Technique 101';
Menu[idxTrig][2]= 17;
Menu[idxTrig][3]= new Array('reset','reset2','flinch','flinch2','ant',
              'ant2','ant3','dry','dry2','dry3',
              'follow','follow2','look','look2','look3',
              'look4','milk');
Menu[idxTrig][4]= new Array('Trigger Reset','Trigger Reset (2)',
              'Flinching','Flinching (2)',
              'Anticipation/Surprise', 'Anticipation/Surprise (2)', 'Anticipation/Surprise (3)',
              'Dry-Firing','Dry-Firing (2)','Dry-Firing (3)',
              'Follow Through','Follow Through (2)',
              'Looking for Holes','Looking for Holes (2)','Looking for Holes (3)','Looking for Holes (4)',
              'Milking the Grip');
Menu[idxTrig][5]= 0;
Menu[idxTrig][6]= new Array('0','0','0','0','0',
              '0','0','0','0','0',
              '0','0','0','0','0',
              '0','0');
//=======================================================================================================
Menu[idxCart][0]= 'cartridge.htm';
Menu[idxCart][1]= 'Cartridge Information';
Menu[idxCart][2]= 3;
Menu[idxCart][3]= new Array('10mm','40','400');
Menu[idxCart][4]= new Array('10mm Advocacy','.40 to .357 sig','.400, .45 Super, .40 Super');
Menu[idxCart][5]= 0;
Menu[idxCart][6]= new Array('0','0','0');
//=======================================================================================================
Menu[idxLoad][0]= 'reloading.htm';
Menu[idxLoad][1]= 'Reloading';
Menu[idxLoad][2]= 6;
Menu[idxLoad][3]= new Array('can','lead','swc','max','erm',
              'kb');
Menu[idxLoad][4]= new Array('Reloading for Glocks','Lead Bullets','Semi-Wad-Cutters','Maximum Reloads','Expansion Measurement',
              'kB! Information');
Menu[idxLoad][5]= 0;
Menu[idxLoad][6]= new Array('0','0','0','0','0',
              '0');
//=======================================================================================================
Menu[idxIDPA][0]= 'idpa.htm';
Menu[idxIDPA][1]= 'IDPA & IPSC';
Menu[idxIDPA][2]= 5;
Menu[idxIDPA][3]= new Array('start','what','class','compete',
              'ipscg35');
Menu[idxIDPA][4]= new Array('Competition Starter`s Kit','IDPA - What is the IDPA?','IDPA - Which Class?','IPSC - Glock vs 1911',
              'IPSC - Equipping the G35');
Menu[idxIDPA][5]= 0;
Menu[idxIDPA][6]= new Array('0','0','0','0','0');
//=======================================================================================================
Menu[idxMisc][0]= 'misc.htm';
Menu[idxMisc][1]= 'Miscellaneous';
Menu[idxMisc][2]= 2;
Menu[idxMisc][3]= new Array('famous','quotes');
Menu[idxMisc][4]= new Array('Famous Glocksters','Glock Quotes');
Menu[idxMisc][5]= 0;
Menu[idxMisc][6]= new Array('0','0');
//=======================================================================================================
Menu[idxPicsStk][0]= 'picsstock.htm';
Menu[idxPicsStk][1]= 'Stock Glocks';
Menu[idxPicsStk][2]= 28;
Menu[idxPicsStk][3]= new Array('g17','g17l','g18','g19','g20',
                 'g21','g22', 'g23','g24','g25',
                 'g26','g27', 'g28','g29','g30',
                 'g31','g32', 'g33','g34','g35',
                 'g36','g37', 'g38','g39','g30g26',
                 'blue','red','green');
Menu[idxPicsStk][4]= new Array('Glock 17','Glock 17L','Glock 18','Glock 19','Glock 20',
                 'Glock 21','Glock 22', 'Glock 23','Glock 24','Glock 25',
                 'Glock 26','Glock 27', 'Glock 28','Glock 29','Glock 30',
                 'Glock 31','Glock 32', 'Glock 33','Glock 34','Glock 35',
                 'Glock 36','Glock 37', 'Glock 38','Glock 39','Glock 30 & 26',
                 'Blue Glock Trainer','Red Glock Trainer', 'Green Frame G17');
Menu[idxPicsStk][5]= 0;
Menu[idxPicsStk][6]= new Array('0','0','0','0','0',
                 '0','0','0','0','0',
                 '0','0','0','0','0',
                 '0','0','0','0','0',
                 '0','0','0','0','0',
                 '0','0','0');
//=======================================================================================================
Menu[idxPicsMod][0]= 'picsmod.htm';
Menu[idxPicsMod][1]= 'Modified Glocks';
Menu[idxPicsMod][2]= 7;
Menu[idxPicsMod][3]= new Array('g23','g20','g26','g17lg22g24','g30',
                 'g17laser','sklaser');
Menu[idxPicsMod][4]= new Array('G23 by Aro-Tek','G20 w/6" Hunting Barrel','G26 w/Polished Slide','G17L, G22 & G24','G30 Upgraded',
                 'G17 w/Laser', 'G21 & G27 w/SK Lasers');
Menu[idxPicsMod][5]= 0;
Menu[idxPicsMod][6]= new Array('0','0','0','0','0',
                 '0','0');
//=======================================================================================================
Menu[idxPicsComp][0]= 'picscomp.htm';
Menu[idxPicsComp][1]= 'Competition Glocks';
Menu[idxPicsComp][2]= 7;
Menu[idxPicsComp][3]= new Array('g35','g24cg35','g24','g34opt','g17l','g34','2g35s');
Menu[idxPicsComp][4]= new Array('G35 Race Glock','G24C Optima & G35 Comp','G24 Race Machine','G34 Optima 2000','G17L Big Blue',
                'G34 Racer','G35 Limited & G35 Open');
Menu[idxPicsComp][5]= 0;
Menu[idxPicsComp][6]= new Array('0','0','0','0','0','0','0');
//=======================================================================================================
Menu[idxPicsNonUS][0]= 'picsnonus.htm';
Menu[idxPicsNonUS][1]= 'Non-US Glocks';
Menu[idxPicsNonUS][2]= 5;
Menu[idxPicsNonUS][3]= new Array('9x21','g17pro','g17a','g17dk','gmt');
Menu[idxPicsNonUS][4]= new Array('Special Calibers','Glock 17 Pro','Glock 17A','Glock 17DK','Glock Mariner & Tactical');
Menu[idxPicsNonUS][5]= 0;
Menu[idxPicsNonUS][6]= new Array('0','0','0','0','0');
//=======================================================================================================
Menu[idxPicsRare][0]= 'picsrare.htm';
Menu[idxPicsRare][1]= 'Rare Glocks';
Menu[idxPicsRare][2]= 12;
Menu[idxPicsRare][3]= new Array('desert','atlanta','bell','2m','alaska','nra',
                'defense','gssf','hero','g17s','apache','police');
Menu[idxPicsRare][4]= new Array('Desert Storm Glock','Atlanta Olympic Glock','Bell Helicopter Glock','The 2,000,000th Glock ','Alaskan Glock','NRA Commemorative',
                'Defense Set','GSSF 10th Anniversary','America`s Heroes','Glock 17S', 'Apache Pilot', 'Police Marked Glocks');
Menu[idxPicsRare][5]= 2;
Menu[idxPicsRare][6]= new Array('0','0','0','0','0','0',
                '0','0','2','0','1','2');
//=======================================================================================================
Menu[idxPicsWild][0]= 'picswild.htm';
Menu[idxPicsWild][1]= 'Wild Glocks';
Menu[idxPicsWild][2]= 8;
Menu[idxPicsWild][3]= new Array('g17cut','g19cut','g21cfa','g18cfa','g26h2o',
                'g30xray','art','Engraving');
Menu[idxPicsWild][4]= new Array('Cutaway Glock 17','Cutaway Glock 19','Full Auto G21C','Full Auto G18C','G26 Underwater',
                'G30 Xray','Glock Artwork','Glock Engraving');
Menu[idxPicsWild][5]= 0;
Menu[idxPicsWild][6]= new Array('0','0','0','0','0',
                '0','0','0');
//=======================================================================================================
Menu[idxPicsMisc][0]= 'picsmisc.htm';
Menu[idxPicsMisc][1]= 'Misc. Glocks';
Menu[idxPicsMisc][2]= 6;
Menu[idxPicsMisc][3]= new Array('g27mags','agripplug','2frames','1stgen','3frames',
                'g21wall');
Menu[idxPicsMisc][4]= new Array('G27 Mag Options','Agrip & Plug','2 Frame Generations','1st Generation Frame','3 Frame Generations',
                'Glock 21 Wallpaper');
Menu[idxPicsMisc][6]= 0;
Menu[idxPicsMisc][7]= new Array('0','0','0','0','0','0');
//=======================================================================================================
Menu[idxPicsPromo][0]= 'picspromo.htm';
Menu[idxPicsPromo][1]= 'Glock Promo Items';
Menu[idxPicsPromo][2]= 7;
Menu[idxPicsPromo][3]= new Array('stick','key','writing','gssf',
                 'dealer','armorer','misc');
Menu[idxPicsPromo][4]= new Array('Stickers and Patches','Keychains and Pins','Writing Utensils','GSSF Items',
                 'Dealer items','Armorer Items','Miscellaneous Items');
Menu[idxPicsPromo][5]= 0;
Menu[idxPicsPromo][6]= new Array('0','0','0','0',
                 '0','0','0');
//=======================================================================================================
