Solved my own problem. Thought I should post it here in case anyone else stumbles on this thread googling:...
So, the following code works A-OK in Firefox: <script language="Javascript" type="text/javascript"> function zeroPad(num,count) {...
Separate names with a comma.