

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('01/02/2012','20:03','IRM','Change of Director`s Interest Notice','6576732','','','');
headlines[1] = new headline('01/02/2012','20:03','IRM','Change of Director`s Interest Notice','6576733','','','');
headlines[2] = new headline('01/02/2012','20:01','IRM','Expiry of Listed Options','6576731','','','');
headlines[3] = new headline('31/01/2012','15:14','IRM','Quarterly Activities and Cashflow Report','6576151','','','');
headlines[4] = new headline('20/12/2011','15:39','IRM','Forward Mining Ltd Option to Acquire Blythe - Extended','6572078','','','');
headlines[5] = new headline('18/11/2011','19:14','IRM','Results of Meeting','6567421','','','');
headlines[6] = new headline('18/11/2011','11:22','IRM','AGM Presentation 2011','6567285','','','');
headlines[7] = new headline('17/11/2011','18:01','IRM','Notification of expiry of options','6567181','','','');
headlines[8] = new headline('31/10/2011','17:37','IRM','Quarterly Activities and Cashflow Report','6564565','','','');
headlines[9] = new headline('20/10/2011','12:34','IRM','Notice of Annual General Meeting/Proxy Form','6562192','','','');


///// 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>")
}

