

function headline(date, time, symbol, headline, id)
{
	// Represents a headline object
	this.date = date;
	this.time = time;
	this.symbol = symbol;
	this.headline = headline;
	this.id = id;
}

///// Data values /////
var headlines = new Array();

headlines[0] = new headline('17/11/2008','12:28','UOG','MTH: Huckitta Ni-Cu Mineralisation Identified','6429586','','','');
headlines[1] = new headline('13/11/2008','13:01','UOG','SALE OF TERRAIN MINERALS OPTIONS','6429328','','','');
headlines[2] = new headline('04/11/2008','17:44','UOG','Appendix 3B','6428483','','','');
headlines[3] = new headline('31/10/2008','17:24','UOG','Quarterly Cashflow Report','6428064','','','');
headlines[4] = new headline('31/10/2008','17:21','UOG','Quarterly Activities Report','6428057','','','');
headlines[5] = new headline('28/10/2008','13:33','UOG','Annual Report to shareholders','6426799','','','');
headlines[6] = new headline('28/10/2008','13:33','UOG','Notice of Annual General Meeting/Proxy Form','6426800','','','');
headlines[7] = new headline('23/10/2008','14:21','UOG','Appendix 3B','6425939','','','');
headlines[8] = new headline('21/10/2008','20:23','UOG','ERL: Doubles Wiluna Cu Au PGM Exploration Interests','6425589','','','');
headlines[9] = new headline('21/10/2008','15:01','UOG','Empire JV Release October 2008','6425482','','','');


///// Render functions /////
// (you can use your own if you like)

function viewArticle(articleID) {
	var urlStr = 'http://clients.weblink.com.au/clients/uranium/article.asp?view=' + articleID;
	var PopupWin = window.open(urlStr,"viewNews","scrollbars=yes,toolbar=no,directories=no,status=yes,menubar=no,resizable=yes,width=630,height=450")
	PopupWin.focus();
}

function renderHeadlinesList()
{
	document.write("<table class='wlNewsTable'>");
		document.write("	<thead>");
		document.write("		<tr>");
		document.write("			<th>Announcements</th>");
		document.write("			<th></th>");
		document.write("			<th></th>");
		document.write("		</tr>");
		document.write("	</thead>")
		document.write("	<tbody>")

		for (var i=0; i<headlines.length; i++) {
			var h = headlines[i];
			var cls = (i%2 == 0) ? "even" : "odd";

			if (h.symbol == '') continue;

			document.write("	<tr class='" + cls + "'>");

			document.write("		<td><br>");
			document.write(h.date);
			document.write("		<br>");
			document.write("		<a target='_blank' href='http://clients.weblink.com.au/clients/uranium/article.asp?view=" + h.id + "'>" + h.headline );
			document.write("		</td>");
			document.write("	</tr>");

		}
		document.write("	</tbody>")
	document.write("</table>")
}
