<?php if($this->data['tagline']) { ?><li id="f-tagline"><?php echo $this->data['tagline'] ?></li><?php } ?>
</ul>
</div>
+ <script type="text/javascript"> if (window.onloadhook) onloadhook(); </script>
</div>
<?php $this->html('reporttime') ?>
</body>
}
// add any onload functions in this hook (please don't hard-code any events in the xhtml source)
+
+var doneOnloadHook;
+
function onloadhook () {
// don't run anything below this for non-dom browsers
- if(!(document.getElementById && document.getElementsByTagName)) return;
+ if (doneOnloadHook || !(document.getElementById && document.getElementsByTagName)) return;
histrowinit();
unhidetzbutton();
tabbedprefs();
akeytt();
+ doneOnloadHook = true;
}
if (window.addEventListener) window.addEventListener("load",onloadhook,false);
else if (window.attachEvent) window.attachEvent("onload",onloadhook);