The PopupCalendar script runs as a ScriptSheet.
The field below just has class="date" on it. The script hooks up the calendar button automatically.
class="date"