var init;

init = function () {
    $('#menu > ul').dropmenu({
        effect: 'slide',
        speed: 'normal'
    });
}

if (this.addEventListener instanceof Function) {
    this.addEventListener('load', init, false);
} else {
    this.attachEvent('onload', init);
}
