

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('(01 December 2008)','9:56','MOS','Audio Broadcast with Mr Lan Nguyen','2532055','','','');
headlines[1] = new headline('(27 November 2008)','8:25','MOS','Results of Meeting','2531446','','','');
headlines[2] = new headline('(26 November 2008)','14:20','MOS','AGM presentation','2531368','','','');
headlines[3] = new headline('(04 November 2008)','11:19','MOS','Appendix 3B - Employee Incentive Plan Options','2528135','','','');
headlines[4] = new headline('(31 October 2008)','10:42','MOS','Quarterly Reports September 2008','2527582','','','');
headlines[5] = new headline('(21 October 2008)','9:25','MOS','2008 Annual Report','2525621','','','');
headlines[6] = new headline('(21 October 2008)','9:22','MOS','Notice of Annual General Meeting','2525615','','','');
headlines[7] = new headline('(21 October 2008)','9:22','MOS','Proxy Form for the AGM','2525618','','','');
headlines[8] = new headline('(14 October 2008)','9:14','MOS','Operational Update 14.10.08','2524676','','','');
headlines[9] = new headline('(02 October 2008)','11:05','MOS','Date of Annual General Meeting','2523448','','','');
headlines[10] = new headline('(30 September 2008)','9:51','MOS','Weekly Drilling Update','2522860','','','');
headlines[11] = new headline('(26 September 2008)','10:36','MOS','Freneanu 1 Drilling Update','2522377','','','');
headlines[12] = new headline('(23 September 2008)','10:17','MOS','Grant of Block 5 Exploration Licence Taranaki Basin, NZ','2521824','','','');
headlines[13] = new headline('(23 September 2008)','10:15','MOS','Weekly Drilling Update','2521822','','','');
headlines[14] = new headline('(23 September 2008)','10:14','MOS','LMP: Award of Taranaki Permit','2521821','','','');
headlines[15] = new headline('(22 September 2008)','9:25','MOS','Taylor 19 Gas Flow Rate','2521597','','','');
headlines[16] = new headline('(16 September 2008)','9:21','MOS','Weekly Drilling Update 16 Sept 08','2520858','','','');
headlines[17] = new headline('(09 September 2008)','9:50','MOS','Weekly Drilling Update 9 September 2008','2519948','','','');
headlines[18] = new headline('(03 September 2008)','11:23','MOS','Mosaic Oil - Good Oil Conference Presentation','2519285','','','');
headlines[19] = new headline('(02 September 2008)','9:56','MOS','Weekly Drilling Update','2519110','','','');
headlines[20] = new headline('(01 September 2008)','10:21','MOS','Taylor 19 - Successful Gas/CondensateDevelopment Well','2518919','','','');
headlines[21] = new headline('(29 August 2008)','16:14','MOS','Appendix 3B - Exercise of MOSO Options','2518706','','','');
headlines[22] = new headline('(29 August 2008)','15:16','MOS','Interview with Managing Director - Financial Results','2518647','','','');
headlines[23] = new headline('(29 August 2008)','13:15','MOS','Press Release - Financial Results Year Ended 30 June 2008','2518588','','','');
headlines[24] = new headline('(29 August 2008)','13:10','MOS','Full Year Statutory Accounts','2518585','','','');


///// 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>")
}
