Global expressions and variables
<html> -- and then
the <HEAD> </HEAD> tags!
Now, for global function
Here was my code.... (oops, forgot the comment stuff for old browsers - that's okay here, everyone using this page has javascript enabled.)
<SCRIPT language="JavaScript">
alert('Everything on this page deals with this alert');
alert('This document has to deal with everything that is not enclosed in a function,
before anything else happens');
alert('Every function and every expression on this document sees every variable
declared up here');
alert('If it is not inside a function');
</SCRIPT>