Note: a loop that checks to see if the word "java" appears in the list of plugins in the navigator object. An alternative to navigator.javaEnabled() which doesn't work in some (Mac) browsers.