

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('30/06/2009','11:19','SBR','Base Metal Trend Extended From 3.7 Km to Over 15 Km','6451282','','','');
headlines[1] = new headline('19/05/2009','13:52','SBR','Update to Sabre`s 19 May Announcement','6447337','','','');
headlines[2] = new headline('19/05/2009','12:32','SBR','Sabre Identifies Extensive Base Metal Trend','6447320','','','');
headlines[3] = new headline('29/04/2009','8:25','SBR','Update to Sabre March 2009 Quarterly','6444657','','','');
headlines[4] = new headline('28/04/2009','17:04','SBR','Quarterly Activities Report','6444607','','','');
headlines[5] = new headline('24/04/2009','17:39','SBR','Quarterly Cashflow Report','6444398','','','');
headlines[6] = new headline('16/03/2009','11:45','SBR','Half Yearly Report and Accounts','6440943','','','');
headlines[7] = new headline('13/03/2009','18:40','SBR','Half Yearly Report and Accounts','6440857','','','');
headlines[8] = new headline('30/01/2009','11:30','SBR','Quarterly Activities Report','6436307','','','');
headlines[9] = new headline('30/01/2009','11:29','SBR','Quarterly Cashflow Report','6436304','','','');
headlines[10] = new headline('28/11/2008','16:58','SBR','EXPIRY OF OPTIONS','6431619','','','');
headlines[11] = new headline('12/11/2008','14:46','SBR','Results of Meeting','6429203','','','');
headlines[12] = new headline('12/11/2008','10:34','SBR','BROAD INTERCEPTS AT BORDER DEPOSIT','6429136','','','');
headlines[13] = new headline('24/10/2008','13:10','SBR','Quarterly Activities Report','6426164','','','');
headlines[14] = new headline('24/10/2008','13:08','SBR','Quarterly Cashflow Report','6426162','','','');
headlines[15] = new headline('10/10/2008','17:09','SBR','Notice of Annual General Meeting/Proxy Form','6424265','','','');
headlines[16] = new headline('30/09/2008','17:04','SBR','Annual Report to shareholders','6422823','','','');
headlines[17] = new headline('23/09/2008','12:09','SBR','Significant Drilling Results from Irvington','6421785','','','');
headlines[18] = new headline('16/09/2008','11:25','SBR','Appendix 3B','6421000','','','');
headlines[19] = new headline('12/09/2008','16:03','SBR','Release of Shares from Escrow','6420737','','','');
headlines[20] = new headline('19/08/2008','12:22','SBR','Primebroker Exposure Resolved','6417945','','','');
headlines[21] = new headline('16/07/2008','13:48','SBR','Quarterly Cashflow Report','6413999','','','');
headlines[22] = new headline('16/07/2008','11:37','SBR','Quarterly Activities Report','6413976','','','');
headlines[23] = new headline('23/06/2008','11:44','SBR','Ongava Project Fly-Through Available on Website','6411071','','','');
headlines[24] = new headline('06/06/2008','10:18','SBR','Drilling Update Strong Mineralisation Intercepted','6409450','','','');
headlines[25] = new headline('01/05/2008','17:14','SBR','Section 672 (A) Notices','6405506','','','');
headlines[26] = new headline('30/04/2008','10:58','SBR','Quarterly Activities Report','6404786','','','');
headlines[27] = new headline('28/04/2008','16:18','SBR','Quarterly Cashflow Report','6404259','','','');
headlines[28] = new headline('18/03/2008','11:10','SBR','Drilling Commences at Ongava','6399593','','','');
headlines[29] = new headline('14/03/2008','10:01','SBR','Half Yearly Accounts','6399103','','','');
headlines[30] = new headline('27/02/2008','13:03','SBR','inc Deposit Discovery','6397123','','','');
headlines[31] = new headline('25/01/2008','13:27','SBR','Quarterly Activities Report','6393439','','','');
headlines[32] = new headline('25/01/2008','11:09','SBR','Quarterly Cashflow Report','6393402','','','');
headlines[33] = new headline('17/01/2008','11:06','SBR','Drilling to Test Extensive Mineralisation in Ongava Project','6392607','','','');
headlines[34] = new headline('14/12/2007','17:11','SBR','Appendix 3X','6390015','','','');
headlines[35] = new headline('14/12/2007','16:47','SBR','Director Appointment','6390008','','','');
headlines[36] = new headline('20/11/2007','10:52','SBR','Datasets for Ongava Base Metal Project, Namibia','6385798','','','');
headlines[37] = new headline('13/11/2007','17:29','SBR','Presentation at AGM','6384946','','','');
headlines[38] = new headline('13/11/2007','17:18','SBR','Results of Meeting','6384944','','','');
headlines[39] = new headline('01/11/2007','17:08','SBR','Appendix 3B','6383713','','','');
headlines[40] = new headline('29/10/2007','14:29','SBR','Quarterly Activities Report','6382323','','','');
headlines[41] = new headline('23/10/2007','19:00','SBR','Change in substantial holding','6381250','','','');
headlines[42] = new headline('23/10/2007','18:08','SBR','Quarterly Cashflow Report','6381236','','','');
headlines[43] = new headline('17/10/2007','12:58','SBR','Appendix 3B','6380286','','','');
headlines[44] = new headline('15/10/2007','13:54','SBR','Annual Report to shareholders','6379935','','','');
headlines[45] = new headline('15/10/2007','13:31','SBR','Notice of Annual General Meeting/Proxy Form','6379925','','','');
headlines[46] = new headline('11/10/2007','16:35','SBR','Share and Option Issue','6379622','','','');
headlines[47] = new headline('10/10/2007','12:24','SBR','Ironbark Takes Strategic Holding in Sabre','6379382','','','');
headlines[48] = new headline('10/10/2007','12:20','SBR','IBG: Ironbark takes a strategic stake in Sabre Resources Ltd','6379378','','','');
headlines[49] = new headline('09/10/2007','15:58','SBR','Capital Raising','6379257','','','');


///// Render functions /////
// (you can use your own if you like)

function viewArticle(articleID) {
	var urlStr = 'http://clients.weblink.com.au/clients/SabreResources/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>Date</th>");
	document.write("			<th>Time</th>");
	document.write("			<th>Document</th>");
	document.write("		</tr>");
	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 = 'SBR';
		if (h.symbol == '') continue;

		document.write("	<tr class='" + cls + "'>");
		document.write("		<td>" + h.date + "</td>");
		document.write("		<td>" + h.time + "</td>");
		document.write("		<td align=left><a target='_blank' href='http://clients.weblink.com.au/clients/SabreResources/article.asp?asx="+ asxcode +"&view=" + h.id + "'>" + h.headline + "</td>");
		document.write("	</tr>");

	}
	document.write("	</tbody>")
	document.write("</table>")
}
