

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('27 January 12','18:22','BLZ','Quarterly Activities Report','6575415','','','');
headlines[1] = new headline('27 January 12','18:18','BLZ','Quarterly Cashflow Report','6575414','','','');
headlines[2] = new headline('28 November 11','14:48','BLZ','Results of Meeting','6568831','','','');
headlines[3] = new headline('27 October 11','13:50','BLZ','Quarterly Cashflow Report','6563550','','','');
headlines[4] = new headline('27 October 11','13:17','BLZ','Quarterly Activities Report','6563523','','','');
headlines[5] = new headline('26 October 11','17:47','BLZ','Notice of Annual General Meeting/Proxy Form','6563289','','','');
headlines[6] = new headline('23 September 11','13:01','BLZ','Annual Report to shareholders','6558324','','','');
headlines[7] = new headline('27 July 11','17:11','BLZ','Quarterly Cashflow Report','6550567','','','');
headlines[8] = new headline('27 July 11','17:11','BLZ','Quarterly Activities Report','6550568','','','');
headlines[9] = new headline('19 April 11','15:39','BLZ','Quarterly Cashflow Report','6538078','','','');
headlines[10] = new headline('19 April 11','15:25','BLZ','Quarterly Activities Report','6538074','','','');
headlines[11] = new headline('25 February 11','17:33','BLZ','Half Yearly Report and Accounts','6530918','','','');
headlines[12] = new headline('28 January 11','15:15','BLZ','Quarterly Activities Report','6526290','','','');
headlines[13] = new headline('21 January 11','12:59','BLZ','Quarterly Cashflow Report','6525297','','','');
headlines[14] = new headline('21 December 10','18:03','BLZ','Securities Trading Policy','6521770','','','');
headlines[15] = new headline('12 November 10','17:04','BLZ','Results of Meeting','6515116','','','');
headlines[16] = new headline('28 October 10','12:27','BLZ','Quarterly Activities Report','6512163','','','');
headlines[17] = new headline('25 October 10','17:10','BLZ','Quarterly Cashflow Report','6511313','','','');
headlines[18] = new headline('22 October 10','15:12','BLZ','Blaze To Commence Drilling At Yeelirrie','6510937','','','');
headlines[19] = new headline('11 October 10','14:55','BLZ','Notice of Annual General Meeting/Proxy Form','6508907','','','');
headlines[20] = new headline('17 September 10','14:37','BLZ','Appendix 3B','6505748','','','');
headlines[21] = new headline('14 September 10','14:45','BLZ','Yeelirrie Uranium Footprint Expanded','6505258','','','');
headlines[22] = new headline('06 September 10','11:57','BLZ','Amended Annual Report','6504259','','','');
headlines[23] = new headline('02 September 10','13:10','BLZ','Annual Report to shareholders','6503946','','','');
headlines[24] = new headline('27 July 10','13:35','BLZ','Quarterly Activities Report','6498890','','','');
headlines[25] = new headline('26 July 10','15:59','BLZ','Quarterly Cashflow Report','6498730','','','');
headlines[26] = new headline('26 July 10','14:21','BLZ','Option Expiry Notice','6498700','','','');
headlines[27] = new headline('22 July 10','11:15','BLZ','Section 708A (5) Notice','6498360','','','');
headlines[28] = new headline('21 July 10','16:11','BLZ','Change in substantial holding','6498272','','','');
headlines[29] = new headline('21 July 10','15:06','BLZ','Becoming a substantial holder','6498265','','','');


///// Render functions /////
// (you can use your own if you like)

function viewArticle(articleID) {
	var urlStr = 'http://clients.weblink.com.au/clients/blazelimited/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 = 'BLZ';
		if (h.symbol == '') continue;

		document.write("	<tr class='" + cls + "'>");
		document.write("		<td align=left><a target='_blank' href='http://clients.weblink.com.au/clients/blazelimited/article.asp?asx="+ asxcode +"&view=" + h.id + "'>" + h.headline + "</a><br>");
		document.write(h.date + "<p></td>");
		//document.write("		<td>" + h.time + "</td>");
		document.write("	</tr>");

	}
	document.write("	</tbody>")
	document.write("</table>")
}

