I updated both togglelink.php and showhide.php scripts to load the javascript inside the function via $HTMLFooterFmt. See http://www.pmwiki.org/wiki/Cookbook/ShowHide This way the javascript will only load for pages with the actual markup. -- Best wishes & Happy 2007 to all, Hans