

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('24/11/2008','18:40','ACW','Results of Meeting','6430553','','','');
headlines[1] = new headline('13/11/2008','11:46','ACW','RESULTS FROM REPORT ON DETAILED DEREPLICATION OF ISOLATES','6429307','','','');
headlines[2] = new headline('13/11/2008','11:41','ACW','INCREASE OF SCIENTIFIC RESEARCH STAFF','6429306','','','');
headlines[3] = new headline('29/10/2008','18:36','ACW','Appendix 4C - quarterly','6427223','','','');
headlines[4] = new headline('28/10/2008','13:21','ACW','Annual Report to shareholders','6426789','','','');
headlines[5] = new headline('28/10/2008','13:20','ACW','Notice of Annual General Meeting/Proxy Form','6426788','','','');
headlines[6] = new headline('07/10/2008','16:41','ACW','Appendix 3Y','6423837','','','');
headlines[7] = new headline('03/10/2008','17:16','ACW','Company Secretary Appointment/Resignation','6423549','','','');
headlines[8] = new headline('26/09/2008','12:32','ACW','Full Year Statutory Accounts','6422308','','','');
headlines[9] = new headline('23/09/2008','13:36','ACW','Change of Director`s Interest Notice','6421800','','','');


///// Render functions /////
// (you can use your own if you like)

function viewArticle(articleID) {
	var urlStr = 'http://clients.weblink.com.au/clients/actinogen/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("	<tbody>")

	for (var i=0; i<headlines.length; i++) {
		var h = headlines[i];
		var cls = (i%2 == 0) ? "even" : "odd";
        var asxcode = 'ACW';
		if (h.symbol == '') continue;

		document.write("	<tr class='" + cls + "'>");
		document.write("		<td align=left><font size = 2><b>" + h.date + "</b></font><br>"  + h.headline + "  "+ "<br><a target='_blank' href='http://clients.weblink.com.au/clients/actinogen/article.asp?asx="+ asxcode +"&view=" + h.id + "'>READ MORE</a>"+ "</td>");
		document.write("	</tr>");

	}
	document.write("	</tbody>")
	document.write("</table>")
}
