<body>
<script language="JavaScript">
     var max = parseInt(window.prompt("How many times?","5"));
     for (cnt = 1; cnt <= max; cnt = cnt+1)
         document.write("<p>This is the song that never ends, yes it goes on and on my friend. "
               + "<br>Some people started singing it, not knowing what it was, and "
               + "<br>they'll continue singing it forever just because...</p>");
</script>
</body>