

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('15/06/2009','10:03','IRI','Appendix 3B','2553673','','','');
headlines[1] = new headline('27/05/2009','14:40','IRI','Appendix 3X - Allan Ross Baxter','2551986','','','');
headlines[2] = new headline('06/05/2009','12:07','IRI','PROGNOSIS partners with Avaya - Media Release','2549686','','','');
headlines[3] = new headline('22/04/2009','15:43','IRI','Director Appointment - Mr. Alan Baxter','2548090','','','');
headlines[4] = new headline('18/02/2009','10:03','IRI','Investor Presentation 1st Half FY2009','2540197','','','');
headlines[5] = new headline('12/02/2009','17:22','IRI','Press Release IRI First Half Results FY2009','2539585','','','');
headlines[6] = new headline('12/02/2009','17:18','IRI','Half Year Results FY2009','2539583','','','');
headlines[7] = new headline('01/12/2008','18:53','IRI','Appendix 3B','2532191','','','');
headlines[8] = new headline('13/11/2008','9:05','IRI','Results of Meeting FY2008','2529362','','','');
headlines[9] = new headline('12/11/2008','10:04','IRI','Final Director`s Interest Notice','2529217','','','');
headlines[10] = new headline('11/11/2008','15:44','IRI','IR AGM Presentation 2008','2529128','','','');
headlines[11] = new headline('11/11/2008','15:41','IRI','Chairman`s Address to Shareholders 2008','2529126','','','');
headlines[12] = new headline('27/10/2008','8:48','IRI','Notice of Annual General Meeting 2008','2526438','','','');
headlines[13] = new headline('30/09/2008','12:43','IRI','Appendix 3B','2522934','','','');
headlines[14] = new headline('30/09/2008','12:42','IRI','Annual Report to shareholders','2522933','','','');
headlines[15] = new headline('15/09/2008','8:33','IRI','Director Resignation - David Boyles','2520673','','','');
headlines[16] = new headline('15/08/2008','11:17','IRI','FY2008 Financial Results - Investor Presentation','2516185','','','');
headlines[17] = new headline('15/08/2008','9:04','IRI','Market Release - Results for 2008 Financial Year','2516148','','','');
headlines[18] = new headline('15/08/2008','9:03','IRI','Appendix 4E - FY2008','2516147','','','');
headlines[19] = new headline('01/08/2008','10:14','IRI','PROGNOSIS customers top HP NonStop availability awards','2514659','','','');


///// Render functions /////
// (you can use your own if you like)

function viewArticle(articleID) {
	var urlStr = 'http://clients.weblink.com.au/clients/IRI/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 goP(page) {
				window.location = '?PageNumber=' + (page);
			}

function renderHeadlinesList2()
{

	document.write("<table class='wlNewsTable'>");
		document.write("	<thead>");
		document.write("		<tr>");
		document.write("			<th>Date</th>");
		//document.write("			<th>Time</th>");
		document.write("			<th>Headline</th>");
		document.write("			<th>PDF</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 = 'IRI';
			if (h.symbol == '') continue;

			document.write("	<tr class='" + cls + "'>");
			document.write("		<td>" + h.date + "</td>");
			//document.write("		<td>" + h.time + "</td>");
			document.write("		<td><a target='_blank' href='http://clients.weblink.com.au/clients/IRI/article.asp?asx="+ asxcode +"&view=" + h.id + "'>" + h.headline + "</a></td>");
			document.write("		<td><a target='_blank' href='http://clients.weblink.com.au/clients/IRI/article.asp?asx="+ asxcode +"&view=" + h.id + "'><img src='http://clients.weblink.com.au/clients/IRI/icon_pdf.gif'  alt='View PDF' border='0' /></a></td>");
			document.write("	</tr>");

		}
		document.write("	</tbody>")
	document.write("</table>")


    document.write("<table class='wlpageTable' >")
    document.write("<tr>")
    
	document.write("<td >")
	document.write("				")
	 document.write("   <b>1</b>")
	
	document.write("<td >")
	document.write("				")
	
	document.write("			<a href='javascript:goP(2);'>2</a>")
	
	document.write("<td >")
	document.write("				")
	
	document.write("			<a href='javascript:goP(3);'>3</a>")
	
	document.write("<td >")
	document.write("				")
	
	document.write("			<a href='javascript:goP(4);'>4</a>")
	
	document.write("<td >")
	document.write("				")
	
	document.write("			<a href='javascript:goP(5);'>5</a>")
	
	document.write("<td >")
	document.write("				")
	
	document.write("			<a href='javascript:goP(6);'>6</a>")
	
	document.write("<td >")
	document.write("				")
	
	document.write("			<a href='javascript:goP(7);'>7</a>")
	
	document.write("<td >")
	document.write("				")
	
	document.write("			<a href='javascript:goP(8);'>8</a>")
	
	document.write("<td >")
	document.write("				")
	
	document.write("			<a href='javascript:goP(9);'>9</a>")
	
	document.write("<td >")
	document.write("				")
	
	document.write("			<a href='javascript:goP(10);'>10</a>")
	
	document.write("<td >")
	document.write("				")
	
	document.write("			<a href='javascript:goP(11);'>11</a>")
	
	document.write("<td >")
	document.write("				")
	
	document.write("			<a href='javascript:goP(12);'>12</a>")
	
	document.write("<td >")
	document.write("				")
	
	document.write("			<a href='javascript:goP(13);'>13</a>")
	
	document.write("<td >")
	document.write("				")
	
	document.write("			<a href='javascript:goP(14);'>14</a>")
	
	document.write("<td >")
	document.write("				")
	
	document.write("			<a href='javascript:goP(15);'>15</a>")
	
	document.write("<td >")
	document.write("				")
	
	document.write("			<a href='javascript:goP(16);'>16</a>")
	
	document.write("<td >")
	document.write("				")
	
	document.write("			<a href='javascript:goP(17);'>17</a>")
	
	document.write("<td >")
	document.write("				")
	
	document.write("			<a href='javascript:goP(18);'>18</a>")
	
    document.write("                 ")
	document.write("			</td>")

	 
	document.write("<td>")
	document.write("				<a href='javascript:goP(2);'><img src='http://clients.weblink.com.au/clients/IRI/next_icon.gif' alt='Next page' border='0' /></a>")
	document.write("			</td>")
	
	document.write("		</tr>")
    document.write("</table>")
 
}
