YUI: Toolbar Dynamic Buttons

The HTML

The Javascript