I just wanted to update this post for the changes I made to be 1.8 compatible. I used ntozier's updated script from his website: http://www.tmib.net/add-client-side-open-ticket-list-osticket-18 and tweaked a few settings to make it display pretty much like my old version.
Please note that this should *never* be publicly exposed, we use this i-framed in an intra-net application.
Since I cant seem to post code now, here is a pastebin link:http://pastebin.com/VSbw85QE