

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('19 August 2010','13:01','AGD','Austral Gold Limited Radio Broadcast','6502172','','','');
headlines[1] = new headline('17 August 2010','15:12','AGD','BankableFeasibilityStudyconfirmsviabilityofGuanacoProject','6501857','','','');
headlines[2] = new headline('12 August 2010','12:56','AGD','First Gold Production in October 2010','6501345','','','');
headlines[3] = new headline('4 August 2010','15:23','AGD','Quarterly Activities Report  AMENDED','6500605','','','');
headlines[4] = new headline('29 July 2010','15:50','AGD','Quarterly Cashflow Report','6499408','','','');
headlines[5] = new headline('29 July 2010','15:48','AGD','Quarterly Activities Report','6499406','','','');
headlines[6] = new headline('2 July 2010','10:58','AGD','Delay in BFS - July 2010','6496258','','','');
headlines[7] = new headline('20 May 2010','10:29','AGD','Cancellation of Shares','6491792','','','');
headlines[8] = new headline('30 April 2010','12:54','AGD','Quarterly Cashflow Report','6489435','','','');
headlines[9] = new headline('30 April 2010','12:53','AGD','Quarterly Activities Report','6489434','','','');
headlines[10] = new headline('15 April 2010','14:11','AGD','Cancellation of shares','6487377','','','');
headlines[11] = new headline('17 March 2010','13:26','AGD','Change of Director`s Interest Notice','6484412','','','');
headlines[12] = new headline('16 March 2010','10:51','AGD','Austral Gold Investor Presentation 2010','6484106','','','');
headlines[13] = new headline('11 March 2010','15:38','AGD','Half Yearly Accounts','6483569','','','');
headlines[14] = new headline('3 March 2010','12:12','AGD','AGD Announces Completion of the 2009/10 Drilling Campaign','6482556','','','');
headlines[15] = new headline('2 March 2010','12:28','AGD','AGD announces no impact to operations following earthquake','6482357','','','');
headlines[16] = new headline('16 February 2010','11:47','AGD','Response to ASX Appendix 5B Query','6480616','','','');
headlines[17] = new headline('28 January 2010','13:13','AGD','Quarterly Activities Report','6478045','','','');
headlines[18] = new headline('28 January 2010','13:13','AGD','Quarterly Cashflow Report','6478044','','','');
headlines[19] = new headline('21 January 2010','14:57','AGD','Decline Construction and Plant Refurbishment begins -Guanaco','6477402','','','');


///// Render functions /////
// (you can use your own if you like)

function viewArticle(articleID) {
	var urlStr = 'http://clients.weblink.com.au/clients/australgold/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 renderHeadlinesList2()
{
	document.write("<table class='wlNewsTable'>");
	document.write("	<thead>");
	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";
        var asxcode = 'AGD';
		if (h.symbol == '') continue;


		document.write("	<tr class='" + cls + "'>");
		document.write("		<td>");
		document.write('		<img src ="showcat.gif" align="bottom"  alt="Pointer">');
		document.write("		</td>");
		document.write("		<td class='title'>");
		document.write("		<a target='_blank' href='http://clients.weblink.com.au/clients/australgold/article.asp?view=" + h.id + "'>" + h.date +" - " + h.headline );
		document.write("		</td>");
		document.write("	</tr>");

	}
	document.write("	</tbody>")
	document.write("</table>")
}
