YAHOO.util.Event.onContentReady("navMenu", function () {
  var oMenu = new YAHOO.widget.Menu("navMenu", { position: "static", hidedelay: 750, lazyload: true });
  var aSubmenuData = [
  { id: "cp1", itemdata: [
    { text: "Electric", url: "/categories/Electric-1_2.html",
      submenu: { id: "cp1_2", itemdata: [
      { text: "Six String", url: "/categories/Six-String-1_2_6.html" },
      { text: "Packages", url: "/categories/Packages-1_2_5.html" }
      ]}
    },
    { text: "Acoustic", url: "/categories/Acoustic-1_8.html",
      submenu: { id: "cp1_8", itemdata: [
      { text: "Six String", url: "/categories/Six-String-1_8_11.html" },
      { text: "Twelve String", url: "/categories/Twelve-String-1_8_12.html" },
      { text: "Student", url: "/categories/Student-1_8_13.html" },
      { text: "Classical", url: "/categories/Classical-1_8_15.html" },
      { text: "Travel Guitars", url: "/categories/Travel-Guitars-1_8_10.html" },
      { text: "Latin", url: "/categories/Latin-1_8_14.html" },
      { text: "Resonator", url: "/categories/Resonator-1_8_16.html" },
      { text: "Packages", url: "/categories/Packages-1_8_912.html" }
      ]}
    },
    { text: "Acoustic-Electric", url: "/categories/Acoustic-Electric-1_17.html",
      submenu: { id: "cp1_17", itemdata: [
      { text: "Six String", url: "/categories/Six-String-1_17_18.html" },
      { text: "Twelve String", url: "/categories/Twelve-String-1_17_874.html" }
      ]}
    },
    { text: "Bass", url: "/categories/Bass-1_856.html",
      submenu: { id: "cp1_856", itemdata: [
      { text: "Four String", url: "/categories/Four-String-1_856_857.html" },
      { text: "Five String", url: "/categories/Five-String-1_856_858.html" },
      { text: "Acoustic", url: "/categories/Acoustic-1_856_859.html" },
      { text: "Packages", url: "/categories/Packages-1_856_860.html" }
      ]}
    },
    { text: "Amps", url: "/categories/Amps-1_20.html",
      submenu: { id: "cp1_20", itemdata: [
      { text: "Mini-Amps", url: "/categories/Mini-Amps-1_20_27.html" },
      { text: "Combos", url: "/categories/Combos-1_20_23.html" },
      { text: "Heads", url: "/categories/Heads-1_20_21.html" },
      { text: "Cabinets", url: "/categories/Cabinets-1_20_22.html" },
      { text: "Full-Stacks", url: "/categories/Full-Stacks-1_20_25.html" },
      { text: "Half-Stacks", url: "/categories/Half-Stacks-1_20_24.html" },
      { text: "Packages", url: "/categories/Packages-1_20_26.html" },
      { text: "Pre-Amps", url: "/categories/Pre-Amps-1_20_28.html" },
      { text: "Headphone Amps", url: "/categories/Headphone-Amps-1_20_30.html" },
      { text: "Practice Amps", url: "/categories/Practice-Amps-1_20_32.html" },
      { text: "Direct Boxes", url: "/categories/Direct-Boxes-1_20_33.html" },
      { text: "Amp Stands", url: "/categories/Amp-Stands-1_20_31.html" }
      ]}
    },
    { text: "Effects", url: "/categories/Effects-1_34.html",
      submenu: { id: "cp1_34", itemdata: [
      { text: "Single", url: "/categories/Single-1_34_35.html" },
      { text: "Multi", url: "/categories/Multi-1_34_36.html" },
      { text: "Rack", url: "/categories/Rack-1_34_37.html" },
      { text: "Pedalboards", url: "/categories/Pedalboards-1_34_38.html" },
      { text: "Power Supplies", url: "/categories/Power-Supplies-1_34_41.html" },
      { text: "Switch Boxes", url: "/categories/Switch-Boxes-1_34_42.html" },
      { text: "Direct Boxes", url: "/categories/Direct-Boxes-1_34_43.html" }
      ]}
    },
    { text: "Accessories", url: "/categories/Accessories-1_44.html",
      submenu: { id: "cp1_44", itemdata: [
      { text: "Cables", url: "/categories/Cables-1_44_58.html" },
      { text: "Cases", url: "/categories/Cases-1_44_52.html" },
      { text: "Gig Bags", url: "/categories/Gig-Bags-1_44_53.html" },
      { text: "Tools", url: "/categories/Tools-1_44_873.html" },
      { text: "Picks", url: "/categories/Picks-1_44_47.html" },
      { text: "Straps & Accessories", url: "/categories/Straps-Accessories-1_44_48.html" },
      { text: "Cleaning & Care", url: "/categories/Cleaning-Care-1_44_54.html" },
      { text: "Metronomes", url: "/categories/Metronomes-1_44_59.html" },
      { text: "Strings", url: "/categories/Strings-1_44_45.html" },
      { text: "Slides & Capos", url: "/categories/Slides-Capos-1_44_46.html" },
      { text: "Stands & Benches", url: "/categories/Stands-Benches-1_44_51.html" },
      { text: "Tuners", url: "/categories/Tuners-1_44_50.html" },
      { text: "Microphones", url: "/categories/Microphones-1_44_57.html" },
      { text: "String Winders", url: "/categories/String-Winders-1_44_909.html" }
      ]}
    },
    { text: "Replacement Parts", url: "/categories/Replacement-Parts-1_65.html",
      submenu: { id: "cp1_65", itemdata: [
      { text: "Pickups", url: "/categories/Pickups-1_65_67.html" },
      { text: "Machine Heads", url: "/categories/Machine-Heads-1_65_868.html" },
      { text: "Jacks", url: "/categories/Jacks-1_65_862.html" },
      { text: "Pots", url: "/categories/Pots-1_65_863.html" },
      { text: "Pickguards", url: "/categories/Pickguards-1_65_66.html" },
      { text: "Bridges & Stop T/P", url: "/categories/Bridges-Stop-T-P-1_65_70.html" },
      { text: "Nuts", url: "/categories/Nuts-1_65_71.html" },
      { text: "Saddles & Bridges", url: "/categories/Saddles-Bridges-1_65_77.html" },
      { text: "Knobs", url: "/categories/Knobs-1_65_78.html" },
      { text: "Repair Kits", url: "/categories/Repair-Kits-1_65_81.html" },
      { text: "Pin Sets", url: "/categories/Pin-Sets-1_65_72.html" },
      { text: "Tremolo", url: "/categories/Tremolo-1_65_69.html" },
      { text: "Screws", url: "/categories/Screws-1_65_68.html" }
      ]}
    },
    { text: "Amp Parts", url: "/categories/Amp-Parts-1_60.html",
      submenu: { id: "cp1_60", itemdata: [
      { text: "Speakers", url: "/categories/Speakers-1_60_62.html" }
      ]}
    }
    ]
  },
  { id: "cp598", itemdata: [
    { text: "Wired", url: "/categories/Wired-598_599.html",
      submenu: { id: "cp598_599", itemdata: [
      { text: "Vocal", url: "/categories/Vocal-598_599_600.html" },
      { text: "Instrument", url: "/categories/Instrument-598_599_601.html" },
      { text: "Percussion", url: "/categories/Percussion-598_599_602.html" },
      { text: "Package", url: "/categories/Package-598_599_603.html" }
      ]}
    },
    { text: "Wireless", url: "/categories/Wireless-598_604.html",
      submenu: { id: "cp598_604", itemdata: [
      { text: "Vocal", url: "/categories/Vocal-598_604_605.html" },
      { text: "Instrument", url: "/categories/Instrument-598_604_606.html" },
      { text: "Percussion", url: "/categories/Percussion-598_604_607.html" },
      { text: "Package", url: "/categories/Package-598_604_608.html" },
      { text: "Receivers", url: "/categories/Receivers-598_604_609.html" },
      { text: "Transmitters", url: "/categories/Transmitters-598_604_610.html" },
      { text: "Component Mics", url: "/categories/Component-Mics-598_604_611.html" }
      ]}
    },
    { text: "Accessories", url: "/categories/Accessories-598_613.html",
      submenu: { id: "cp598_613", itemdata: [
      { text: "Cables/Connectors", url: "/categories/Cables-Connectors-598_613_614.html" },
      { text: "Mounts/Holders", url: "/categories/Mounts-Holders-598_613_615.html" },
      { text: "Goosenecks", url: "/categories/Goosenecks-598_613_616.html" },
      { text: "Windscreens", url: "/categories/Windscreens-598_613_617.html" },
      { text: "Filters", url: "/categories/Filters-598_613_618.html" },
      { text: "Phantom Power", url: "/categories/Phantom-Power-598_613_619.html" },
      { text: "Line Transformers", url: "/categories/Line-Transformers-598_613_620.html" },
      { text: "Mic Mixers", url: "/categories/Mic-Mixers-598_613_621.html" },
      { text: "Cases", url: "/categories/Cases-598_613_622.html" }
      ]}
    },
    { text: "Stands", url: "/categories/Stands-598_623.html",
      submenu: { id: "cp598_623", itemdata: [
      { text: "Floor", url: "/categories/Floor-598_623_624.html" },
      { text: "Desk", url: "/categories/Desk-598_623_625.html" },
      { text: "Boom Stands", url: "/categories/Boom-Stands-598_623_626.html" },
      { text: "Boom Attachments", url: "/categories/Boom-Attachments-598_623_627.html" }
      ]}
    }
    ]
  },
  { id: "cp449", itemdata: [
    { text: "Installed Speakers", url: "/categories/Installed-Speakers-449_450.html",
      submenu: { id: "cp449_450", itemdata: [
      { text: "Mountable", url: "/categories/Mountable-449_450_452.html" },
      { text: "Monitors", url: "/categories/Monitors-449_450_454.html" },
      { text: "In Wall/Ceiling", url: "/categories/In-Wall-Ceiling-449_450_451.html" },
      { text: "Indoor/Outdoor", url: "/categories/Indoor-Outdoor-449_450_453.html" }
      ]}
    },
    { text: "Mixers", url: "/categories/Mixers-449_455.html",
      submenu: { id: "cp449_455", itemdata: [
      { text: "Analog", url: "/categories/Analog-449_455_456.html" },
      { text: "Powered", url: "/categories/Powered-449_455_458.html" }
      ]}
    },
    { text: "PA Speakers", url: "/categories/PA-Speakers-449_459.html",
      submenu: { id: "cp449_459", itemdata: [
      { text: "Passive Cabs/Monitors", url: "/categories/Passive-Cabs-Monitors-449_459_461.html" },
      { text: "Active Cabs/Monitors", url: "/categories/Active-Cabs-Monitors-449_459_460.html" },
      { text: "Subwoofers", url: "/categories/Subwoofers-449_459_462.html" },
      { text: "Tweeters/Horns", url: "/categories/Tweeters-Horns-449_459_464.html" },
      { text: "Components", url: "/categories/Components-449_459_465.html" }
      ]}
    },
    { text: "Power Amps", url: "/categories/Power-Amps-449_466.html",
      submenu: { id: "cp449_466", itemdata: [
      { text: "< 500 Watt", url: "/categories/-500-Watt-449_466_467.html" },
      { text: "500-1000 Watt", url: "/categories/500-1000-Watt-449_466_468.html" },
      { text: "1000+ Watt", url: "/categories/1000-Watt-449_466_469.html" }
      ]}
    },
    { text: "Signal Processors", url: "/categories/Signal-Processors-449_470.html",
      submenu: { id: "cp449_470", itemdata: [
      { text: "Compressors/Limiters", url: "/categories/Compressors-Limiters-449_470_475.html" },
      { text: "Crossovers", url: "/categories/Crossovers-449_470_474.html" },
      { text: "EQs", url: "/categories/EQs-449_470_473.html" },
      { text: "Performance Effects", url: "/categories/Performance-Effects-449_470_471.html" },
      { text: "Feedback Reduction", url: "/categories/Feedback-Reduction-449_470_477.html" },
      { text: "Gates", url: "/categories/Gates-449_470_476.html" },
      { text: "Patch Bays", url: "/categories/Patch-Bays-449_470_483.html" },
      { text: "Test Equipment", url: "/categories/Test-Equipment-449_470_485.html" },
      { text: "Direct Boxes", url: "/categories/Direct-Boxes-449_470_482.html" },
      { text: "Headphone Amps", url: "/categories/Headphone-Amps-449_470_481.html" }
      ]}
    },
    { text: "Packaged Systems", url: "/categories/Packaged-Systems-449_486.html",
      submenu: { id: "cp449_486", itemdata: [
      { text: "Portable", url: "/categories/Portable-449_486_487.html" },
      { text: "Wireless", url: "/categories/Wireless-449_486_488.html" }
      ]}
    },
    { text: "Headphones/Monitors", url: "/categories/Headphones-Monitors-449_864.html",
      submenu: { id: "cp449_864", itemdata: [
      { text: "Headphones", url: "/categories/Headphones-449_864_865.html" },
      { text: "Headphone Junction", url: "/categories/Headphone-Junction-449_864_866.html" }
      ]}
    },
    { text: "HiFi & A/V Equipment", url: "/categories/HiFi-A-V-Equipment-449_504.html",
      submenu: { id: "cp449_504", itemdata: [
      { text: "Cassette Decks", url: "/categories/Cassette-Decks-449_504_505.html" },
      { text: "CD Players", url: "/categories/CD-Players-449_504_509.html" },
      { text: "Tuners", url: "/categories/Tuners-449_504_894.html" },
      { text: "Speakers", url: "/categories/Speakers-449_504_895.html" },
      { text: "Shelf Systems", url: "/categories/Shelf-Systems-449_504_896.html" }
      ]}
    },
    { text: "Accessories", url: "/categories/Accessories-449_489.html",
      submenu: { id: "cp449_489", itemdata: [
      { text: "Stands", url: "/categories/Stands-449_489_490.html" },
      { text: "Cases & Bags", url: "/categories/Cases-Bags-449_489_491.html" },
      { text: "Power Conditioners", url: "/categories/Power-Conditioners-449_489_495.html" },
      { text: "Ear Protection", url: "/categories/Ear-Protection-449_489_824.html" }
      ]}
    },
    { text: "Cables", url: "/categories/Cables-449_496.html",
      submenu: { id: "cp449_496", itemdata: [
      { text: "Snakes", url: "/categories/Snakes-449_496_503.html" },
      { text: "Microphone", url: "/categories/Microphone-449_496_498.html" },
      { text: "Instrument", url: "/categories/Instrument-449_496_497.html" },
      { text: "Speaker", url: "/categories/Speaker-449_496_499.html" },
      { text: "Audio", url: "/categories/Audio-449_496_500.html" },
      { text: "MIDI", url: "/categories/MIDI-449_496_501.html" },
      { text: "Accessories", url: "/categories/Accessories-449_496_502.html" }
      ]}
    }
    ]
  },
  { id: "cp274", itemdata: [
    { text: "Turntables", url: "/categories/Turntables-274_275.html",
      submenu: { id: "cp274_275", itemdata: [
      { text: "Direct Drive", url: "/categories/Direct-Drive-274_275_276.html" },
      { text: "Belt Drive", url: "/categories/Belt-Drive-274_275_277.html" }
      ]}
    },
    { text: "CD Players", url: "/categories/CD-Players-274_280.html",
      submenu: { id: "cp274_280", itemdata: [
      { text: "Double", url: "/categories/Double-274_280_282.html" },
      { text: "Single", url: "/categories/Single-274_280_281.html" }
      ]}
    },
    { text: "Mixers", url: "/categories/Mixers-274_283.html",
      submenu: { id: "cp274_283", itemdata: [
      { text: "19-Inch", url: "/categories/19-Inch-274_283_284.html" },
      { text: "Battle", url: "/categories/Battle-274_283_285.html" },
      { text: "Mixing Console", url: "/categories/Mixing-Console-274_283_910.html" },
      { text: "iPod Mixers", url: "/categories/iPod-Mixers-274_283_911.html" }
      ]}
    },
    { text: "Packages", url: "/categories/Packages-274_289.html",
      submenu: { id: "cp274_289", itemdata: [
      { text: "Turntable Packages", url: "/categories/Turntable-Packages-274_289_290.html" },
      { text: "CD Packages", url: "/categories/CD-Packages-274_289_291.html" },
      { text: "Speaker Packages", url: "/categories/Speaker-Packages-274_289_292.html" }
      ]}
    },
    { text: "Stage Lighting", url: "/categories/Stage-Lighting-274_293.html",
      submenu: { id: "cp274_293", itemdata: [
      { text: "Par Cans", url: "/categories/Par-Cans-274_293_294.html" },
      { text: "Packages", url: "/categories/Packages-274_293_295.html" },
      { text: "Pin Spot", url: "/categories/Pin-Spot-274_293_297.html" }
      ]}
    },
    { text: "Effect Lighting", url: "/categories/Effect-Lighting-274_298.html",
      submenu: { id: "cp274_298", itemdata: [
      { text: "Strobe", url: "/categories/Strobe-274_298_301.html" },
      { text: "Novelty", url: "/categories/Novelty-274_298_305.html" }
      ]}
    },
    { text: "Other Effects", url: "/categories/Other-Effects-274_306.html",
      submenu: { id: "cp274_306", itemdata: [
      { text: "Fog/Bubble Machines", url: "/categories/Fog-Bubble-Machines-274_306_307.html" },
      { text: "Mirror Balls & Motors", url: "/categories/Mirror-Balls-Motors-274_306_308.html" }
      ]}
    },
    { text: "Accessories", url: "/categories/Accessories-274_309.html",
      submenu: { id: "cp274_309", itemdata: [
      { text: "Stands & Clamps", url: "/categories/Stands-Clamps-274_309_313.html" },
      { text: "Gels / Par Lenses", url: "/categories/Gels-Par-Lenses-274_309_315.html" },
      { text: "Controls", url: "/categories/Controls-274_309_322.html" },
      { text: "Power Conditoners", url: "/categories/Power-Conditoners-274_309_311.html" },
      { text: "Lamps", url: "/categories/Lamps-274_309_314.html" },
      { text: "Headphones", url: "/categories/Headphones-274_309_310.html" },
      { text: "Cases", url: "/categories/Cases-274_309_319.html" }
      ]}
    },
    { text: "Cables", url: "/categories/Cables-274_324.html",
      submenu: { id: "cp274_324", itemdata: [
      { text: "Audio", url: "/categories/Audio-274_324_325.html" },
      { text: "Speaker", url: "/categories/Speaker-274_324_326.html" },
      { text: "Microphone", url: "/categories/Microphone-274_324_327.html" },
      { text: "Instrument", url: "/categories/Instrument-274_324_328.html" },
      { text: "MIDI", url: "/categories/MIDI-274_324_329.html" },
      { text: "Accessories", url: "/categories/Accessories-274_324_330.html" },
      { text: "Snakes", url: "/categories/Snakes-274_324_331.html" }
      ]}
    }
    ]
  },
  { id: "cp875", itemdata: [
    { text: "Home Audio", url: "/categories/Home-Audio-875_887.html",
      submenu: { id: "cp875_887", itemdata: [
      { text: "CD Players", url: "/categories/CD-Players-875_887_888.html" },
      { text: "Speakers & Subwoofers", url: "/categories/Speakers-Subwoofers-875_887_897.html" },
      { text: "Cassette Decks", url: "/categories/Cassette-Decks-875_887_893.html" },
      { text: "Equalizers", url: "/categories/Equalizers-875_887_889.html" }
      ]}
    },
    { text: "Monitors & Headphones", url: "/categories/Monitors-Headphones-875_878.html",
      submenu: { id: "cp875_878", itemdata: [
      { text: "Passive Monitors", url: "/categories/Passive-Monitors-875_878_898.html" },
      { text: "Active Monitors", url: "/categories/Active-Monitors-875_878_900.html" },
      { text: "Headphones", url: "/categories/Headphones-875_878_879.html" }
      ]}
    },
    { text: "Accessories", url: "/categories/Accessories-875_891.html",
      submenu: { id: "cp875_891", itemdata: [
      { text: "Studio Foam", url: "/categories/Studio-Foam-875_891_892.html" },
      { text: "Stands", url: "/categories/Stands-875_891_899.html" }
      ]}
    },
    { text: "Cables", url: "/categories/Cables-875_876.html",
      submenu: { id: "cp875_876", itemdata: [
      { text: "RCA", url: "/categories/RCA-875_876_885.html" },
      { text: "Speaker", url: "/categories/Speaker-875_876_883.html" },
      { text: "Instrument - Quarter Inch", url: "/categories/Instrument-Quarter-Inch-875_876_882.html" },
      { text: "MIDI", url: "/categories/MIDI-875_876_886.html" },
      { text: "Accessories", url: "/categories/Accessories-875_876_877.html" },
      { text: "Direct Boxes", url: "/categories/Direct-Boxes-875_876_890.html" },
      { text: "Snakes", url: "/categories/Snakes-875_876_884.html" }
      ]}
    }
    ]
  },
  { id: "cp757", itemdata: [
    { text: "Instrument Display", url: "/categories/Instrument-Display-757_758.html",
      submenu: { id: "cp757_758", itemdata: [
      { text: "Guitar", url: "/categories/Guitar-757_758_759.html" }
      ]}
    }
    ]
  },
  { id: "cp901", itemdata: [
    { text: "Guitar", url: "/categories/Guitar-901_902.html",
      submenu: { id: "cp901_902", itemdata: [
      { text: "Electric", url: "/categories/Electric-901_902_908.html" },
      { text: "Accessories", url: "/categories/Accessories-901_902_903.html" }
      ]}
    },
    { text: "Live Sound", url: "/categories/Live-Sound-901_904.html",
      submenu: { id: "cp901_904", itemdata: [
      { text: "Microphones", url: "/categories/Microphones-901_904_905.html" },
      { text: "Amps", url: "/categories/Amps-901_904_907.html" },
      { text: "Accessories", url: "/categories/Accessories-901_904_906.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]);
    }
  });

  oMenu.render();
});
