First, try reinstalling the newest Java from the link below. Select the "Download Windows J2SE JRE" link that is immediately below the "J2SE v 1.4.2_07 JRE includes the JVM technology" listing:
http://java.sun.com/j2se/1.4.2/download.html
When that's done, please install the latest Windows Script Engine from the links below.
Windows Script 5.6 for Windows 2000 and XP
Both of the links above indicate that a "validation" is required to make the download. IT IS NOT REQUIRED although if you wish to validate, feel free to do so. If you don't want to validate, at the second page, simply select the "No, I don't want to" option and you'll be directed to the download link. Download the file to your desktop, shut down all background program, then double click on the file to install the update. Restart the computer after installing.
Hope this helps.
Grif
My PC has stopped running javascripts for the past two days and now many websites I use do not work any more. I don't think I have done anything to upset Java. What could the problem be?

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic