I have also put up a simple page on the site which describe about the JavaScript functions: http://virtualgs.larwe.com/Virtual_GS/JavaScript.html