YAHOO.util.Event.onContentReady("navMenu", function () {
  var oMenu = new YAHOO.widget.Menu("navMenu", { position: "static", hidedelay: 750, lazyload: true });
  var aSubmenuData = [
  { id: "cp4", itemdata: [
    { text: "Woodwind", url: "/categories/Woodwind-4_90.html",
      submenu: { id: "cp4_90", itemdata: [
      { text: "Flute & Piccolo", url: "/categories/Flute-Piccolo-4_90_91.html",
        submenu: { id: "cp4_90_91", itemdata: [
        { text: "Piccolos", url: "/categories/Piccolos-4_90_91_381.html" },
        { text: "Student Flutes", url: "/categories/Student-Flutes-4_90_91_383.html" },
        { text: "Intermediate Flutes", url: "/categories/Intermediate-Flutes-4_90_91_382.html" },
        { text: "Professional Flutes", url: "/categories/Professional-Flutes-4_90_91_384.html" }
        ]}
      },
      { text: "Oboe & Bassoon", url: "/categories/Oboe-Bassoon-4_90_379.html",
        submenu: { id: "cp4_90_379", itemdata: [
        { text: "Oboes", url: "/categories/Oboes-4_90_379_404.html" },
        { text: "Bassoons", url: "/categories/Bassoons-4_90_379_405.html" }
        ]}
      },
      { text: "Clarinet & Bass Clarinet", url: "/categories/Clarinet-Bass-Clarinet-4_90_355.html",
        submenu: { id: "cp4_90_355", itemdata: [
        { text: "Student Clarinets", url: "/categories/Student-Clarinets-4_90_355_411.html" },
        { text: "Intermediate Clarinets", url: "/categories/Intermediate-Clarinets-4_90_355_412.html" },
        { text: "Professional Clarinets", url: "/categories/Professional-Clarinets-4_90_355_413.html",
          submenu: { id: "cp4_90_355_413", itemdata: [
          { text: "Bb Clarinets", url: "/categories/Bb-Clarinets-4_90_355_413_414.html" },
          { text: "A Clarinets", url: "/categories/A-Clarinets-4_90_355_413_415.html" },
          { text: "Eb Clarinets", url: "/categories/Eb-Clarinets-4_90_355_413_416.html" },
          { text: "Bass Clarinets", url: "/categories/Bass-Clarinets-4_90_355_413_417.html" }
          ]}
        }
        ]}
      },
      { text: "Saxophones", url: "/categories/Saxophones-4_90_424.html",
        submenu: { id: "cp4_90_424", itemdata: [
        { text: "Student Saxophones", url: "/categories/Student-Saxophones-4_90_424_425.html",
          submenu: { id: "cp4_90_424_425", itemdata: [
          { text: "Alto Sax", url: "/categories/Alto-Sax-4_90_424_425_429.html" },
          { text: "Tenor Sax", url: "/categories/Tenor-Sax-4_90_424_425_430.html" },
          { text: "Soprano Sax", url: "/categories/Soprano-Sax-4_90_424_425_3487.html" }
          ]}
        },
        { text: "Intermediate Saxophones", url: "/categories/Intermediate-Saxophones-4_90_424_426.html",
          submenu: { id: "cp4_90_424_426", itemdata: [
          { text: "Soprano Sax", url: "/categories/Soprano-Sax-4_90_424_426_431.html" },
          { text: "Alto Sax", url: "/categories/Alto-Sax-4_90_424_426_432.html" },
          { text: "Tenor Sax", url: "/categories/Tenor-Sax-4_90_424_426_433.html" },
          { text: "Bari Sax", url: "/categories/Bari-Sax-4_90_424_426_434.html" }
          ]}
        },
        { text: "Professional Saxophones", url: "/categories/Professional-Saxophones-4_90_424_427.html",
          submenu: { id: "cp4_90_424_427", itemdata: [
          { text: "Soprano Sax", url: "/categories/Soprano-Sax-4_90_424_427_435.html" },
          { text: "Alto Sax", url: "/categories/Alto-Sax-4_90_424_427_436.html" },
          { text: "Tenor Sax", url: "/categories/Tenor-Sax-4_90_424_427_437.html" },
          { text: "Bari Sax", url: "/categories/Bari-Sax-4_90_424_427_438.html" }
          ]}
        }
        ]}
      }
      ]}
    },
    { text: "Brass", url: "/categories/Brass-4_92.html",
      submenu: { id: "cp4_92", itemdata: [
      { text: "Trumpet & Fluglehorn", url: "/categories/Trumpet-Fluglehorn-4_92_93.html",
        submenu: { id: "cp4_92_93", itemdata: [
        { text: "Student Trumpets", url: "/categories/Student-Trumpets-4_92_93_387.html" },
        { text: "Intermediate Trumpets", url: "/categories/Intermediate-Trumpets-4_92_93_388.html" },
        { text: "Professional Trumpets", url: "/categories/Professional-Trumpets-4_92_93_389.html" },
        { text: "Fluglehorns", url: "/categories/Fluglehorns-4_92_93_397.html" }
        ]}
      },
      { text: "French Horn", url: "/categories/French-Horn-4_92_385.html" },
      { text: "Trombone", url: "/categories/Trombone-4_92_94.html" },
      { text: "Baritone & Euphonium", url: "/categories/Baritone-Euphonium-4_92_386.html" }
      ]}
    },
    { text: "Accessories", url: "/categories/Accessories-4_5.html",
      submenu: { id: "cp4_5", itemdata: [
      { text: "Tuners & Metronomes", url: "/categories/Tuners-Metronomes-4_5_248.html" },
      { text: "Music Stands", url: "/categories/Music-Stands-4_5_45.html" },
      { text: "Reeds", url: "/categories/Reeds-4_5_216.html",
        submenu: { id: "cp4_5_216", itemdata: [
        { text: "Clarinet & Bass Clarinet Reeds", url: "/categories/Clarinet-Bass-Clarinet-Reeds-4_5_216_3315.html" },
        { text: "Soprano & Alto Sax Reeds", url: "/categories/Soprano-Alto-Sax-Reeds-4_5_216_3316.html" },
        { text: "Tenor & Bari Sax Reeds", url: "/categories/Tenor-Bari-Sax-Reeds-4_5_216_3317.html" },
        { text: "Oboe & Bassoon Reeds", url: "/categories/Oboe-Bassoon-Reeds-4_5_216_3318.html" }
        ]}
      },
      { text: "Mouthpieces", url: "/categories/Mouthpieces-4_5_8.html" },
      { text: "Practice Tools", url: "/categories/Practice-Tools-4_5_3427.html" },
      { text: "Ligatures", url: "/categories/Ligatures-4_5_234.html" },
      { text: "Straps", url: "/categories/Straps-4_5_7.html" },
      { text: "Mutes", url: "/categories/Mutes-4_5_341.html" },
      { text: "Cases", url: "/categories/Cases-4_5_233.html" },
      { text: "Cleaning & Care", url: "/categories/Cleaning-Care-4_5_15.html" },
      { text: "Instrument Stands", url: "/categories/Instrument-Stands-4_5_263.html" },
      { text: "Metronomes", url: "/categories/Metronomes-4_5_3488.html" }
      ]}
    }
    ]
  },
  { id: "cp18", itemdata: [
    { text: "Stringed Instruments", url: "/categories/Stringed-Instruments-18_228.html",
      submenu: { id: "cp18_228", itemdata: [
      { text: "Violin", url: "/categories/Violin-18_228_229.html" },
      { text: "Viola", url: "/categories/Viola-18_228_330.html" },
      { text: "Cello", url: "/categories/Cello-18_228_329.html" }
      ]}
    },
    { text: "String Accessories", url: "/categories/String-Accessories-18_19.html",
      submenu: { id: "cp18_19", itemdata: [
      { text: "Tuners & Metronomes", url: "/categories/Tuners-Metronomes-18_19_3321.html" },
      { text: "Music Stands", url: "/categories/Music-Stands-18_19_46.html" },
      { text: "Strings", url: "/categories/Strings-18_19_3322.html",
        submenu: { id: "cp18_19_3322", itemdata: [
        { text: "Violin Strings", url: "/categories/Violin-Strings-18_19_3322_118.html" },
        { text: "Viola Strings", url: "/categories/Viola-Strings-18_19_3322_3319.html" },
        { text: "Cello Strings", url: "/categories/Cello-Strings-18_19_3322_3320.html" }
        ]}
      },
      { text: "Bags & Covers", url: "/categories/Bags-Covers-18_19_3447.html" },
      { text: "Bows", url: "/categories/Bows-18_19_219.html" },
      { text: "Rosin", url: "/categories/Rosin-18_19_20.html" },
      { text: "Shoulder Rests & Slip Stops", url: "/categories/Shoulder-Rests-Slip-Stops-18_19_378.html" },
      { text: "Tuning", url: "/categories/Tuning-18_19_3401.html" },
      { text: "Cases", url: "/categories/Cases-18_19_188.html" },
      { text: "Cleaning & Care", url: "/categories/Cleaning-Care-18_19_318.html" },
      { text: "Instrument Stands", url: "/categories/Instrument-Stands-18_19_247.html" },
      { text: "Tools", url: "/categories/Tools-18_19_3352.html" },
      { text: "Metronomes", url: "/categories/Metronomes-18_19_3365.html" },
      { text: "Pick-Ups", url: "/categories/Pick-Ups-18_19_3392.html" }
      ]}
    },
    { text: "Parts", url: "/categories/Parts-18_3353.html",
      submenu: { id: "cp18_3353", itemdata: [
      { text: "Violin", url: "/categories/Violin-18_3353_3354.html" },
      { text: "Viola", url: "/categories/Viola-18_3353_3422.html" },
      { text: "Cello", url: "/categories/Cello-18_3353_3356.html" },
      { text: "Bass", url: "/categories/Bass-18_3353_3446.html" }
      ]}
    }
    ]
  },
  { id: "cp9", itemdata: [
    { text: "Acoustic Guitars", url: "/categories/Acoustic-Guitars-9_137.html" },
    { text: "Acoustic-Electric Guitars", url: "/categories/Acoustic-Electric-Guitars-9_207.html" },
    { text: "Electric Guitars", url: "/categories/Electric-Guitars-9_145.html" },
    { text: "Bass Guitars", url: "/categories/Bass-Guitars-9_3334.html" },
    { text: "Guitar Amps", url: "/categories/Guitar-Amps-9_147.html",
      submenu: { id: "cp9_147", itemdata: [
      { text: "Combos", url: "/categories/Combos-9_147_148.html" },
      { text: "Heads", url: "/categories/Heads-9_147_288.html" },
      { text: "Cabinets", url: "/categories/Cabinets-9_147_316.html" }
      ]}
    },
    { text: "Guitar Accessories", url: "/categories/Guitar-Accessories-9_10.html",
      submenu: { id: "cp9_10", itemdata: [
      { text: "Guitar Cases", url: "/categories/Guitar-Cases-9_10_199.html" },
      { text: "Guitar Gig Bags", url: "/categories/Guitar-Gig-Bags-9_10_342.html" },
      { text: "Guitar Pedals", url: "/categories/Guitar-Pedals-9_10_3345.html" },
      { text: "Guitar Straps", url: "/categories/Guitar-Straps-9_10_11.html" },
      { text: "Guitar Stands & Benches", url: "/categories/Guitar-Stands-Benches-9_10_153.html" }
      ]}
    }
    ]
  },
  { id: "cp70", itemdata: [
    { text: "Digital Grand Pianos", url: "/categories/Digital-Grand-Pianos-70_177.html" },
    { text: "Portable Digital Grand Pianos", url: "/categories/Portable-Digital-Grand-Pianos-70_3565.html" },
    { text: "Portable Keyboards", url: "/categories/Portable-Keyboards-70_106.html" },
    { text: "Keyboard Accessories", url: "/categories/Keyboard-Accessories-70_71.html",
      submenu: { id: "cp70_71", itemdata: [
      { text: "Pedals", url: "/categories/Pedals-70_71_232.html" },
      { text: "Stands & Benches", url: "/categories/Stands-Benches-70_71_332.html" }
      ]}
    }
    ]
  },
  { id: "cp42", itemdata: [
    { text: "Drumsets", url: "/categories/Drumsets-42_3335.html" }
    ]
  },
  { id: "cp12", itemdata: [
    { text: "Stringed Instruments", url: "/categories/Stringed-Instruments-12_73.html",
      submenu: { id: "cp12_73", itemdata: [
      { text: "Mandolin", url: "/categories/Mandolin-12_73_206.html" },
      { text: "Ukulele", url: "/categories/Ukulele-12_73_139.html" },
      { text: "Banjo", url: "/categories/Banjo-12_73_203.html" }
      ]}
    }
    ]
  },
  { id: "cp3566", itemdata: [
    { text: "Band Methods", url: "/categories/Band-Methods-3566_3578.html",
      submenu: { id: "cp3566_3578", itemdata: [
      { text: "Accent on Achievement", url: "/categories/Accent-on-Achievement-3566_3578_3579.html" },
      { text: "Band Expressions", url: "/categories/Band-Expressions-3566_3578_3580.html" },
      { text: "Essential Elements 2000", url: "/categories/Essential-Elements-2000-3566_3578_3581.html" },
      { text: "Foundations for Superior Performance", url: "/categories/Foundations-for-Superior-Performance-3566_3578_3582.html" },
      { text: "Sound Innovations", url: "/categories/Sound-Innovations-3566_3578_3583.html" },
      { text: "Standard of Excellence", url: "/categories/Standard-of-Excellence-3566_3578_3584.html" }
      ]}
    },
    { text: "Orchestra Methods", url: "/categories/Orchestra-Methods-3566_3568.html",
      submenu: { id: "cp3566_3568", itemdata: [
      { text: "All for Strings", url: "/categories/All-for-Strings-3566_3568_3585.html" },
      { text: "Artistry in Strings", url: "/categories/Artistry-in-Strings-3566_3568_3586.html" },
      { text: "Essential Elements for Strings 2000", url: "/categories/Essential-Elements-for-Strings-2000-3566_3568_3587.html" },
      { text: "Essentials for Strings", url: "/categories/Essentials-for-Strings-3566_3568_3588.html" },
      { text: "Orchestra Expressions", url: "/categories/Orchestra-Expressions-3566_3568_3589.html" },
      { text: "Strictly Strings", url: "/categories/Strictly-Strings-3566_3568_3590.html" },
      { text: "String Explorer", url: "/categories/String-Explorer-3566_3568_3591.html" }
      ]}
    },
    { text: "Percussion & Rhythm", url: "/categories/Percussion-Rhythm-3566_3592.html" }
    ]
  },
  { id: "cp3505", itemdata: [
    { text: "Band Rentals", url: "/categories/Band-Rentals-3505_3540.html",
      submenu: { id: "cp3505_3540", itemdata: [
      { text: "Flute", url: "/categories/Flute-3505_3540_3544.html" },
      { text: "Oboe", url: "/categories/Oboe-3505_3540_3543.html" },
      { text: "Clarinet", url: "/categories/Clarinet-3505_3540_3545.html" },
      { text: "Alto Saxophone", url: "/categories/Alto-Saxophone-3505_3540_3546.html" },
      { text: "Tenor Saxophone", url: "/categories/Tenor-Saxophone-3505_3540_3547.html" },
      { text: "Trumpet", url: "/categories/Trumpet-3505_3540_3548.html" },
      { text: "French Horn", url: "/categories/French-Horn-3505_3540_3551.html" },
      { text: "Trombone", url: "/categories/Trombone-3505_3540_3550.html" },
      { text: "Bell Kit", url: "/categories/Bell-Kit-3505_3540_3552.html" }
      ]}
    },
    { text: "Orchestra Rentals", url: "/categories/Orchestra-Rentals-3505_3541.html",
      submenu: { id: "cp3505_3541", itemdata: [
      { text: "Violin", url: "/categories/Violin-3505_3541_3553.html",
        submenu: { id: "cp3505_3541_3553", itemdata: [
        { text: "4/4 Violin", url: "/categories/4-4-Violin-3505_3541_3553_3556.html" },
        { text: "3/4 Violin", url: "/categories/3-4-Violin-3505_3541_3553_3557.html" },
        { text: "1/2 Violin", url: "/categories/1-2-Violin-3505_3541_3553_3558.html" }
        ]}
      },
      { text: "Viola", url: "/categories/Viola-3505_3541_3554.html",
        submenu: { id: "cp3505_3541_3554", itemdata: [
        { text: "15\" Viola", url: "/categories/15-Viola-3505_3541_3554_3559.html" },
        { text: "14\" Viola", url: "/categories/14-Viola-3505_3541_3554_3560.html" },
        { text: "13\" Viola", url: "/categories/13-Viola-3505_3541_3554_3561.html" }
        ]}
      },
      { text: "Cello", url: "/categories/Cello-3505_3541_3555.html",
        submenu: { id: "cp3505_3541_3555", itemdata: [
        { text: "4/4 Cello", url: "/categories/4-4-Cello-3505_3541_3555_3562.html" },
        { text: "3/4 Cello", url: "/categories/3-4-Cello-3505_3541_3555_3563.html" },
        { text: "1/2 Cello", url: "/categories/1-2-Cello-3505_3541_3555_3564.html" }
        ]}
      }
      ]}
    }
    ]
  }
  ];

  oMenu.subscribe("beforeRender", function () {
    if (this.getRoot() == this) {
      this.getItem(0).cfg.setProperty("submenu", aSubmenuData[0]);
      this.getItem(1).cfg.setProperty("submenu", aSubmenuData[1]);
      this.getItem(2).cfg.setProperty("submenu", aSubmenuData[2]);
      this.getItem(3).cfg.setProperty("submenu", aSubmenuData[3]);
      this.getItem(4).cfg.setProperty("submenu", aSubmenuData[4]);
      this.getItem(5).cfg.setProperty("submenu", aSubmenuData[5]);
      this.getItem(6).cfg.setProperty("submenu", aSubmenuData[6]);
      this.getItem(7).cfg.setProperty("submenu", aSubmenuData[7]);
    }
  });

  oMenu.render();
});
