Javascript for this applet written by: