

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('(03 February 2010)','10:04','MOS','Director Resignation - Dr John Armstrong','2581366','','','');
headlines[1] = new headline('(03 February 2010)','10:04','MOS','Final Director`s Interest Notice - John Armstrong','2581368','','','');
headlines[2] = new headline('(29 January 2010)','10:20','MOS','Quarterly Activities and Cashflow Report - Dec 09 Qtr','2580817','','','');
headlines[3] = new headline('(23 December 2009)','20:35','MOS','Change of Director`s Interest Notice - John Armstrong','2578207','','','');
headlines[4] = new headline('(23 December 2009)','20:34','MOS','Change of Director`s Interest Notice - David Herlihy','2578203','','','');
headlines[5] = new headline('(23 December 2009)','20:34','MOS','Change of Director`s Interest Notice - Andy Rigg','2578204','','','');
headlines[6] = new headline('(23 December 2009)','20:34','MOS','Change of Director`s Interest Notice - Peter Barrow','2578206','','','');
headlines[7] = new headline('(23 December 2009)','11:54','MOS','Appendix 3B - Allotment of Shares to Directors','2578076','','','');
headlines[8] = new headline('(23 December 2009)','11:53','MOS','Allotment of Shares to Directors','2578075','','','');
headlines[9] = new headline('(30 November 2009)','15:49','MOS','Gas Supply Contract Extended','2575115','','','');
headlines[10] = new headline('(25 November 2009)','9:56','MOS','Results of Meeting - AGM','2574309','','','');
headlines[11] = new headline('(24 November 2009)','10:19','MOS','AGM Presentation','2574128','','','');
headlines[12] = new headline('(17 November 2009)','8:24','MOS','Appendix 3B - Share Purchase Plan','2573092','','','');
headlines[13] = new headline('(13 November 2009)','14:23','MOS','Share Purchase Plan raises $10.3M','2572826','','','');
headlines[14] = new headline('(10 November 2009)','18:24','MOS','SPP Issue Price set at 11.0 cents','2572307','','','');
headlines[15] = new headline('(02 November 2009)','8:17','MOS','Quarterly Activities and Cashflows Report','2571186','','','');
headlines[16] = new headline('(30 October 2009)','10:22','MOS','Oct/Nov Investor Presentation','2570940','','','');
headlines[17] = new headline('(20 October 2009)','9:50','MOS','Annual Report to shareholders','2569279','','','');
headlines[18] = new headline('(20 October 2009)','9:47','MOS','Notice of Annual General Meeting/Proxy Form','2569274','','','');
headlines[19] = new headline('(14 October 2009)','18:36','MOS','SPP Cleansing Notice','2568655','','','');
headlines[20] = new headline('(14 October 2009)','18:32','MOS','Share Purchase Plan - Offer Letter','2568654','','','');
headlines[21] = new headline('(07 October 2009)','11:17','MOS','Appendix 3B - Placement Raises $11M','2567761','','','');
headlines[22] = new headline('(06 October 2009)','19:03','MOS','Placement - Cleansing Notice - Section 708A','2567713','','','');
headlines[23] = new headline('(06 October 2009)','17:35','MOS','Initial Director`s Interest Notice - John Armstrong','2567694','','','');
headlines[24] = new headline('(05 October 2009)','9:52','MOS','Placement Raises $11M','2567474','','','');


///// Render functions /////
// (you can use your own if you like)

function viewArticle(articleID) {
	var urlStr = 'http://clients.weblink.com.au/clients/mosaicoil/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></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 = "headlinenews";
        var asxcode = 'MOS';
		if (h.symbol == '') continue;

		document.write("	<tr class='" + cls + "'>");
		document.write("		<td colspan=3 align=left><a target='_blank' href='http://clients.weblink.com.au/clients/mosaicoil/article.asp?asx="+ asxcode +"&view=" + h.id + "'>" + h.headline + "</td>");
		document.write("	</tr>");
		document.write("	<tr>");
		document.write("		<td align=left colspan =3>" + h.date + "<br><br></td>");
		document.write("	</tr>");


	}
	document.write("	</tbody>")
	document.write("</table>")
}
