<!-- for.js - mind (mind@metalshell.com) -->
<!-- this shows a basic example of how to use -->
<!-- the for statement in javascripting -->
<!-- http:
<!-- put this code into the <head> section of your html document. -->
<!-- start our javascript -->
<script language=JavaScript>
var i;
var max = 10;
var message = "This is our message to be printed";
function printText()
{
for (i = 0; i < max; i++)
document.write('<font>' + message + '</font><br>');
}
</script>
<!-- place this code anywhere on your html document (example) -->
<!-- align our link below -->
<div align=center>
<!-- make a link that points to our js function printText() -->
<a href="javascript: printText();">Click Here!</a>
</div>