YAHOO.util.Event.onContentReady("navMenu", function () {
  var oMenu = new YAHOO.widget.Menu("navMenu", { position: "static", hidedelay: 750, lazyload: true });
  var aSubmenuData = [
  { id: "cp21", itemdata: [
    { text: "Electric", url: "/categories/Electric-21_259.html",
      submenu: { id: "cp21_259", itemdata: [
      { text: "Six String", url: "/categories/Six-String-21_259_260.html" },
      { text: "Seven-String", url: "/categories/Seven-String-21_259_342.html" },
      { text: "Packages", url: "/categories/Packages-21_259_329.html" },
      { text: "Other", url: "/categories/Other-21_259_309.html" }
      ]}
    },
    { text: "Acoustic", url: "/categories/Acoustic-21_83.html",
      submenu: { id: "cp21_83", itemdata: [
      { text: "Six String", url: "/categories/Six-String-21_83_162.html" },
      { text: "Student", url: "/categories/Student-21_83_335.html" },
      { text: "Classical", url: "/categories/Classical-21_83_348.html" },
      { text: "Travel Guitars", url: "/categories/Travel-Guitars-21_83_84.html" }
      ]}
    },
    { text: "Acoustic-Electric", url: "/categories/Acoustic-Electric-21_319.html",
      submenu: { id: "cp21_319", itemdata: [
      { text: "Six String", url: "/categories/Six-String-21_319_320.html" },
      { text: "Twelve String", url: "/categories/Twelve-String-21_319_343.html" }
      ]}
    },
    { text: "Bass", url: "/categories/Bass-21_257.html",
      submenu: { id: "cp21_257", itemdata: [
      { text: "Four String", url: "/categories/Four-String-21_257_258.html" },
      { text: "Five String", url: "/categories/Five-String-21_257_310.html" },
      { text: "Six String", url: "/categories/Six-String-21_257_374.html" },
      { text: "Acoustic", url: "/categories/Acoustic-21_257_279.html" },
      { text: "Packages", url: "/categories/Packages-21_257_282.html" }
      ]}
    },
    { text: "Effects", url: "/categories/Effects-21_25.html",
      submenu: { id: "cp21_25", itemdata: [
      { text: "Single", url: "/categories/Single-21_25_264.html" },
      { text: "Bass", url: "/categories/Bass-21_25_340.html" },
      { text: "Boost", url: "/categories/Boost-21_25_103.html" },
      { text: "Chorus", url: "/categories/Chorus-21_25_28.html" },
      { text: "Compression", url: "/categories/Compression-21_25_101.html" },
      { text: "Delay", url: "/categories/Delay-21_25_291.html" },
      { text: "Distortion", url: "/categories/Distortion-21_25_34.html" },
      { text: "EQ", url: "/categories/EQ-21_25_102.html" },
      { text: "Echo", url: "/categories/Echo-21_25_26.html" },
      { text: "Filter", url: "/categories/Filter-21_25_362.html" },
      { text: "Flange", url: "/categories/Flange-21_25_31.html" },
      { text: "Fuzz", url: "/categories/Fuzz-21_25_104.html" },
      { text: "Modulation", url: "/categories/Modulation-21_25_297.html" },
      { text: "Octave", url: "/categories/Octave-21_25_290.html" },
      { text: "Overdrive", url: "/categories/Overdrive-21_25_80.html" },
      { text: "Phaser", url: "/categories/Phaser-21_25_71.html" },
      { text: "Talk Box", url: "/categories/Talk-Box-21_25_237.html" },
      { text: "Preamp/DI", url: "/categories/Preamp-DI-21_25_363.html" },
      { text: "Tremolo", url: "/categories/Tremolo-21_25_292.html" },
      { text: "Volume", url: "/categories/Volume-21_25_229.html" },
      { text: "Wah Wah", url: "/categories/Wah-Wah-21_25_85.html" },
      { text: "Pedalboards", url: "/categories/Pedalboards-21_25_334.html" },
      { text: "Power Supplies", url: "/categories/Power-Supplies-21_25_182.html" },
      { text: "Switch Boxes", url: "/categories/Switch-Boxes-21_25_263.html" },
      { text: "Rack", url: "/categories/Rack-21_25_230.html" }
      ]}
    },
    { text: "Accessories", url: "/categories/Accessories-21_29.html",
      submenu: { id: "cp21_29", itemdata: [
      { text: "Cables", url: "/categories/Cables-21_29_76.html" },
      { text: "Cases", url: "/categories/Cases-21_29_256.html" },
      { text: "Gig Bags", url: "/categories/Gig-Bags-21_29_324.html" },
      { text: "Practice Tools", url: "/categories/Practice-Tools-21_29_318.html" },
      { text: "Tools", url: "/categories/Tools-21_29_120.html" },
      { text: "Picks", url: "/categories/Picks-21_29_92.html" },
      { text: "Straps & Accessories", url: "/categories/Straps-Accessories-21_29_35.html" },
      { text: "Cleaning & Care", url: "/categories/Cleaning-Care-21_29_30.html" },
      { text: "Metronomes", url: "/categories/Metronomes-21_29_36.html" },
      { text: "Slides & Capos", url: "/categories/Slides-Capos-21_29_82.html" },
      { text: "Stands & Benches", url: "/categories/Stands-Benches-21_29_81.html" },
      { text: "Tuners", url: "/categories/Tuners-21_29_90.html" },
      { text: "Batteries", url: "/categories/Batteries-21_29_136.html" },
      { text: "String Winders", url: "/categories/String-Winders-21_29_48.html" },
      { text: "Rack Cases & Accessories", url: "/categories/Rack-Cases-Accessories-21_29_254.html" }
      ]}
    },
    { text: "Replacement Parts", url: "/categories/Replacement-Parts-21_56.html",
      submenu: { id: "cp21_56", itemdata: [
      { text: "Pickups", url: "/categories/Pickups-21_56_57.html" },
      { text: "Machine Heads", url: "/categories/Machine-Heads-21_56_114.html" },
      { text: "Jacks", url: "/categories/Jacks-21_56_153.html" },
      { text: "Pots", url: "/categories/Pots-21_56_252.html" },
      { text: "Pickguards", url: "/categories/Pickguards-21_56_199.html" },
      { text: "Bridges & Stop T/P", url: "/categories/Bridges-Stop-T-P-21_56_150.html" },
      { text: "Nuts", url: "/categories/Nuts-21_56_266.html" },
      { text: "Saddles & Bridges", url: "/categories/Saddles-Bridges-21_56_364.html" },
      { text: "Knobs", url: "/categories/Knobs-21_56_197.html" },
      { text: "Control Plates", url: "/categories/Control-Plates-21_56_253.html" },
      { text: "Repair Kits", url: "/categories/Repair-Kits-21_56_225.html" },
      { text: "Selector Swtiches", url: "/categories/Selector-Swtiches-21_56_200.html" },
      { text: "Control Pots", url: "/categories/Control-Pots-21_56_274.html" },
      { text: "Pin Sets", url: "/categories/Pin-Sets-21_56_196.html" },
      { text: "Tremolo", url: "/categories/Tremolo-21_56_198.html" },
      { text: "Screws", url: "/categories/Screws-21_56_201.html" }
      ]}
    },
    { text: "Amp Parts", url: "/categories/Amp-Parts-21_216.html",
      submenu: { id: "cp21_216", itemdata: [
      { text: "Tubes", url: "/categories/Tubes-21_216_277.html" },
      { text: "Amp Parts", url: "/categories/Amp-Parts-21_216_217.html" },
      { text: "Covers", url: "/categories/Covers-21_216_322.html" }
      ]}
    },
    { text: "Strings", url: "/categories/Strings-21_22.html",
      submenu: { id: "cp21_22", itemdata: [
      { text: "Acoustic Guitar String Sets", url: "/categories/Acoustic-Guitar-String-Sets-21_22_24.html" },
      { text: "Acoustic 12 String Sets", url: "/categories/Acoustic-12-String-Sets-21_22_27.html" },
      { text: "Classical Guitar String Sets", url: "/categories/Classical-Guitar-String-Sets-21_22_23.html" },
      { text: "Classical Single Strings", url: "/categories/Classical-Single-Strings-21_22_69.html" },
      { text: "Electric Bass String Sets", url: "/categories/Electric-Bass-String-Sets-21_22_33.html" },
      { text: "Electric Bass Single Strings", url: "/categories/Electric-Bass-Single-Strings-21_22_175.html" },
      { text: "Electric Guitar String Sets", url: "/categories/Electric-Guitar-String-Sets-21_22_32.html" },
      { text: "Electric Single Strings", url: "/categories/Electric-Single-Strings-21_22_112.html" },
      { text: "Acoustic Bass String Sets", url: "/categories/Acoustic-Bass-String-Sets-21_22_70.html" }
      ]}
    },
    { text: "Bass Amps", url: "/categories/Bass-Amps-21_72.html",
      submenu: { id: "cp21_72", itemdata: [
      { text: "Combos", url: "/categories/Combos-21_72_73.html" },
      { text: "Heads", url: "/categories/Heads-21_72_325.html" },
      { text: "Cabinets", url: "/categories/Cabinets-21_72_298.html" },
      { text: "Headphones Amps", url: "/categories/Headphones-Amps-21_72_352.html" }
      ]}
    },
    { text: "Guitar Amps", url: "/categories/Guitar-Amps-21_261.html",
      submenu: { id: "cp21_261", itemdata: [
      { text: "Combos", url: "/categories/Combos-21_261_262.html" },
      { text: "Heads", url: "/categories/Heads-21_261_299.html" },
      { text: "Cabinets", url: "/categories/Cabinets-21_261_286.html" },
      { text: "Practice Amps", url: "/categories/Practice-Amps-21_261_305.html" },
      { text: "Headphone Amps", url: "/categories/Headphone-Amps-21_261_347.html" }
      ]}
    },
    { text: "Practice Amps", url: "/categories/Practice-Amps-21_74.html",
      submenu: { id: "cp21_74", itemdata: [
      { text: "Mini Amps", url: "/categories/Mini-Amps-21_74_304.html" },
      { text: "Headphone Amps", url: "/categories/Headphone-Amps-21_74_346.html" },
      { text: "Combo", url: "/categories/Combo-21_74_75.html" }
      ]}
    }
    ]
  },
  { id: "cp130", itemdata: [
    { text: "Mixers", url: "/categories/Mixers-130_349.html",
      submenu: { id: "cp130_349", itemdata: [
      { text: "Powered", url: "/categories/Powered-130_349_350.html" }
      ]}
    },
    { text: "PA Speakers", url: "/categories/PA-Speakers-130_295.html",
      submenu: { id: "cp130_295", itemdata: [
      { text: "Passive Cabs/Monitors", url: "/categories/Passive-Cabs-Monitors-130_295_296.html" },
      { text: "Subwoofers", url: "/categories/Subwoofers-130_295_328.html" }
      ]}
    },
    { text: "Packaged Systems", url: "/categories/Packaged-Systems-130_300.html",
      submenu: { id: "cp130_300", itemdata: [
      { text: "Portable", url: "/categories/Portable-130_300_301.html" }
      ]}
    },
    { text: "Headphones/Monitors", url: "/categories/Headphones-Monitors-130_131.html",
      submenu: { id: "cp130_131", itemdata: [
      { text: "Headphones", url: "/categories/Headphones-130_131_132.html" },
      { text: "Headphone Junction", url: "/categories/Headphone-Junction-130_131_314.html" }
      ]}
    },
    { text: "Accessories", url: "/categories/Accessories-130_316.html",
      submenu: { id: "cp130_316", itemdata: [
      { text: "Cases & Bags", url: "/categories/Cases-Bags-130_316_317.html" }
      ]}
    },
    { text: "Cables", url: "/categories/Cables-130_280.html",
      submenu: { id: "cp130_280", itemdata: [
      { text: "Speaker", url: "/categories/Speaker-130_280_281.html" },
      { text: "Accessories", url: "/categories/Accessories-130_280_312.html" }
      ]}
    }
    ]
  },
  { id: "cp354", itemdata: [
    { text: "Recorders & Burners", url: "/categories/Recorders-Burners-354_357.html",
      submenu: { id: "cp354_357", itemdata: [
      { text: "Digital Recorders", url: "/categories/Digital-Recorders-354_357_358.html" }
      ]}
    },
    { text: "Computer Hardware", url: "/categories/Computer-Hardware-354_359.html",
      submenu: { id: "cp354_359", itemdata: [
      { text: "MIDI Interfaces", url: "/categories/MIDI-Interfaces-354_359_375.html" },
      { text: "Audio Interfaces", url: "/categories/Audio-Interfaces-354_359_360.html" }
      ]}
    },
    { text: "Accessories", url: "/categories/Accessories-354_355.html",
      submenu: { id: "cp354_355", itemdata: [
      { text: "Stands", url: "/categories/Stands-354_355_356.html" }
      ]}
    }
    ]
  },
  { id: "cp5", itemdata: [
    { text: "Microphones", url: "/categories/Microphones-5_45.html",
      submenu: { id: "cp5_45", itemdata: [
      { text: "Condenser Microphones", url: "/categories/Condenser-Microphones-5_45_107.html" },
      { text: "Dynamic Microphones", url: "/categories/Dynamic-Microphones-5_45_106.html" },
      { text: "Microphone Accessories", url: "/categories/Microphone-Accessories-5_45_179.html" },
      { text: "Microphone Packages", url: "/categories/Microphone-Packages-5_45_46.html" },
      { text: "Percussion Microphones", url: "/categories/Percussion-Microphones-5_45_47.html" },
      { text: "Specialty Microphones", url: "/categories/Specialty-Microphones-5_45_154.html" }
      ]}
    },
    { text: "Wireless Mic Systems", url: "/categories/Wireless-Mic-Systems-5_117.html",
      submenu: { id: "cp5_117", itemdata: [
      { text: "Handheld Systems", url: "/categories/Handheld-Systems-5_117_186.html" },
      { text: "Headworn Systems", url: "/categories/Headworn-Systems-5_117_376.html" },
      { text: "Instrument Systems", url: "/categories/Instrument-Systems-5_117_118.html" },
      { text: "Lavalier Systems", url: "/categories/Lavalier-Systems-5_117_204.html" },
      { text: "Personal Monitoring Systems", url: "/categories/Personal-Monitoring-Systems-5_117_241.html" },
      { text: "Wireless Receivers", url: "/categories/Wireless-Receivers-5_117_240.html" }
      ]}
    },
    { text: "Cables", url: "/categories/Cables-5_6.html",
      submenu: { id: "cp5_6", itemdata: [
      { text: "Instrument Cables", url: "/categories/Instrument-Cables-5_6_185.html" },
      { text: "Microphone Cables", url: "/categories/Microphone-Cables-5_6_7.html" },
      { text: "Speaker Cables", url: "/categories/Speaker-Cables-5_6_192.html" },
      { text: "Specialty Cables", url: "/categories/Specialty-Cables-5_6_193.html" },
      { text: "Connectors", url: "/categories/Connectors-5_6_145.html" },
      { text: "Cable Accessories", url: "/categories/Cable-Accessories-5_6_313.html" }
      ]}
    },
    { text: "Headphones", url: "/categories/Headphones-5_50.html",
      submenu: { id: "cp5_50", itemdata: [
      { text: "Studio Use", url: "/categories/Studio-Use-5_50_137.html" },
      { text: "Personal Use", url: "/categories/Personal-Use-5_50_51.html" },
      { text: "Headphone Adapters", url: "/categories/Headphone-Adapters-5_50_315.html" },
      { text: "Sleeves", url: "/categories/Sleeves-5_50_250.html" }
      ]}
    },
    { text: "Signal Processors", url: "/categories/Signal-Processors-5_344.html",
      submenu: { id: "cp5_344", itemdata: [
      { text: "Direct Boxes", url: "/categories/Direct-Boxes-5_344_345.html" }
      ]}
    },
    { text: "Accessories", url: "/categories/Accessories-5_110.html",
      submenu: { id: "cp5_110", itemdata: [
      { text: "Cases & Bags", url: "/categories/Cases-Bags-5_110_302.html" },
      { text: "Ear Protection", url: "/categories/Ear-Protection-5_110_330.html" },
      { text: "Mic Clamps & Holders", url: "/categories/Mic-Clamps-Holders-5_110_111.html" },
      { text: "Mic Clips", url: "/categories/Mic-Clips-5_110_178.html" },
      { text: "Mic Stands", url: "/categories/Mic-Stands-5_110_222.html" },
      { text: "Pop Filters", url: "/categories/Pop-Filters-5_110_119.html" },
      { text: "Power Supplies", url: "/categories/Power-Supplies-5_110_183.html" },
      { text: "Speaker Stands", url: "/categories/Speaker-Stands-5_110_308.html" },
      { text: "Windscreens", url: "/categories/Windscreens-5_110_180.html" }
      ]}
    }
    ]
  },
  { id: "cp52", itemdata: [
    { text: "Instructional Books", url: "/categories/Instructional-Books-52_53.html",
      submenu: { id: "cp52_53", itemdata: [
      { text: "Acoustic Guitar", url: "/categories/Acoustic-Guitar-52_53_54.html" },
      { text: "Electric Guitar", url: "/categories/Electric-Guitar-52_53_55.html" },
      { text: "Bass Guitar", url: "/categories/Bass-Guitar-52_53_173.html" },
      { text: "Drums", url: "/categories/Drums-52_53_248.html" },
      { text: "Bluegrass", url: "/categories/Bluegrass-52_53_88.html" },
      { text: "Harmonica", url: "/categories/Harmonica-52_53_233.html" },
      { text: "Accordian", url: "/categories/Accordian-52_53_236.html" },
      { text: "Keyboard", url: "/categories/Keyboard-52_53_249.html" },
      { text: "Vocal", url: "/categories/Vocal-52_53_89.html" },
      { text: "Music", url: "/categories/Music-52_53_361.html" },
      { text: "Manuscript Books", url: "/categories/Manuscript-Books-52_53_205.html" },
      { text: "Manuscript Books", url: "/categories/Manuscript-Books-52_53_206.html" }
      ]}
    },
    { text: "DVD's", url: "/categories/DVDs-52_151.html",
      submenu: { id: "cp52_151", itemdata: [
      { text: "Acoustic Guitar", url: "/categories/Acoustic-Guitar-52_151_152.html" },
      { text: "Electric Guitar", url: "/categories/Electric-Guitar-52_151_163.html" },
      { text: "Bass Guitar", url: "/categories/Bass-Guitar-52_151_165.html" },
      { text: "Drums", url: "/categories/Drums-52_151_245.html" },
      { text: "Bluegrass", url: "/categories/Bluegrass-52_151_166.html" },
      { text: "Harmonica", url: "/categories/Harmonica-52_151_246.html" },
      { text: "Keyboard", url: "/categories/Keyboard-52_151_242.html" },
      { text: "Orchestral", url: "/categories/Orchestral-52_151_247.html" }
      ]}
    }
    ]
  },
  { id: "cp379", itemdata: [
    { text: "Electric Guitars", url: "/categories/Electric-Guitars-379_380.html",
      submenu: { id: "cp379_380", itemdata: [
      { text: "Solid Body Six String", url: "/categories/Solid-Body-Six-String-379_380_381.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]);
    }
  });

  oMenu.render();
});
