

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('03/09/2008','10:27','BKY','Mr Peter Ellis','6419684','','','');
headlines[1] = new headline('14/08/2008','8:21','BKY','Change in substantial holding','6417496','','','');
headlines[2] = new headline('08/08/2008','9:59','BKY','Initial Resource of 9.23 Million Pounds at Gambuta Deposit','6417033','','','');
headlines[3] = new headline('04/08/2008','9:02','BKY','Change in substantial holding','6416471','','','');
headlines[4] = new headline('31/07/2008','9:46','BKY','Quarterly Activities and Cashflow Report','6415758','','','');
headlines[5] = new headline('25/07/2008','16:54','BKY','Change in substantial holding','6415027','','','');
headlines[6] = new headline('18/07/2008','15:18','BKY','Employee Option Scheme  / Director Incentive Options','6414296','','','');
headlines[7] = new headline('16/07/2008','9:32','BKY','Berkeley Chosen As Partner To Develop ENUSA Assets in Spain','6413945','','','');
headlines[8] = new headline('20/06/2008','14:22','BKY','Appendix 3B','6410943','','','');
headlines[9] = new headline('10/06/2008','16:02','BKY','Becoming a substantial holder','6409762','','','');
headlines[10] = new headline('10/06/2008','15:05','BKY','Ceasing to be a substantial holder','6409752','','','');
headlines[11] = new headline('06/06/2008','9:20','BKY','Encouraging Drill Results Extend Gambuta Mineralisation','6409435','','','');
headlines[12] = new headline('06/06/2008','8:28','BKY','Becoming a substantial holder','6409424','','','');
headlines[13] = new headline('30/05/2008','9:41','BKY','Drilling At The New Ojaranzo Project Confirms Mineralisation','6408673','','','');
headlines[14] = new headline('30/04/2008','9:41','BKY','Quarterly Activities and Cashflow Report','6404739','','','');
headlines[15] = new headline('10/04/2008','10:06','BKY','Drilling at Gambuta Confirms Significant Mineralisation','6402230','','','');
headlines[16] = new headline('13/03/2008','13:18','BKY','Half Year Accounts','6398963','','','');
headlines[17] = new headline('14/02/2008','9:32','BKY','Scoping Study Confirms Potential for Mining at Salamanca I','6395770','','','');
headlines[18] = new headline('05/02/2008','10:20','BKY','Aerial Survey Confirms Potential of Salamanca I Project','6394969','','','');
headlines[19] = new headline('01/02/2008','14:09','BKY','Director Appointment / Initial Director`s Interest Notice','6394761','','','');
headlines[20] = new headline('31/01/2008','9:27','BKY','Quarterly Activities and Cashflow Report','6394071','','','');
headlines[21] = new headline('29/11/2007','19:02','BKY','Results of Annual General Meeting','6387657','','','');
headlines[22] = new headline('19/11/2007','9:42','BKY','Increases Salamanca I Resources / Commences Scoping Study','6385597','','','');
headlines[23] = new headline('30/10/2007','12:27','BKY','Quarterly Activities and Cashflow Report','6382618','','','');
headlines[24] = new headline('29/10/2007','14:04','BKY','Annual Report','6382310','','','');
headlines[25] = new headline('29/10/2007','13:54','BKY','Notice of Annual General Meeting/Proxy Form','6382303','','','');
headlines[26] = new headline('04/10/2007','14:04','BKY','Change of Director`s Interest Notice','6378810','','','');
headlines[27] = new headline('04/10/2007','14:00','BKY','Appendix 3B  Exercise of Options and Section 708A Notice','6378809','','','');
headlines[28] = new headline('28/09/2007','10:51','BKY','Appointment of Company Secretary','6377877','','','');
headlines[29] = new headline('27/09/2007','12:02','BKY','Full Year Accounts','6377619','','','');
headlines[30] = new headline('06/09/2007','16:25','BKY','Change in substantial holding','6375409','','','');
headlines[31] = new headline('06/09/2007','9:56','BKY','New Discovery of Uranium Mineralisation in Salamanca, Spain','6375324','','','');
headlines[32] = new headline('13/08/2007','15:15','BKY','Change in substantial holding','6372659','','','');
headlines[33] = new headline('06/08/2007','12:15','BKY','Appendix 3B','6371929','','','');
headlines[34] = new headline('31/07/2007','19:05','BKY','Change in substantial holding','6371385','','','');
headlines[35] = new headline('31/07/2007','11:24','BKY','Fourth Quarter Cashflow Report','6370972','','','');
headlines[36] = new headline('31/07/2007','11:03','BKY','Quarterly Activities Report','6370956','','','');
headlines[37] = new headline('27/07/2007','14:43','BKY','Change in substantial holding','6370548','','','');
headlines[38] = new headline('05/07/2007','9:43','BKY','Change in substantial holding','6367871','','','');
headlines[39] = new headline('22/06/2007','15:18','BKY','Appendix 3B & Change of Director\'s Interest Notice x3','6366301','','','');
headlines[40] = new headline('22/06/2007','9:10','BKY','Initial Drilling Results Confirm Saguazal Potential','6366226','','','');
headlines[41] = new headline('21/06/2007','18:51','BKY','Results of General Meeting','6366210','','','');
headlines[42] = new headline('12/06/2007','17:39','BKY','Change in substantial holding','6365071','','','');
headlines[43] = new headline('07/06/2007','8:28','BKY','Change in substantial holding','6364542','','','');
headlines[44] = new headline('22/05/2007','14:13','BKY','Notice of General Meeting','6362659','','','');
headlines[45] = new headline('16/05/2007','17:28','BKY','Becoming a substantial holder','6362056','','','');
headlines[46] = new headline('04/05/2007','12:05','BKY','Ceasing to be a substantial holder','6360774','','','');
headlines[47] = new headline('01/05/2007','9:06','BKY','Positive Results from Initial Metallurgical Testwork','6360284','','','');
headlines[48] = new headline('30/04/2007','10:02','BKY','Third Quarter Activities & Cashflow Report','6359740','','','');
headlines[49] = new headline('26/04/2007','9:46','BKY','Completion of Share Placement & Appendix 3B','6359205','','','');
headlines[50] = new headline('13/04/2007','9:30','BKY','Placement to raise $23.1m','6357803','','','');
headlines[51] = new headline('12/04/2007','9:45','BKY','Trading Halt','6357653','','','');
headlines[52] = new headline('10/04/2007','9:27','BKY','Initial JORC Compliant Resource','6357342','','','');
headlines[53] = new headline('05/04/2007','8:30','BKY','Appointment of Chief Operating Officer','6357192','','','');
headlines[54] = new headline('16/03/2007','12:36','BKY','Half Year Accounts','6355134','','','');
headlines[55] = new headline('06/03/2007','8:31','BKY','Change in substantial holding','6353791','','','');
headlines[56] = new headline('28/02/2007','10:15','BKY','Further Drill Results at Retortillo','6353117','','','');
headlines[57] = new headline('21/02/2007','9:47','BKY','Becoming a substantial holder','6352250','','','');
headlines[58] = new headline('31/01/2007','14:04','BKY','Second Quarter Activities & Cashflow Reports','6350100','','','');
headlines[59] = new headline('29/01/2007','8:30','BKY','Becoming a substantial holder','6349446','','','');
headlines[60] = new headline('15/01/2007','9:37','BKY','First Drill Hole Confirms Retortillo Mineralisation','6348334','','','');
headlines[61] = new headline('15/12/2006','10:27','BKY','Commencement of Drilling','6346010','','','');
headlines[62] = new headline('06/12/2006','10:08','BKY','First Day of Dealings','6344862','','','');
headlines[63] = new headline('05/12/2006','18:03','BKY','Appendix 3B/Section 708A Notice/Appendix 3Y x2','6344804','','','');
headlines[64] = new headline('04/12/2006','8:32','BKY','Appendix 3B/Change of Director\'s Interest Notice','6344486','','','');
headlines[65] = new headline('01/12/2006','8:27','BKY','Results of Annual General Meeting','6344291','','','');
headlines[66] = new headline('29/11/2006','8:30','BKY','Sale of Pilbara properties for approximately $1m','6343733','','','');
headlines[67] = new headline('28/11/2006','20:23','BKY','AGO: Expands Pilbara Landholding','6343715','','','');
headlines[68] = new headline('22/11/2006','11:01','BKY','Appendix 3B','6342768','','','');
headlines[69] = new headline('22/11/2006','8:30','BKY','Appendix 3B','6342730','','','');
headlines[70] = new headline('17/11/2006','8:30','BKY','Appointment of Spanish Director/Appendix 3X/3Y & 3Z','6342255','','','');
headlines[71] = new headline('16/11/2006','18:22','BKY','Appendix 3B - Exercise of Options','6342224','','','');
headlines[72] = new headline('08/11/2006','20:23','BKY','Response to ASX Share Price Query','6341293','','','');
headlines[73] = new headline('08/11/2006','8:30','BKY','To be admitted to AIM','6341153','','','');
headlines[74] = new headline('01/11/2006','8:29','BKY','Appendix 3B','6340496','','','');
headlines[75] = new headline('31/10/2006','8:28','BKY','First Quarter Activities & Cashflow Report','6339938','','','');
headlines[76] = new headline('27/10/2006','8:29','BKY','Notice of Annual General Meeting','6339306','','','');
headlines[77] = new headline('27/10/2006','8:29','BKY','Annual Report','6339305','','','');
headlines[78] = new headline('23/10/2006','18:50','BKY','Option Expiry Notification','6338650','','','');
headlines[79] = new headline('16/10/2006','17:28','BKY','Appendix 3B','6337825','','','');
headlines[80] = new headline('12/10/2006','8:29','BKY','Acquisition Of Exploration Data From ENUSA','6337397','','','');
headlines[81] = new headline('29/09/2006','13:26','BKY','Full Year Accounts','6336048','','','');
headlines[82] = new headline('27/09/2006','16:50','BKY','Appendix 3B','6335682','','','');
headlines[83] = new headline('26/09/2006','8:31','BKY','Proposed AIM Admission & Appointment of Key Advisers','6335408','','','');
headlines[84] = new headline('13/09/2006','17:39','BKY','Appendix 3B','6334268','','','');
headlines[85] = new headline('05/09/2006','8:29','BKY','Exercise of Options - s708 Notice','6333215','','','');
headlines[86] = new headline('05/09/2006','8:29','BKY','Appendix 3B - Exercise of Options','6333214','','','');
headlines[87] = new headline('11/08/2006','16:02','BKY','Appendix 3B','6331198','','','');
headlines[88] = new headline('04/08/2006','17:42','BKY','Appendix 3B - Exercise of Options','6330680','','','');
headlines[89] = new headline('01/08/2006','17:33','BKY','Initial Director\'s Interest Notice','6330403','','','');
headlines[90] = new headline('31/07/2006','18:19','BKY','Fourth Quarter Activities & Cashflow Report','6330225','','','');
headlines[91] = new headline('28/07/2006','12:16','BKY','Appointment of Executive Director','6329664','','','');
headlines[92] = new headline('13/07/2006','11:06','BKY','Appendix 3B','6328223','','','');
headlines[93] = new headline('07/07/2006','17:52','BKY','Appendix 3B','6327826','','','');
headlines[94] = new headline('30/06/2006','16:07','BKY','Appendix 3B - Exercise of Options','6327085','','','');
headlines[95] = new headline('20/06/2006','14:11','BKY','Appendix 3B','6326188','','','');
headlines[96] = new headline('07/06/2006','8:30','BKY','Appendix 3B','6325143','','','');
headlines[97] = new headline('26/05/2006','8:30','BKY','Becoming a substantial holder','6324101','','','');
headlines[98] = new headline('19/05/2006','15:41','BKY','Appendix 3B','6323505','','','');


///// Render functions /////
// (you can use your own if you like)

function viewArticle(articleID) {
	var urlStr = 'http://clients.weblink.com.au/clients/berkeleyresources/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";

		if (h.symbol == '') continue;

		document.write("	<tr class='" + cls + "'>");
		document.write("		<td class='" + cls + "'>" + h.date + "</td>");
		document.write("		<td class='" + cls + "'>" + h.time + "</td>");
		document.write("		<td class='" + cls + "'><a class='" + cls + "' target='_blank' href='http://clients.weblink.com.au/clients/berkeleyresources/article.asp?view=" + h.id + "'>" + h.headline + "</td>");
		document.write("	</tr>");
		
	}
	document.write("	</tbody>")
	document.write("</table>")
}
