/* Original Code */
/*
var s = '';

s += '<div style="width: 300px; height: 180px; border: 1px solid silver; padding: 5px; font-family: tahoma; font-size: 8pt; background-color: white;">';
s += '<div style="border-bottom: 1px solid silver; font-weight: bold; text-align: center; ">VeloNews Headlines:</div>';

s += '<style type="text/css">a.newsLink { text-decoration: none; color: black; } a.newsLink:hover { text-decoration: underline; color: #000066; } .newsTable td { font-size: 8pt; font-family: tahoma; } </style>';
s += '<table class="newsTable" cellspacing=0 cellpadding=0>';
for (var i = 0; i < news_titles.length; i++)
	s += '<tr><td valign=top style="padding-right: 4px;">' + news_dates[i].replace(/ /, '&nbsp;') + '</td><td><a class="newsLink" target="_blank" href="' +news_urls[i] + '">' + news_titles[i] + '</a></td></tr>';
s += '</table>';
s += '</div>';

document.write(s);
*/

/* Modified for RightGear.net by Nigel M. Duckworth  | 11.07.05 | NewclearDesigns.com */

var s = '';

/* cut a bunch of formating junk....
s += '<div style="width: 100%; border: 1px solid silver; padding: 2px; font-family: verdana,arial,sans-serif; font-size: 14px; background-color: white;">';
s += '<div style="border-bottom: 1px solid silver; font-weight: bold; text-transform: uppercase; font-size: 14px;">VeloNews Headlines</div>';

s += '<style type="text/css">a.newsLink { text-decoration: none; color: black; font-family: verdana,arial,sans-serif; font-size: 18px; font-weight: bold; } a.newsLink:hover { text-decoration: none; color: #000000; background-color: rgb(254, 250, 230); } .newsTable td { font-family: verdana,arial,sans-serif; font-size: 11px; } </style>';
*/
for (var i = 0; i < news_titles.length; i++)
s += '<div class="itemnews"><h2 class="hdrDate">' + news_dates[i].replace(/ /, '&nbsp;') + '</h2><h1 class="hdrTitle"><a target="_blank" href="' +news_urls[i] + '">' + news_titles[i] + '</a></h1></div>';

document.write(s);
