

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/01/2012','13:14','SBR','Quarterly Cashflow Report','6575583','','','');
headlines[1] = new headline('30/01/2012','13:14','SBR','Quarterly Activities Report','6575581','','','');
headlines[2] = new headline('25/01/2012','10:56','SBR','High Grade Outcropping Base Metal Discovery at South Ridge','6575124','','','');
headlines[3] = new headline('24/01/2012','10:58','SBR','Border Resource Exceeds 16 Million Tonnes','6574937','','','');
headlines[4] = new headline('19/01/2012','11:39','SBR','More High Grade Vanadium and Base Metals at Kaskara','6574526','','','');
headlines[5] = new headline('30/11/2011','16:39','SBR','Results of Meeting','6569550','','','');
headlines[6] = new headline('30/11/2011','16:39','SBR','Expiry of Options','6569551','','','');
headlines[7] = new headline('18/11/2011','18:48','SBR','Notice Under Section 708A (5) of the Corporations Act','6567413','','','');
headlines[8] = new headline('17/11/2011','20:00','SBR','Appendix 3B','6567216','','','');
headlines[9] = new headline('14/11/2011','13:03','SBR','Placement','6566511','','','');
headlines[10] = new headline('08/11/2011','12:44','SBR','High Grade Vanadium and Base Metals Discovery at Kaskara','6565795','','','');
headlines[11] = new headline('27/10/2011','19:08','SBR','Quarterly Activities Report','6563782','','','');
headlines[12] = new headline('27/10/2011','13:35','SBR','Quarterly Cashflow Report','6563536','','','');
headlines[13] = new headline('27/10/2011','12:24','SBR','Notice of Annual General Meeting/Proxy Form','6563490','','','');
headlines[14] = new headline('30/09/2011','11:14','SBR','Annual Report to shareholders','6559319','','','');
headlines[15] = new headline('20/09/2011','11:19','SBR','Very Encouraging Results from Driehoek','6557839','','','');
headlines[16] = new headline('18/08/2011','17:25','SBR','Re-release Exceptional Drilling Results at Driehoek East','6553752','','','');
headlines[17] = new headline('18/08/2011','13:09','SBR','Exceptional Drilling Results at Driehoek East','6553697','','','');
headlines[18] = new headline('26/07/2011','10:36','SBR','Quarterly Cashflow Report','6550248','','','');
headlines[19] = new headline('26/07/2011','10:35','SBR','Quarterly Activities Report','6550247','','','');
headlines[20] = new headline('21/07/2011','13:53','SBR','New Discoveries in Hoba Ost Area','6549798','','','');
headlines[21] = new headline('19/07/2011','10:55','SBR','Progress at Kaskara','6549453','','','');
headlines[22] = new headline('07/06/2011','11:16','SBR','High Grade Outcropping Base Metals Discovered at Harasib II','6544483','','','');
headlines[23] = new headline('26/05/2011','14:43','SBR','Broad Outcropping Lead-Zinc Mineralisation Confirmed','6543173','','','');
headlines[24] = new headline('02/05/2011','13:04','SBR','Amended Quarterly Activities Report','6540140','','','');
headlines[25] = new headline('21/04/2011','15:27','SBR','Quarterly Activities Report','6538536','','','');
headlines[26] = new headline('19/04/2011','16:16','SBR','Quarterly Cashflow Report','6538090','','','');
headlines[27] = new headline('17/03/2011','19:15','SBR','Kaskara Drilling Intercepts Extensive Mineralisation','6534077','','','');
headlines[28] = new headline('16/03/2011','12:43','SBR','Half Yearly Report and Accounts','6533699','','','');
headlines[29] = new headline('27/01/2011','13:41','SBR','Quarterly Activities Report','6525953','','','');
headlines[30] = new headline('21/01/2011','13:03','SBR','Quarterly Cashflow Report','6525299','','','');
headlines[31] = new headline('21/12/2010','18:21','SBR','Securities Trading Policy','6521778','','','');
headlines[32] = new headline('01/12/2010','15:18','SBR','Copper, Lead, Zinc Mineralisation Intercepted at Kaskara','6518515','','','');
headlines[33] = new headline('30/11/2010','15:25','SBR','Results of Meeting','6518187','','','');
headlines[34] = new headline('04/11/2010','14:11','SBR','DRILLING UPDATE, KASKARA','6513958','','','');
headlines[35] = new headline('01/11/2010','16:03','SBR','Expiry of Options','6513486','','','');
headlines[36] = new headline('28/10/2010','19:37','SBR','Appendix 3B','6512463','','','');
headlines[37] = new headline('28/10/2010','13:20','SBR','Notice of Annual General Meeting/Proxy Form','6512214','','','');
headlines[38] = new headline('28/10/2010','12:20','SBR','Quarterly Activities Report','6512160','','','');
headlines[39] = new headline('25/10/2010','17:22','SBR','Quarterly Cashflow Report','6511323','','','');
headlines[40] = new headline('21/10/2010','19:13','SBR','Appendix 3B','6510765','','','');
headlines[41] = new headline('20/10/2010','13:23','SBR','Diamond Drilling Underway at Kaskara','6510410','','','');
headlines[42] = new headline('18/10/2010','18:14','SBR','Appendix 3B','6510062','','','');
headlines[43] = new headline('29/09/2010','14:51','SBR','Annual Report to shareholders','6507160','','','');
headlines[44] = new headline('22/09/2010','10:57','SBR','Drilling Commences at Kaskara','6506216','','','');
headlines[45] = new headline('10/09/2010','14:01','SBR','Africa Downunder Presentation Online','6504905','','','');
headlines[46] = new headline('02/09/2010','11:35','SBR','Africa Downunder Presentation','6503899','','','');
headlines[47] = new headline('02/09/2010','11:35','SBR','Africa Downunder Presentation','6503900','','','');
headlines[48] = new headline('31/08/2010','11:21','SBR','Kaskara Drilling Programme','6503445','','','');
headlines[49] = new headline('10/08/2010','11:28','SBR','Initial Assay Results from Border Drilling','6501089','','','');


///// 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>")
}

