Embedding JavaScript in HTML

<SCRIPT>
<!-- Begin to hide script contents from old browsers.
JavaScript statements...
// End the hiding here. -->
</SCRIPT>
<HEAD>
<TITLE>My Page</TITLE>
<SCRIPT SRC="common.js">
document.write("Included JS file not found");
...
</SCRIPT>
</HEAD>
<BODY>
...
<input type="button" value="O.K." 
onClick="yn=confirm('O.K.?');if (yn) alert('Yes'); else alert('No');">