

function headline(date, time, symbol, headline, id,pages)
{
	// Represents a headline object
	this.date = date;
	this.time = time;
	this.symbol = symbol;
	this.headline = headline;
	this.id = id;
	this.pages = pages;
}

///// Data values /////
var headlines = new Array();

headlines[0] = new headline('19/03/2010','14:52','SHE','Results of General Meeting','6484691','2','','');
headlines[1] = new headline('17/03/2010','15:30','SHE','Half Yearly Accounts - Amended','6484446','22','','');
headlines[2] = new headline('12/03/2010','20:15','SHE','Half Yearly Report and Accounts','6483829','21','','');
headlines[3] = new headline('24/02/2010','18:39','SHE','Appendix 3B','6481671','7','','');
headlines[4] = new headline('16/02/2010','9:30','SHE','South Korean Uranium Project Update and Notice of Meeting','6480594','30','','');
headlines[5] = new headline('29/01/2010','15:04','SHE','Quarterly Cashflow Report','6478554','5','','');
headlines[6] = new headline('29/01/2010','15:04','SHE','Quarterly Activities Report','6478553','6','','');
headlines[7] = new headline('25/01/2010','10:08','SHE','Boardroom Radio Interview - South Korean Uranium Projects','6477650','4','','');
headlines[8] = new headline('11/01/2010','11:56','SHE','Chong Ma Acquistion Update - Advanced Uranium Projects','6476364','8','','');
headlines[9] = new headline('08/01/2010','18:27','SHE','Appendix 3b - Amended','6476317','7','','');
headlines[10] = new headline('08/01/2010','15:52','SHE','Cleansing Statement and Appendix 3B','6476292','10','','');
headlines[11] = new headline('07/01/2010','11:23','SHE','Placement Completed','6476148','1','','');
headlines[12] = new headline('06/01/2010','9:47','SHE','Acquisition of Advanced Uranium Projects in South Korea','6476042','12','','');
headlines[13] = new headline('04/01/2010','9:20','SHE','Trading Halt','6475862','2','','');
headlines[14] = new headline('18/12/2009','13:15','SHE','Entitlement Issue Closure and Notice of Shortfall','6474687','1','','');
headlines[15] = new headline('25/11/2009','14:43','SHE','Results of Meeting','6470984','2','','');
headlines[16] = new headline('13/11/2009','8:23','SHE','Non-Renounceable Entitlement Issue to SHEO Optionholders','6469030','2','','');
headlines[17] = new headline('13/11/2009','8:23','SHE','Entitlement Issue Prospectus','6469032','27','','');
headlines[18] = new headline('13/11/2009','8:23','SHE','Appendix 3B','6469033','8','','');
headlines[19] = new headline('12/11/2009','12:44','SHE','Change of Director`s Interest Notice x 3','6468888','6','','');
headlines[20] = new headline('12/11/2009','12:43','SHE','Appendix 3B','6468887','7','','');
headlines[21] = new headline('11/11/2009','15:08','SHE','Change of Director`s Interest Notice','6468777','2','','');
headlines[22] = new headline('09/11/2009','8:32','SHE','Change of Director`s Interest Notice','6468343','2','','');
headlines[23] = new headline('09/11/2009','8:32','SHE','Appendix 3B','6468342','7','','');
headlines[24] = new headline('09/11/2009','8:32','SHE','Change of Director`s Interest Notice','6468344','2','','');
headlines[25] = new headline('30/10/2009','12:51','SHE','Quarterly Cashflow Report','6467026','5','','');
headlines[26] = new headline('30/10/2009','12:51','SHE','Quarterly Activities Report','6467025','3','','');
headlines[27] = new headline('26/10/2009','18:45','SHE','Notice of Annual General Meeting/Proxy Form','6465844','10','','');
headlines[28] = new headline('12/10/2009','15:01','SHE','Results of Meeting','6463559','5','','');
headlines[29] = new headline('06/10/2009','12:36','SHE','Becoming a substantial holder','6462903','2','','');
headlines[30] = new headline('01/10/2009','8:19','SHE','Annual Report to shareholders','6462251','66','','');
headlines[31] = new headline('30/09/2009','15:05','SHE','Change in substantial holding','6462003','2','','');
headlines[32] = new headline('30/09/2009','13:50','SHE','Appendix 3B','6461966','8','','');
headlines[33] = new headline('09/09/2009','10:32','SHE','Notice of Extraordinary General Meeting/Proxy Form','6459546','24','','');
headlines[34] = new headline('31/07/2009','16:03','SHE','Quarterly Cashflow Report','6455154','5','','');
headlines[35] = new headline('31/07/2009','15:51','SHE','Quarterly Activities Report','6455153','2','','');
headlines[36] = new headline('23/07/2009','10:10','SHE','Change in substantial holding','6453722','2','','');
headlines[37] = new headline('17/07/2009','15:41','SHE','Change of Director`s Interest Notice x 3','6453189','6','','');
headlines[38] = new headline('17/07/2009','12:05','SHE','Change in substantial holding','6453135','2','','');
headlines[39] = new headline('16/07/2009','15:28','SHE','Appendix 3B','6453039','8','','');
headlines[40] = new headline('15/07/2009','11:18','SHE','Results of Entitlement Issue','6452857','1','','');
headlines[41] = new headline('12/06/2009','16:05','SHE','Rights Issue Offer Document','6449675','10','','');
headlines[42] = new headline('12/06/2009','14:44','SHE','Letter to Optionholders - Non-Renounceable Rights Issue','6449643','2','','');
headlines[43] = new headline('12/06/2009','14:44','SHE','Notifcation under Section 708AA','6449645','1','','');
headlines[44] = new headline('12/06/2009','14:38','SHE','Letter to Shareholders - Non Renounceable Rights Issue','6449642','2','','');
headlines[45] = new headline('11/06/2009','18:15','SHE','Notice of Pro-Rata Non Renounceable Rights Issue','6449551','1','','');
headlines[46] = new headline('11/06/2009','18:14','SHE','Appendix 3B','6449550','8','','');
headlines[47] = new headline('11/06/2009','17:36','SHE','Becoming a substantial holder','6449547','2','','');
headlines[48] = new headline('11/06/2009','16:30','SHE','Cleansing Statement','6449534','2','','');
headlines[49] = new headline('11/06/2009','16:29','SHE','Appendix 3B','6449531','8','','');


///// Render functions /////
// (you can use your own if you like)

function viewArticle(articleID) {
	var urlStr = 'http://clients.weblink.com.au/clients/stonehengemetals/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<font color=red>Sample</font></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 = 'SHE';
		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/stonehengemetals/article.asp?asx="+ asxcode +"&view=" + h.id + "'>" + h.headline + " </a></td><td><a target='_blank' href='http://clients.weblink.com.au/clients/stonehengemetals/article.asp?asx="+ asxcode +"&view=" + h.id + "'><img align='middle' src='http://clients.weblink.com.au/clients/stonehengemetals/pdf.gif' alt='pdf icon' />("+h.pages+ " pages)"+"</a></td>");
		document.write("	</tr>");

	}
	document.write("	</tbody>")
	document.write("</table>")
}
