<script language="Javascript1.2"> <!-- // please keep these lines on when you copy the source // made by: Nicolas - http://www.javascript-page.com function initArray() { this.length = initArray.arguments.length; for (var i = 0; i < this.length; i++) { this[i] = initArray.arguments[i]; } } var ctext = "This message changes color !!!" var speed = 1000 var x = 0 var color = new initArray("red", "blue", "green", "black" ); if(navigator.appName == "Netscape") { document.write('<layer id="c">'+ctext+'</layer><br>'); } if (navigator.appVersion.indexOf("MSIE") != -1){ document.write('<div id="c">'+ctext+'</div>'); } function chcolor(){ if(navigator.appName == "Netscape") { document.c.document.write('<font color="'+color[x]+'">' +ctext+'</font>'); document.c.document.close(); } else if (navigator.appVersion.indexOf("MSIE") != -1){ document.all.c.style.color = color[x]; } (x < color.length-1) ? x++ : x=0; } setInterval("chcolor()",1000) //--> </script>