The 'extra code' is generated by the Pull-down menus module. If it were working on OpenACS, you'd see a Javascript-generated bar on the top of your page. Look at photo.net or cyranoscience.com for a working example.
You turn that off by seeting the appropriate pull-down menu parameter in your /parameters/ad.tcl file.