I have a feeling you were looking for something more like this:
<script type="text/javascript">
articles = new Array("<a href=\"1337/test.htm\">test</a>","Site Launched");
numarts = articles.length;
dates = new Array("10/14/2003","10/14/2003");
for (i=0; i<numarts; i++) {
document.write("<span style=\"color:red;\">"+ dates[i] +"</span> "+ articles[i]);
if (i < numarts-1) {
document.write(" - ");
}
}
</script>
There's also a nice JavaScript forums over at http://forums.webdeveloper.com 🙂