

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('12 December 2007','13:24','AGD','Company Secretary Appointment/Resignation','6389565','','','');
headlines[1] = new headline('30 November 2007','10:16','AGD','Chairman`s Address to Shareholders','6387710','','','');
headlines[2] = new headline('31 October 2007','14:09','AGD','Quarterly Activities Report','6383156','','','');
headlines[3] = new headline('31 October 2007','14:08','AGD','Quarterly Cashflow Report','6383154','','','');
headlines[4] = new headline('28 September 2007','16:18','AGD','Full Year Statutory Accounts','6378059','','','');
headlines[5] = new headline('31 July 2007','17:30','AGD','Initial Director`s Interest Notice','6371287','','','');
headlines[6] = new headline('31 July 2007','17:28','AGD','Initial Director`s Interest Notice','6371286','','','');
headlines[7] = new headline('31 July 2007','17:26','AGD','Initial Director`s Interest Notice','6371284','','','');
headlines[8] = new headline('31 July 2007','16:23','AGD','Quarterly Activities Report','6371197','','','');
headlines[9] = new headline('31 July 2007','15:04','AGD','Quarterly Cashflow Report','6371143','','','');
headlines[10] = new headline('29 June 2007','13:45','AGD','Director Appointments','6367113','','','');
headlines[11] = new headline('18 June 2007','13:38','AGD','Change of Director\'s Interest Notice','6365645','','','');
headlines[12] = new headline('7 June 2007','16:47','AGD','Amended Appendix 3B','6364651','','','');
headlines[13] = new headline('7 June 2007','15:39','AGD','Appendix 3B','6364639','','','');
headlines[14] = new headline('22 May 2007','17:00','AGD','Initial Director\'s Interest Notice','6362692','','','');
headlines[15] = new headline('22 May 2007','16:53','AGD','Change of Officeholders','6362689','','','');
headlines[16] = new headline('22 May 2007','16:37','AGD','ASX Circular - Reorganisation of Capital','6362686','','','');
headlines[17] = new headline('22 May 2007','13:53','AGD','Shareholder General Meeting Resolution Results','6362653','','','');
headlines[18] = new headline('22 May 2007','9:45','AGD','Chairman\'s Address to Shareholders','6362574','','','');
headlines[19] = new headline('2 May 2007','16:46','AGD','Change of Registered office address','6360529','','','');
headlines[20] = new headline('30 April 2007','11:53','AGD','Third Quarter Activities Report','6359801','','','');
headlines[21] = new headline('30 April 2007','11:53','AGD','Third Quarter Cashflow Report','6359799','','','');
headlines[22] = new headline('23 April 2007','10:39','AGD','Notice of Meeting','6358772','','','');
headlines[23] = new headline('13 April 2007','13:59','AGD','Initial Director\'s Interest Notice','6357865','','','');
headlines[24] = new headline('13 April 2007','13:58','AGD','Final Director\'s Interest Notice','6357864','','','');
headlines[25] = new headline('3 April 2007','15:04','AGD','Director Resignation/Appointment of Chairman','6356937','','','');
headlines[26] = new headline('2 April 2007','15:41','AGD','Company Update','6356802','','','');
headlines[27] = new headline('16 March 2007','16:05','AGD','Half Year Accounts','6355211','','','');
headlines[28] = new headline('31 January 2007','13:21','AGD','Second Quarter Activities Report','6350067','','','');
headlines[29] = new headline('31 January 2007','13:20','AGD','Second Quarter Cashflow Report','6350061','','','');


///// 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>")
}
