

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('31 Jan 12','10:28','SEH','Sino Gas - Q4 Activities Report','6575876','','','');
headlines[1] = new headline('31 Jan 12','10:15','SEH','Sino Gas - Q4 Cash Flow Report','6575875','','','');
headlines[2] = new headline('31 Jan 12','10:07','SEH','Sino Gas - Appointment of Colin Heseltine as director','6575873','','','');
headlines[3] = new headline('30 Jan 12','20:02','SEH','Change in substantial holding from IMD','6575759','','','');
headlines[4] = new headline('30 Jan 12','10:14','SEH','Sino Gas - Appointment of Argonaut as Corporate Advisor','6575515','','','');
headlines[5] = new headline('23 Jan 12','9:46','SEH','Sino Gas - Substantial Gas Resource and Valuation confirmed','6574769','','','');
headlines[6] = new headline('11 Jan 12','13:10','SEH','Sino Gas - Significant new China initiatives announced','6573794','','','');
headlines[7] = new headline('9 Jan 12','19:30','SEH','Sino Gas - Chandler Appendix 3Y','6573587','','','');
headlines[8] = new headline('9 Jan 12','19:29','SEH','Sino Gas - Ridgeway Appendix 3Y','6573586','','','');
headlines[9] = new headline('9 Jan 12','19:29','SEH','Sino Gas - Harper Appendix 3Y','6573585','','','');
headlines[10] = new headline('9 Jan 12','19:27','SEH','Sino Gas - Lyons Appendix 3Y','6573582','','','');
headlines[11] = new headline('9 Jan 12','19:24','SEH','Sino Gas - Expiry of Options','6573581','','','');
headlines[12] = new headline('19 Dec 11','11:28','SEH','Sino Gas - Completion of 2011 Work Program','6571866','','','');
headlines[13] = new headline('13 Dec 11','13:37','SEH','Sino Gas - Change of Director`s Interest Notice','6571211','','','');
headlines[14] = new headline('7 Dec 11','15:23','SEH','Sino Gas - Beijing 2nd Unconventional Gas Summit','6570588','','','');
headlines[15] = new headline('7 Dec 11','12:59','SEH','Sino Gas - Change of Director`s Interest Notice','6570571','','','');
headlines[16] = new headline('7 Dec 11','12:58','SEH','Sino Gas - Change of Director`s Interest Notice','6570569','','','');
headlines[17] = new headline('7 Dec 11','9:40','SEH','Sino Gas - Completion of $6m Raising and SPP','6570535','','','');
headlines[18] = new headline('5 Dec 11','16:52','SEH','Sino Gas - Results of General Meeting','6570282','','','');
headlines[19] = new headline('5 Dec 11','8:35','SEH','Sino Gas - EGM Chairmans Address','6570174','','','');
headlines[20] = new headline('1 Dec 11','9:26','SEH','Sino Gas - Listed options expiring 31 Dec 11','6569740','','','');
headlines[21] = new headline('23 Nov 11','9:22','SEH','Sino Gas - Signs Strategic Development focused Agreement','6567956','','','');
headlines[22] = new headline('21 Nov 11','8:28','SEH','Sino Gas - London Investor Update','6567468','','','');
headlines[23] = new headline('15 Nov 11','8:24','SEH','Sino Gas - Change of Director`s Interest Notice','6566603','','','');
headlines[24] = new headline('14 Nov 11','9:22','SEH','Sino Gas - Sanjiaobei Certified Resources upgraded 153%','6566448','','','');
headlines[25] = new headline('7 Nov 11','11:41','SEH','Sino Gas - Investor Update','6565623','','','');
headlines[26] = new headline('1 Nov 11','17:01','SEH','Sino Gas - Strengthening Board of Directors','6565022','','','');
headlines[27] = new headline('31 Oct 11','16:15','SEH','Sino Gas - Q3 Cash Flow Report','6564436','','','');
headlines[28] = new headline('31 Oct 11','16:15','SEH','Sino Gas - Q3 Activities Report','6564437','','','');
headlines[29] = new headline('31 Oct 11','13:11','SEH','Sino Gas - Dispatch of Notice of General Meeting','6564264','','','');
headlines[30] = new headline('28 Oct 11','14:45','SEH','Sino Gas - Share Purchase Plan Offer','6563974','','','');
headlines[31] = new headline('27 Oct 11','14:07','SEH','Sino Gas - Completion of Share Issue and Appendix 3B','6563563','','','');
headlines[32] = new headline('24 Oct 11','9:53','SEH','Reinstatement to Official Quotation','6562578','','','');
headlines[33] = new headline('24 Oct 11','9:53','SEH','Sino Gas - Successful Raising and Significant Operations','6562569','','','');
headlines[34] = new headline('21 Oct 11','9:15','SEH','Suspension from Official Quotation','6562350','','','');
headlines[35] = new headline('19 Oct 11','9:58','SEH','Trading Halt','6561950','','','');
headlines[36] = new headline('6 Oct 11','8:29','SEH','Sino Gas - Extensive Reserve Expansion Work Program Continue','6560205','','','');
headlines[37] = new headline('30 Sep 11','13:03','SEH','Sino Gas - Issue of Performance Rights and Appendix 3B','6559379','','','');
headlines[38] = new headline('26 Sep 11','8:26','SEH','Sino Gas - Spuds SJB1 on Sanjiaobei PSC with PetroChina CBM','6558425','','','');
headlines[39] = new headline('16 Sep 11','8:29','SEH','Sino Gas - Unconventional Gas China fulfilling its potential','6557420','','','');
headlines[40] = new headline('6 Sep 11','8:46','SEH','Sino Gas - Building a Significant Gas Business in China','6556002','','','');
headlines[41] = new headline('5 Sep 11','8:26','SEH','Sino Gas - Linxing PSC Extension and Potential Cooperation','6555818','','','');
headlines[42] = new headline('31 Aug 11','10:43','SEH','Sino Gas - Release of Securities from Escrow','6555209','','','');
headlines[43] = new headline('25 Aug 11','10:32','SEH','Sino Gas - 1st Phase of 2011 Well Testing Program Complete','6554439','','','');
headlines[44] = new headline('12 Aug 11','8:25','SEH','Sino Gas - Focusing on Commercial Outcomes is our Priority','6552991','','','');
headlines[45] = new headline('29 Jul 11','16:15','SEH','Sino Gas - 30 Jun 11 Half Year Financial Report','6551373','','','');
headlines[46] = new headline('29 Jul 11','11:05','SEH','Sino Gas - Q2 Cash Flows Report','6551032','','','');
headlines[47] = new headline('29 Jul 11','11:05','SEH','Sino Gas - Q2 Activities Report','6551035','','','');
headlines[48] = new headline('27 Jul 11','9:59','SEH','Sino Gas - Well Testing Program Achieving Strong Results','6550441','','','');
headlines[49] = new headline('22 Jul 11','10:39','SEH','Sino Gas - Strong Progress Continues Towards Development','6549893','','','');


///// Render functions /////
// (you can use your own if you like)

function viewArticle(articleID) {
	var urlStr = 'http://clients.weblink.com.au/clients/sinogasenergy/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 = 'SEH';
		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/sinogasenergy/article.asp?asx="+ asxcode +"&view=" + h.id + "'>" + h.headline + "</td>");
		document.write("	</tr>");

	}
	document.write("	</tbody>")
	document.write("</table>")
}

