

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('26/11/2008','19:05','IRM','Results of Meeting','6431050','','','');
headlines[1] = new headline('24/11/2008','14:14','IRM','Removal of Keith Whitehouse as Managing Director','6430450','','','');
headlines[2] = new headline('21/11/2008','15:44','IRM','Change of Director`s Interest Notice','6430308','','','');
headlines[3] = new headline('20/11/2008','16:45','IRM','Change of Director`s Interest Notice','6430117','','','');
headlines[4] = new headline('19/11/2008','12:30','IRM','Notice of General Meeting/Proxy Form','6429869','','','');
headlines[5] = new headline('04/11/2008','17:41','IRM','Appendix 3B','6428482','','','');
headlines[6] = new headline('30/10/2008','14:17','IRM','Notice of Annual General Meeting/Proxy Form','6427438','','','');
headlines[7] = new headline('30/10/2008','14:13','IRM','Quarterly Cashflow Report','6427432','','','');
headlines[8] = new headline('30/10/2008','14:13','IRM','Quarterly Activities Report','6427430','','','');
headlines[9] = new headline('28/10/2008','13:11','IRM','Notice of Annual General Meeting/Proxy Form','6426783','','','');


///// Render functions /////
// (you can use your own if you like)

function viewArticle(articleID) {
	var urlStr = 'http://clients.weblink.com.au/clients/ironmountain/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("<ul>");

	for (var i=0; i<headlines.length; i++) {
		var h = headlines[i];
        var asxcode = 'IRM';
		if (h.symbol == '') continue;


		document.write("		<li><a target='_blank' href='http://clients.weblink.com.au/clients/ironmountain/article.asp?asx="+ asxcode +"&view=" + h.id + "'>" + h.headline + " - " + h.date +"</li>");
		document.write("	</tr>");

	}
	document.write("</ul>")
}
