// current headlines from collisionweek.com
// calcolorsource.com include page
// modified 11 Aug 2005 
var strOut;

arNews = new Array();
for (i=0; i<arURL.length ; i++) {
    arNews[i] = new Array();
    arNews[i][0] = prefix + arURL[i];
    arNews[i][1] = arTXT[i];
}
z=arURL.length

// y is the max num of headlines to display
y=maxheadlines

if (y>z){y=z}

strOut = "<table border=\"0\" cellpadding=\"2\" cellspacing=\"0\" width=\"100%\">";
strOut += "<tr><td bgcolor=\"#ffffff\" align=\"center\"><b><font face=\"Tahoma\" color=\"#000000\" size=\"1\">CollisionWeek Headlines</font></b></td></tr>";
strOut += "<tr><td bgcolor=\"#ffffff\" align=\"left\" width=\"100%\">";
strOut += "<span class=\"collisionweek\">";

for (i=0; i<y; i++) {
  
  strOut += "<p> <a href=\"" + arNews[i][0] + "\" target=\"_blank\">" + arNews[i][1] + "</a></p>";
  
}

strOut += "<p>" + cwFeatureIntro + " <a href=\"" + cwFeatureLink + "\" target=\"_blank\">" + cwFeatureText + "</a></p>";

strOut += "<p align=\"right\"> <a href=\"http://www.collisionweek.com\" target=\"_blank\">  More News and Features...</a>";

//strOut += "<tr><td bgcolor=\"#ffffff\" align=\"center\">";
//strOut += "<font face=\"Verdana\" color=\"#000000\" size=\"1\">" + cwMessageIntro + "<br>";
//strOut += "<a href=\"" + cwMessageLink + "\" style=\"color: #000000\" target=\"_blank\">"+ cwMessageText + "</a></td></tr>"; 

strOut += "</span></td></tr></table>";


document.write(strOut);
