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: "Packages", url: "/index.php?cPath=1_99999466" },
    { text: "Electric", url: "/index.php?cPath=1_93",
      submenu: { id: "cp1_93", itemdata: [
      { text: "Six String", url: "/index.php?cPath=1_93_179" },
      { text: "Twelve String", url: "/index.php?cPath=1_93_99999427" },
      { text: "Seven-String", url: "/index.php?cPath=1_93_99999343" },
      { text: "Packages", url: "/index.php?cPath=1_93_94" },
      { text: "Other", url: "/index.php?cPath=1_93_99999429" }
      ]}
    },
    { text: "Acoustic", url: "/index.php?cPath=1_88",
      submenu: { id: "cp1_88", itemdata: [
      { text: "Packages", url: "/index.php?cPath=1_88_99999408" },
      { text: "Six String", url: "/index.php?cPath=1_88_90" },
      { text: "Twelve String", url: "/index.php?cPath=1_88_99999410" },
      { text: "Student", url: "/index.php?cPath=1_88_89" },
      { text: "Classical", url: "/index.php?cPath=1_88_156" },
      { text: "Travel Guitars", url: "/index.php?cPath=1_88_99999334" }
      ]}
    },
    { text: "Acoustic-Electric", url: "/index.php?cPath=1_208",
      submenu: { id: "cp1_208", itemdata: [
      { text: "Six String", url: "/index.php?cPath=1_208_209" },
      { text: "Twelve String", url: "/index.php?cPath=1_208_99999430" }
      ]}
    },
    { text: "Bass", url: "/index.php?cPath=1_211",
      submenu: { id: "cp1_211", itemdata: [
      { text: "Four String", url: "/index.php?cPath=1_211_214" },
      { text: "Five String", url: "/index.php?cPath=1_211_212" },
      { text: "Six String", url: "/index.php?cPath=1_211_100000803" },
      { text: "Packages", url: "/index.php?cPath=1_211_99999428" },
      { text: "Acoustic", url: "/index.php?cPath=1_211_99999382" }
      ]}
    },
    { text: "Left Handed", url: "/index.php?cPath=1_100000768" },
    { text: "Amps", url: "/index.php?cPath=1_61",
      submenu: { id: "cp1_61", itemdata: [
      { text: "Guitar Amps", url: "/index.php?cPath=1_61_207" },
      { text: "Bass Amps", url: "/index.php?cPath=1_61_99999468" },
      { text: "Headphone Amps", url: "/index.php?cPath=1_61_99999438" }
      ]}
    },
    { text: "Accessories", url: "/index.php?cPath=1_2",
      submenu: { id: "cp1_2", itemdata: [
      { text: "Cables", url: "/index.php?cPath=1_2_73" },
      { text: "Cases", url: "/index.php?cPath=1_2_36" },
      { text: "Gig Bags", url: "/index.php?cPath=1_2_160" },
      { text: "Practice Tools", url: "/index.php?cPath=1_2_99999335" },
      { text: "Strings", url: "/index.php?cPath=1_2_3" },
      { text: "Tools", url: "/index.php?cPath=1_2_224" },
      { text: "Tuners", url: "/index.php?cPath=1_2_45" },
      { text: "Other", url: "/index.php?cPath=1_2_100000691" },
      { text: "Picks", url: "/index.php?cPath=1_2_30" },
      { text: "Straps & Accessories", url: "/index.php?cPath=1_2_12" },
      { text: "Cleaning & Care", url: "/index.php?cPath=1_2_35" },
      { text: "Metronomes", url: "/index.php?cPath=1_2_128" },
      { text: "Slides & Capos", url: "/index.php?cPath=1_2_33" },
      { text: "Stands & Benches", url: "/index.php?cPath=1_2_42" },
      { text: "Batteries", url: "/index.php?cPath=1_2_29" },
      { text: "String Winders", url: "/index.php?cPath=1_2_34" }
      ]}
    },
    { text: "Replacement Parts", url: "/index.php?cPath=1_23",
      submenu: { id: "cp1_23", itemdata: [
      { text: "Pickups", url: "/index.php?cPath=1_23_24" },
      { text: "Machine Heads", url: "/index.php?cPath=1_23_38" },
      { text: "Jacks", url: "/index.php?cPath=1_23_141" },
      { text: "Pots", url: "/index.php?cPath=1_23_139" },
      { text: "Pickguards", url: "/index.php?cPath=1_23_143" },
      { text: "Bridges & Stop T/P", url: "/index.php?cPath=1_23_37" },
      { text: "Nuts", url: "/index.php?cPath=1_23_123" },
      { text: "Saddles & Bridges", url: "/index.php?cPath=1_23_144" },
      { text: "Knobs", url: "/index.php?cPath=1_23_137" },
      { text: "Control Plates", url: "/index.php?cPath=1_23_99999341" },
      { text: "Repair Kits", url: "/index.php?cPath=1_23_95" },
      { text: "Selector Swtiches", url: "/index.php?cPath=1_23_99999342" },
      { text: "Control Pots", url: "/index.php?cPath=1_23_99999422" },
      { text: "Pin Sets", url: "/index.php?cPath=1_23_145" },
      { text: "Tremolo", url: "/index.php?cPath=1_23_100000890" },
      { text: "Screws", url: "/index.php?cPath=1_23_100000829" }
      ]}
    },
    { text: "Amp Parts", url: "/index.php?cPath=1_99999353",
      submenu: { id: "cp1_99999353", itemdata: [
      { text: "Tubes", url: "/index.php?cPath=1_99999353_99999441" },
      { text: "Amp Parts", url: "/index.php?cPath=1_99999353_99999354" },
      { text: "Covers", url: "/index.php?cPath=1_99999353_99999445" }
      ]}
    },
    { text: "Strings", url: "/index.php?cPath=1_100000721",
      submenu: { id: "cp1_100000721", itemdata: [
      { text: "Acoustic Guitar String Sets", url: "/index.php?cPath=1_100000721_100000723" },
      { text: "Acoustic 12 String Sets", url: "/index.php?cPath=1_100000721_100000726" },
      { text: "Acoustic Single Strings", url: "/index.php?cPath=1_100000721_100000728" },
      { text: "Classical Guitar String Sets", url: "/index.php?cPath=1_100000721_100000730" },
      { text: "Classical Single Strings", url: "/index.php?cPath=1_100000721_100000733" },
      { text: "Electric Bass String Sets", url: "/index.php?cPath=1_100000721_100000732" },
      { text: "Electric Bass Single Strings", url: "/index.php?cPath=1_100000721_100000736" },
      { text: "Electric Guitar String Sets", url: "/index.php?cPath=1_100000721_100000722" },
      { text: "Electric Single Strings", url: "/index.php?cPath=1_100000721_100000811" },
      { text: "Acoustic Bass String Sets", url: "/index.php?cPath=1_100000721_100000737" }
      ]}
    },
    { text: "Bass Amps", url: "/index.php?cPath=1_100000769",
      submenu: { id: "cp1_100000769", itemdata: [
      { text: "Combos", url: "/index.php?cPath=1_100000769_100000771" },
      { text: "Heads", url: "/index.php?cPath=1_100000769_100000779" },
      { text: "Cabinets", url: "/index.php?cPath=1_100000769_100000770" },
      { text: "Preamps", url: "/index.php?cPath=1_100000769_100000833" },
      { text: "Headphones Amps", url: "/index.php?cPath=1_100000769_100000839" }
      ]}
    },
    { text: "Guitar Amps", url: "/index.php?cPath=1_100000742",
      submenu: { id: "cp1_100000742", itemdata: [
      { text: "Combos", url: "/index.php?cPath=1_100000742_100000743" },
      { text: "Heads", url: "/index.php?cPath=1_100000742_100000780" },
      { text: "Cabinets", url: "/index.php?cPath=1_100000742_100000781" },
      { text: "Practice Amps", url: "/index.php?cPath=1_100000742_100000838" },
      { text: "Headphone Amps", url: "/index.php?cPath=1_100000742_100000840" }
      ]}
    },
    { text: "Practice Amps", url: "/index.php?cPath=1_100000739",
      submenu: { id: "cp1_100000739", itemdata: [
      { text: "Mini Amps", url: "/index.php?cPath=1_100000739_100000741" },
      { text: "Headphone Amps", url: "/index.php?cPath=1_100000739_100000740" },
      { text: "Combo", url: "/index.php?cPath=1_100000739_100000778" }
      ]}
    }
    ]
  },
  { id: "cp59", itemdata: [
    { text: "Single", url: "/index.php?cPath=59_63" },
    { text: "Multi", url: "/index.php?cPath=59_187" }
    ]
  },
  { id: "cp39", itemdata: [
    { text: "Percussion", url: "/index.php?cPath=39_100000895" },
    { text: "Acoustic Drums", url: "/index.php?cPath=39_80",
      submenu: { id: "cp39_80", itemdata: [
      { text: "Sets", url: "/index.php?cPath=39_80_168" },
      { text: "Snare Drums", url: "/index.php?cPath=39_80_99999333" }
      ]}
    },
    { text: "Electronic Drums", url: "/index.php?cPath=39_99999470" },
    { text: "World Percussion", url: "/index.php?cPath=39_40" },
    { text: "Cymbals", url: "/index.php?cPath=39_218",
      submenu: { id: "cp39_218", itemdata: [
      { text: "Ride", url: "/index.php?cPath=39_218_99999328" },
      { text: "Splash", url: "/index.php?cPath=39_218_99999325" },
      { text: "Hi-Hat", url: "/index.php?cPath=39_218_99999326" },
      { text: "Crash", url: "/index.php?cPath=39_218_99999327" },
      { text: "Package", url: "/index.php?cPath=39_218_99999447" },
      { text: "China", url: "/index.php?cPath=39_218_99999446" }
      ]}
    },
    { text: "Hardware", url: "/index.php?cPath=39_82" }
    ]
  },
  { id: "cp17", itemdata: [
    { text: "Packaged Systems", url: "/index.php?cPath=17_222" },
    { text: "Mixers", url: "/index.php?cPath=17_99999383",
      submenu: { id: "cp17_99999383", itemdata: [
      { text: "Non-Powered", url: "/index.php?cPath=17_99999383_99999472" },
      { text: "Powered", url: "/index.php?cPath=17_99999383_99999384" }
      ]}
    },
    { text: "PA Speakers", url: "/index.php?cPath=17_201",
      submenu: { id: "cp17_201", itemdata: [
      { text: "Passive Cabs/Mons", url: "/index.php?cPath=17_201_202" },
      { text: "Active Cabs/Monitors", url: "/index.php?cPath=17_201_221" }
      ]}
    },
    { text: "Power Amps", url: "/index.php?cPath=17_176" },
    { text: "Signal Processors", url: "/index.php?cPath=17_111" },
    { text: "Headphones/Monitors", url: "/index.php?cPath=17_129" }
    ]
  },
  { id: "cp106", itemdata: [
    { text: "Wired", url: "/index.php?cPath=106_166",
      submenu: { id: "cp106_166", itemdata: [
      { text: "Condenser", url: "/index.php?cPath=106_166_100000717" },
      { text: "Dynamic", url: "/index.php?cPath=106_166_100000718" }
      ]}
    },
    { text: "Wireless", url: "/index.php?cPath=106_170" }
    ]
  },
  { id: "cp99999398", itemdata: [
    { text: "Multi-Track Recorders", url: "/index.php?cPath=99999398_99999469" },
    { text: "Computer Recording", url: "/index.php?cPath=99999398_99999474" },
    { text: "Headphones/Monitors", url: "/index.php?cPath=99999398_99999399" },
    { text: "Signal Processors", url: "/index.php?cPath=99999398_100000776" },
    { text: "Room Treatments", url: "/index.php?cPath=99999398_100000773" }
    ]
  },
  { id: "cp56", itemdata: [
    { text: "Pianos & Portables", url: "/index.php?cPath=56_203" },
    { text: "Synthesizers", url: "/index.php?cPath=56_205" },
    { text: "Controllers", url: "/index.php?cPath=56_100000687" },
    { text: "Amplifiers", url: "/index.php?cPath=56_99999403" }
    ]
  },
  { id: "cp100000684", itemdata: [
    { text: "Brass", url: "/index.php?cPath=100000684_96",
      submenu: { id: "cp100000684_96", itemdata: [
      { text: "Trumpet", url: "/index.php?cPath=100000684_96_97" },
      { text: "Trombone", url: "/index.php?cPath=100000684_96_184" },
      { text: "Tuba", url: "/index.php?cPath=100000684_96_217" },
      { text: "Coronet", url: "/index.php?cPath=100000684_96_185" }
      ]}
    },
    { text: "Woodwind", url: "/index.php?cPath=100000684_8",
      submenu: { id: "cp100000684_8", itemdata: [
      { text: "Clarinet", url: "/index.php?cPath=100000684_8_9" },
      { text: "Flute", url: "/index.php?cPath=100000684_8_213" },
      { text: "Alto Sax", url: "/index.php?cPath=100000684_8_181" },
      { text: "Tenor Sax", url: "/index.php?cPath=100000684_8_182" },
      { text: "Soprano Sax", url: "/index.php?cPath=100000684_8_183" }
      ]}
    },
    { text: "Stringed Instruments", url: "/index.php?cPath=100000684_150",
      submenu: { id: "cp100000684_150", itemdata: [
      { text: "Violin", url: "/index.php?cPath=100000684_150_151" },
      { text: "Viola", url: "/index.php?cPath=100000684_150_99999453" },
      { text: "Cello", url: "/index.php?cPath=100000684_150_196" },
      { text: "Bass", url: "/index.php?cPath=100000684_150_99999409" }
      ]}
    },
    { text: "Other Instruments", url: "/index.php?cPath=100000684_54",
      submenu: { id: "cp100000684_54", itemdata: [
      { text: "Recorders", url: "/index.php?cPath=100000684_54_55" },
      { text: "Whistles", url: "/index.php?cPath=100000684_54_104" }
      ]}
    },
    { text: "Accessories", url: "/index.php?cPath=100000684_100000696" },
    { text: "Band", url: "/index.php?cPath=100000684_4",
      submenu: { id: "cp100000684_4", itemdata: [
      { text: "Accessories", url: "/index.php?cPath=100000684_4_5",
        submenu: { id: "cp100000684_4_5", itemdata: [
        { text: "Cases", url: "/index.php?cPath=100000684_4_5_99999349" },
        { text: "Cleaning & Care", url: "/index.php?cPath=100000684_4_5_16" },
        { text: "Gig Bags", url: "/index.php?cPath=100000684_4_5_99999351" },
        { text: "Practice Tools", url: "/index.php?cPath=100000684_4_5_99999358" },
        { text: "Reeds", url: "/index.php?cPath=100000684_4_5_11" },
        { text: "Mouthpieces", url: "/index.php?cPath=100000684_4_5_10" },
        { text: "Instrument Stands", url: "/index.php?cPath=100000684_4_5_71" },
        { text: "Music Stands", url: "/index.php?cPath=100000684_4_5_43" },
        { text: "Mutes", url: "/index.php?cPath=100000684_4_5_99999401" },
        { text: "Lyres", url: "/index.php?cPath=100000684_4_5_6" },
        { text: "Tools", url: "/index.php?cPath=100000684_4_5_64" },
        { text: "Tuners", url: "/index.php?cPath=100000684_4_5_99999361" },
        { text: "Marching", url: "/index.php?cPath=100000684_4_5_210" },
        { text: "Straps", url: "/index.php?cPath=100000684_4_5_7" },
        { text: "Metronomes", url: "/index.php?cPath=100000684_4_5_126" },
        { text: "Ligatures", url: "/index.php?cPath=100000684_4_5_100000837" }
        ]}
      }
      ]}
    },
    { text: "Orchestra", url: "/index.php?cPath=100000684_20",
      submenu: { id: "cp100000684_20", itemdata: [
      { text: "Parts", url: "/index.php?cPath=100000684_20_26",
        submenu: { id: "cp100000684_20_26", itemdata: [
        { text: "Violin", url: "/index.php?cPath=100000684_20_26_27" },
        { text: "Viola", url: "/index.php?cPath=100000684_20_26_99999352" },
        { text: "Cello", url: "/index.php?cPath=100000684_20_26_99999324" },
        { text: "Bass", url: "/index.php?cPath=100000684_20_26_100000640" }
        ]}
      },
      { text: "Accessories", url: "/index.php?cPath=100000684_20_21",
        submenu: { id: "cp100000684_20_21", itemdata: [
        { text: "Strings", url: "/index.php?cPath=100000684_20_21_77" },
        { text: "Rosin", url: "/index.php?cPath=100000684_20_21_25" },
        { text: "Cases", url: "/index.php?cPath=100000684_20_21_226" },
        { text: "Bags & Covers", url: "/index.php?cPath=100000684_20_21_99999381" },
        { text: "Instrument Stands", url: "/index.php?cPath=100000684_20_21_99999360" },
        { text: "Music Stands", url: "/index.php?cPath=100000684_20_21_114" },
        { text: "Bows", url: "/index.php?cPath=100000684_20_21_22" },
        { text: "Tuning", url: "/index.php?cPath=100000684_20_21_200" },
        { text: "Cleaning", url: "/index.php?cPath=100000684_20_21_99999350" },
        { text: "Tools", url: "/index.php?cPath=100000684_20_21_28" },
        { text: "Metronomes", url: "/index.php?cPath=100000684_20_21_44" },
        { text: "Pick-Ups", url: "/index.php?cPath=100000684_20_21_197" }
        ]}
      }
      ]}
    }
    ]
  },
  { id: "cp100000700", itemdata: [
    { text: "Guitar & Bass Accessories", url: "/index.php?cPath=100000700_100000701",
      submenu: { id: "cp100000700_100000701", itemdata: [
      { text: "Cables", url: "/index.php?cPath=100000700_100000701_100000710" },
      { text: "Cases", url: "/index.php?cPath=100000700_100000701_100000711" },
      { text: "Strings", url: "/index.php?cPath=100000700_100000701_100000712",
        submenu: { id: "cp100000700_100000701_100000712", itemdata: [
        { text: "Acoustic Sets", url: "/index.php?cPath=100000700_100000701_100000712_100000877" },
        { text: "Electric Sets", url: "/index.php?cPath=100000700_100000701_100000712_100000878" },
        { text: "Classical Sets", url: "/index.php?cPath=100000700_100000701_100000712_100000879" },
        { text: "Bass Sets", url: "/index.php?cPath=100000700_100000701_100000712_100000880" }
        ]}
      },
      { text: "Tuners", url: "/index.php?cPath=100000700_100000701_100000873" },
      { text: "Picks", url: "/index.php?cPath=100000700_100000701_100000871" },
      { text: "Stands & Hangers", url: "/index.php?cPath=100000700_100000701_100000876" },
      { text: "Straps", url: "/index.php?cPath=100000700_100000701_100000872" },
      { text: "Pickups", url: "/index.php?cPath=100000700_100000701_100000782" },
      { text: "Slides & Capos", url: "/index.php?cPath=100000700_100000701_100000875" },
      { text: "Other", url: "/index.php?cPath=100000700_100000701_100000713" }
      ]}
    },
    { text: "Effects Accessories", url: "/index.php?cPath=100000700_100000702",
      submenu: { id: "cp100000700_100000702", itemdata: [
      { text: "Cases & Bags", url: "/index.php?cPath=100000700_100000702_100000882" },
      { text: "Foot Switches", url: "/index.php?cPath=100000700_100000702_100000883" },
      { text: "Power Adapters", url: "/index.php?cPath=100000700_100000702_100000881" }
      ]}
    },
    { text: "World & Folk Accessories", url: "/index.php?cPath=100000700_100000703" },
    { text: "Drums & Percussion Accessories", url: "/index.php?cPath=100000700_100000704" },
    { text: "Sound Accessories", url: "/index.php?cPath=100000700_100000705" },
    { text: "Microphone Accessories", url: "/index.php?cPath=100000700_100000706" },
    { text: "Keyboard Accessories", url: "/index.php?cPath=100000700_100000708" },
    { text: "Band & Orchestra Accessories", url: "/index.php?cPath=100000700_100000709" },
    { text: "Metronomes", url: "/index.php?cPath=100000700_100000874" }
    ]
  },
  {  },
  {  }
  ];

  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]);
      this.getItem(8).cfg.setProperty("submenu", aSubmenuData[8]);
    }
  });

  oMenu.render();
});