This sounds interesting. :) lol, I won't use it, but I don't see where you need the session from. xD I'm being dense here, but doesn't it say that the session id is optional? xD In the same code, it states:
Code:
// optional
options.sessionID = "sf908uw098urerjw3948";
Also, this is javascript. I don't know how, but you're going to need to transfer the javascript into whatever document you have via PHP, I'll assume, right?