

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('31/01/2012','13:28','SHE','Quarterly Activities Report','6576036','8','','');
headlines[1] = new headline('31/01/2012','13:27','SHE','Quarterly Cashflow Report','6576032','5','','');
headlines[2] = new headline('24/01/2012','8:23','SHE','Stonehenge Announces Vanadium Exploration Target','6574899','11','','');
headlines[3] = new headline('10/01/2012','18:27','SHE','Grant of ASX Waiver','6573691','2','','');
headlines[4] = new headline('20/12/2011','19:05','SHE','Appendix 3B','6572127','8','','');
headlines[5] = new headline('20/12/2011','12:36','SHE','Change of Director`s Interest Notice','6572042','2','','');
headlines[6] = new headline('13/12/2011','9:14','SHE','RMG: Zeehan Pb Zn Ag Project Acquisition','6571152','8','','');
headlines[7] = new headline('13/12/2011','8:27','SHE','Stonehenge Divests Non-core Tasmanian Tenements','6571123','2','','');
headlines[8] = new headline('29/11/2011','20:27','SHE','Chairman`s Address AGM 2011','6569276','2','','');
headlines[9] = new headline('29/11/2011','17:26','SHE','Results of Meeting','6569211','1','','');
headlines[10] = new headline('29/11/2011','12:08','SHE','AGM Presentation 2011','6569072','40','','');
headlines[11] = new headline('24/11/2011','8:23','SHE','Stonehenge - 97.6% Vanadium Extraction from U3O8 Leach Test','6568170','4','','');
headlines[12] = new headline('17/11/2011','19:54','SHE','Appendix 3B','6567214','8','','');
headlines[13] = new headline('01/11/2011','11:10','SHE','Reinstatement to Official Quotation','6564946','1','','');
headlines[14] = new headline('01/11/2011','11:08','SHE','Quarterly Activities Report','6564945','5','','');
headlines[15] = new headline('01/11/2011','11:08','SHE','Quarterly Cashflow Report','6564944','6','','');
headlines[16] = new headline('01/11/2011','10:23','SHE','Suspension from Official Quotation','6564936','1','','');
headlines[17] = new headline('27/10/2011','16:00','SHE','Notice of Annual General Meeting','6563642','15','','');
headlines[18] = new headline('05/10/2011','8:26','SHE','Stonehenge Metals Market Update','6560045','4','','');
headlines[19] = new headline('03/10/2011','8:16','SHE','Annual Report to Shareholders','6559748','84','','');
headlines[20] = new headline('29/08/2011','16:29','SHE','Ceasing to be a substantial holder','6554843','3','','');
headlines[21] = new headline('28/07/2011','13:23','SHE','Quarterly Cashflow Report','6550764','5','','');
headlines[22] = new headline('28/07/2011','13:23','SHE','Quarterly Activities Report','6550765','6','','');
headlines[23] = new headline('27/07/2011','16:52','SHE','Change in substantial holding','6550563','3','','');
headlines[24] = new headline('27/07/2011','11:36','SHE','Appendix 3B','6550473','8','','');
headlines[25] = new headline('22/07/2011','12:44','SHE','Investor Presentation July 2011','6549917','24','','');
headlines[26] = new headline('19/07/2011','13:00','SHE','Appendix 3B','6549478','8','','');
headlines[27] = new headline('19/07/2011','12:11','SHE','Stonehenge Completes Acquisition of Korean Uranium Projects','6549474','1','','');
headlines[28] = new headline('14/07/2011','18:31','SHE','Change of Director`s Interest Notice','6549059','2','','');
headlines[29] = new headline('14/07/2011','12:39','SHE','Change of Registered Address','6548947','1','','');
headlines[30] = new headline('29/06/2011','10:34','SHE','Final Director`s Interest Notice','6547017','2','','');
headlines[31] = new headline('24/06/2011','13:23','SHE','Director and Company Secretary Appointment/Resignation','6546566','2','','');
headlines[32] = new headline('08/06/2011','8:26','SHE','Stonehenge Announces Key Management Appointments','6544586','2','','');
headlines[33] = new headline('31/05/2011','8:26','SHE','Stonehenge Establishing Joint Venture Trading Company','6543630','2','','');
headlines[34] = new headline('26/05/2011','8:23','SHE','Operations Update','6543069','3','','');
headlines[35] = new headline('25/05/2011','8:24','SHE','Daejon Drilling Approval','6542916','2','','');
headlines[36] = new headline('05/05/2011','16:18','SHE','Capital Raising Postponement and Acquisition Negotiation','6540655','1','','');
headlines[37] = new headline('03/05/2011','18:06','SHE','Trading Halt','6540363','2','','');
headlines[38] = new headline('03/05/2011','11:53','SHE','SHE Change of Registered Address','6540267','1','','');
headlines[39] = new headline('29/04/2011','14:10','SHE','Quarterly Acitivities Report','6539578','12','','');
headlines[40] = new headline('29/04/2011','14:10','SHE','Quarterly Cashflow Report','6539583','5','','');
headlines[41] = new headline('12/04/2011','8:23','SHE','Gwesan Project Assay Results','6537035','5','','');
headlines[42] = new headline('31/03/2011','15:54','SHE','Results of Meeting','6535667','2','','');
headlines[43] = new headline('23/03/2011','16:00','SHE','Change in substantial holding','6534737','3','','');
headlines[44] = new headline('16/03/2011','19:52','SHE','Half Yearly Report and Accounts','6533879','34','','');
headlines[45] = new headline('09/03/2011','17:11','SHE','Change in substantial holding','6532725','3','','');
headlines[46] = new headline('09/03/2011','16:18','SHE','Change in substantial holding','6532703','3','','');
headlines[47] = new headline('01/03/2011','8:19','SHE','Positive ScopingStudy andPreliminary Metallurgy Test Results','6531345','3','','');
headlines[48] = new headline('24/02/2011','14:19','SHE','Notice of General Meeting/Proxy Form','6530559','11','','');
headlines[49] = new headline('24/02/2011','12:39','SHE','Boardroom Radio Australia Interviews MD Richard Henning','6530513','1','','');


///// 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>")
}

