FYI: In the interest of saving bandwidth I tested this by inserting the javascript code under the headinclude line in my showthread template instead of at the beginning of my postbit template. It functions that way as well, and in doing it that way, you don't have an instance of the same javascript source file being repeated with each and every post. It is only in your source once.
Thanks for the nice hack.