JavaScript can be used to dynamically generate the entire body. However, anyone that knows how external .
js files work can as good as view the source code, so this is not a method to hide any login information, etc.
The code you have posted seems to be a JavaScript Version Sniffer, which detects which version of JavaScript the browser supports. So, if the browser's max JavaScript level is 1.4, it won't recongnize the language "javascript1.5" and will therefore not execute the code in that tag. So the variable cmJv will equal "1.4", giving you the version.
It is usually better to generate content with a server language like ASP(.NET) because 1) it is commonly faster, 2) the client cannot view any ASP information, and 3) not all browsers have JavaScript enabled, so it would only work on whoever has it enabled.
Hope this clears things up.
Snib
<><