Thanks to Norm, super moderator, for explaining links are not allowed without permission.

I was having my people point their browser to my web page to see if there version of Java was new enough to run my web-based training. The script was simple and worked fine. Either the last two version of Java and/or deployjava.js on Java's site has changed, and the script no longer works. I'm appending it at the bottom of this message. Would anyone have an idea how to detect without require the user to "click" on anything once they visit my detection page? Thank you in advance.

<script src="(actually Java web link here, ending in deployJava.js"></script>
<script>
// This section detects Java
// check if current JRE version is greater than 1.6.0
if (deployJava.versionCheck('1.6.0_10+') == true)
{
document.write('<h3><img src="done5415.jpg" alt="complete"> ' + ' ' + 'Java Passed' + '<img src="blank.gif"></h3>');
}
else {
document.write('<h3><img src="stop_hand5417.jpg" alt="complete"> ' + ' ' + 'Java is either not installed or current ' + ' ' + '<img src="blank.gif" alt="Failed"></h3>');
}
</script>