log_debug function will either stick in logging data at a place where you have a DIV with an id=log.
Or, if you havent' created such a DIV, it will make one for you at the bottom of the page.
Below is all you have to do! Try it out!
<script type="text/javascript" src="common/logging.js" ></script>
log_debug("some junk");
-- MattWalsh - 02 Apr 2007