After checking the source of that script (found in the Scripts DB), it looks like the XML Document Object Model couldn't be created. Unfortunately, this scripts isn't programmed in the best way possible, and it doesn't have proper error catching and thus such errors can occur.
I don't really know why this occurred, but I suggest you to contact the script's author:
Eldar Featel.
For other people who want to help: the script can be found
here.