

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('27/11/2008','10:40','ESG','Final Director`s Interest Notice','2531530','2','','');
headlines[1] = new headline('27/11/2008','10:32','ESG','Change of Director`s Interest Notice x 2','2531522','4','','');
headlines[2] = new headline('27/11/2008','10:29','ESG','Appendix 3B','2531518','7','','');
headlines[3] = new headline('27/11/2008','10:28','ESG','Appendix 3B','2531517','7','','');
headlines[4] = new headline('25/11/2008','10:32','ESG','Monthly Drilling Report - November 08','2531079','4','','');
headlines[5] = new headline('19/11/2008','14:57','ESG','Disclosure of AGM Proxy Votes','2530277','2','','');
headlines[6] = new headline('19/11/2008','13:17','ESG','AGM Presentation - 2008','2530244','24','','');
headlines[7] = new headline('18/11/2008','9:56','ESG','Gas Reserves Upgrade','2530011','2','','');
headlines[8] = new headline('12/11/2008','10:41','ESG','Reserves Upgrade Programme - Rig Mobilised','2529227','2','','');
headlines[9] = new headline('12/11/2008','9:01','ESG','Presentation-Rodman Renshaw NY Global Investment Conference','2529184','13','','');
headlines[10] = new headline('11/11/2008','10:43','ESG','Reserves Upgrade Programme - Update','2529058','2','','');
headlines[11] = new headline('31/10/2008','10:32','ESG','Quarterly Report - September 2008','2527579','12','','');
headlines[12] = new headline('30/10/2008','11:24','ESG','Appendix 3B','2527359','7','','');
headlines[13] = new headline('23/10/2008','9:38','ESG','Presentation - JPMorgan CSM Corporate Access Day','2526002','19','','');
headlines[14] = new headline('21/10/2008','11:58','ESG','Monthly Drilling Report - October 08','2525673','3','','');
headlines[15] = new headline('15/10/2008','12:50','ESG','Notice of Annual General Meeting/Proxy Form','2524947','8','','');
headlines[16] = new headline('14/10/2008','11:35','ESG','Director Appointment','2524753','2','','');
headlines[17] = new headline('03/10/2008','15:35','ESG','Fit-Out Of Schramm Drilling Rig Nearing Completion','2523694','2','','');
headlines[18] = new headline('24/09/2008','15:10','ESG','Annual Report to Shareholders','2522072','72','','');
headlines[19] = new headline('24/09/2008','12:07','ESG','Monthly Drilling Report - September 08','2522033','3','','');
headlines[20] = new headline('09/09/2008','10:27','ESG','OIP: CSG Farm-in Interview','2519957','4','','');
headlines[21] = new headline('05/09/2008','8:53','ESG','SandP Announces SP/ASX Index Rebalance','2519583','4','','');
headlines[22] = new headline('04/09/2008','11:58','ESG','Open Briefing - Eastern Star Gas. CSG Farm-in Opportunity','2519481','4','','');
headlines[23] = new headline('02/09/2008','9:56','ESG','Presentation to Good Oil Conference 2008','2519116','14','','');
headlines[24] = new headline('01/09/2008','10:39','ESG','Monthly Drilling Report - August 08','2518932','2','','');
headlines[25] = new headline('28/08/2008','19:28','ESG','GPPl Progress Report','2518429','2','','');
headlines[26] = new headline('26/08/2008','9:59','ESG','OIP: Orion Signs CSG Agreement','2517625','2','','');
headlines[27] = new headline('26/08/2008','9:50','ESG','Farm in to Northern NSW Acreage','2517620','2','','');
headlines[28] = new headline('25/08/2008','9:45','ESG','Share Issue','2517395','1','','');
headlines[29] = new headline('22/08/2008','16:25','ESG','Appendix 3B','2517296','8','','');
headlines[30] = new headline('11/08/2008','10:37','ESG','APA Group Acquires Central Ranges Gas Pipeline','2515547','2','','');
headlines[31] = new headline('30/07/2008','10:20','ESG','Quarterly Activities and Cashflow Reports','2514181','12','','');
headlines[32] = new headline('23/07/2008','10:25','ESG','Monthly Drilling Report - July 2008','2513418','3','','');
headlines[33] = new headline('23/07/2008','10:21','ESG','HGO: Eastern Star Gas Enters Pipeline Agreement','2513417','4','','');
headlines[34] = new headline('22/07/2008','11:06','ESG','APA: Agreement with Eastern Star Gas and Gastar Exploration','2513295','2','','');
headlines[35] = new headline('22/07/2008','10:29','ESG','Heads of Agreement with Pipeline Company APA Group','2513287','2','','');
headlines[36] = new headline('18/07/2008','12:24','ESG','Appendix 3B','2513054','8','','');
headlines[37] = new headline('18/07/2008','8:56','ESG','Project Update, London and New York, July 2008','2513014','33','','');
headlines[38] = new headline('09/07/2008','11:05','ESG','Project Update July 2008','2512039','19','','');
headlines[39] = new headline('30/06/2008','11:00','ESG','Sale of a 35% interest in the Wilga Park Power Station','2510811','2','','');
headlines[40] = new headline('23/06/2008','10:36','ESG','Monthly Drilling Report','2509905','3','','');
headlines[41] = new headline('23/06/2008','9:38','ESG','Open Breifing - Gas Market Opportunities','2509888','2','','');
headlines[42] = new headline('17/06/2008','12:27','ESG','Open Briefing Key Appointments and Progress at PEL 238','2509153','5','','');
headlines[43] = new headline('16/06/2008','11:00','ESG','All New Website','2508974','2','','');
headlines[44] = new headline('04/06/2008','14:38','ESG','Project Update and Resource Prediction June 2008','2507885','20','','');
headlines[45] = new headline('04/06/2008','13:50','ESG','Change of Director`s Interest Notice','2507872','2','','');
headlines[46] = new headline('26/05/2008','10:56','ESG','Excellence in Upstream Presentation','2506612','15','','');
headlines[47] = new headline('21/05/2008','10:01','ESG','Expansion of Wilga Park Power Station','2506100','2','','');
headlines[48] = new headline('20/05/2008','9:58','ESG','Monthly Drilling Report','2505940','3','','');
headlines[49] = new headline('14/05/2008','10:45','ESG','Key Management Appointments','2505255','2','','');
headlines[50] = new headline('07/05/2008','9:43','ESG','Appendix 3B - Amended','2504400','8','','');
headlines[51] = new headline('06/05/2008','10:10','ESG','Narrabri Coal Seam Gas Project Update','2504256','19','','');
headlines[52] = new headline('05/05/2008','16:41','ESG','Appendix 3B','2504159','7','','');
headlines[53] = new headline('05/05/2008','16:38','ESG','Appendix 3Y`s','2504157','4','','');
headlines[54] = new headline('30/04/2008','10:10','ESG','Quarterly Activities Report','2503474','11','','');
headlines[55] = new headline('29/04/2008','10:59','ESG','2008 Reserves Upgrade Programme - Status Update','2503276','2','','');
headlines[56] = new headline('29/04/2008','10:43','ESG','Appendix 3B','2503271','7','','');
headlines[57] = new headline('23/04/2008','14:41','ESG','Appendix 3B','2502752','8','','');
headlines[58] = new headline('23/04/2008','9:47','ESG','Open Briefing - Interview with David Casey','2502695','4','','');
headlines[59] = new headline('21/04/2008','12:26','ESG','Monthly Drilling Report - Dewhurst  2 Corehole','2502431','2','','');
headlines[60] = new headline('18/04/2008','11:51','ESG','New York Investor Presentation','2502269','18','','');
headlines[61] = new headline('14/03/2008','17:33','ESG','Half Yearly Report and Accounts','2498038','22','','');
headlines[62] = new headline('13/03/2008','13:11','ESG','NSW`s Biggest Ever CSG Reserves Appraisal Program','2497751','3','','');
headlines[63] = new headline('03/03/2008','16:55','ESG','Appendix 3B','2496134','7','','');
headlines[64] = new headline('27/02/2008','10:29','ESG','Ceasing to be a substantial holder','2495012','2','','');
headlines[65] = new headline('13/02/2008','10:10','ESG','SXP: SAPEX FARMS OUT CSG EXPLORATION INTEREST','2492647','2','','');
headlines[66] = new headline('13/02/2008','10:03','ESG','n To South Australian Acreage','2492639','2','','');
headlines[67] = new headline('01/02/2008','15:09','ESG','Gas Reserves Disclosure','2491416','1','','');
headlines[68] = new headline('31/01/2008','11:05','ESG','Quarterly Activities Report','2491117','12','','');
headlines[69] = new headline('31/01/2008','10:44','ESG','Company Secretary Appointment/Resignation','2491111','1','','');
headlines[70] = new headline('24/01/2008','11:37','ESG','Three-Fold Increase In Gas Reserves','2490374','2','','');
headlines[71] = new headline('10/01/2008','10:31','ESG','CSG Reserves Upgrade Imminent','2488728','1','','');
headlines[72] = new headline('21/12/2007','12:13','ESG','Appendix 3Y x 2','2487208','4','','');
headlines[73] = new headline('21/12/2007','9:51','ESG','Becoming a substantial holder','2487117','6','','');
headlines[74] = new headline('20/12/2007','12:15','ESG','Appendix 3Y','2486903','2','','');
headlines[75] = new headline('20/12/2007','10:30','ESG','Appendix 3Y','2486859','2','','');
headlines[76] = new headline('19/12/2007','9:40','ESG','SPP raises $22.47m - TRUenergy takes up 5.14%','2486523','11','','');
headlines[77] = new headline('17/12/2007','16:09','ESG','Appendix 3B','2486154','8','','');
headlines[78] = new headline('14/12/2007','11:35','ESG','Becoming a substantial holder for OIP','2485793','3','','');
headlines[79] = new headline('13/12/2007','10:56','ESG','EASTERN STAR GAS CONTRACTS DRILL RIG FOR 3 YEARS','2485596','2','','');
headlines[80] = new headline('10/12/2007','16:02','ESG','OIP:Completion of Conditional Deeds of Assignment','2485097','1','','');
headlines[81] = new headline('30/11/2007','15:24','ESG','Results of Meeting','2483865','1','','');
headlines[82] = new headline('30/11/2007','14:20','ESG','AGM Presentation','2483809','23','','');
headlines[83] = new headline('30/11/2007','13:56','ESG','Chairman`s Address at AGM','2483802','3','','');
headlines[84] = new headline('29/11/2007','15:02','ESG','Change of Address of Share Registry','2483543','1','','');
headlines[85] = new headline('23/11/2007','15:39','ESG','Share Purchase Plan','2482676','4','','');
headlines[86] = new headline('20/11/2007','12:51','ESG','Alternate Director Appointment and 2  App 3X','2482023','5','','');
headlines[87] = new headline('13/11/2007','10:26','ESG','HGO: Eastern Star Executes MOU with Babcock and Brown','2480812','2','','');
headlines[88] = new headline('12/11/2007','12:15','ESG','MOU with Babcock and Brown','2480652','1','','');
headlines[89] = new headline('06/11/2007','10:53','ESG','Further Royalty Cancellation in CSG project  Date correction','2479883','1','','');
headlines[90] = new headline('06/11/2007','10:38','ESG','Further Royalty Cancellation in CSG Project','2479881','1','','');
headlines[91] = new headline('05/11/2007','18:15','ESG','Orion Petroleum Limited  - Underwritten IPO','2479835','95','','');
headlines[92] = new headline('05/11/2007','17:05','ESG','Final Director`s Interest Notice','2479824','2','','');
headlines[93] = new headline('01/11/2007','15:05','ESG','Managing Director','2479425','1','','');
headlines[94] = new headline('31/10/2007','16:30','ESG','Quarterly Activities Report and Appendix 5B','2479181','13','','');
headlines[95] = new headline('26/10/2007','17:12','ESG','Notice of Annual General Meeting/Proxy Form','2478338','7','','');
headlines[96] = new headline('26/10/2007','15:56','ESG','Appendix 3B','2478301','8','','');
headlines[97] = new headline('16/10/2007','12:23','ESG','Release of Restricted Securities','2476554','8','','');
headlines[98] = new headline('16/10/2007','10:07','ESG','Appointment of New Chairman','2476521','1','','');
headlines[99] = new headline('08/10/2007','11:29','ESG','Presentation at JP Morgan Asia Pacific Equities','2475502','26','','');


///// Render functions /////
// (you can use your own if you like)

function viewArticle(articleID) {
	var urlStr = 'http://clients.weblink.com.au/clients/easternstar/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 = 'ESG';
		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/easternstar/article.asp?asx="+ asxcode +"&view=" + h.id + "'>" + h.headline + " </a></td><td><a target='_blank' href='http://clients.weblink.com.au/clients/easternstar/article.asp?asx="+ asxcode +"&view=" + h.id + "'></a>("+h.pages+ " pages)"+"</td>");
		document.write("	</tr>");

	}
	document.write("	</tbody>")
	document.write("</table>")
}
