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/02/2010','16:08','RHL','Final Director`s Interest Notice','3332224','','',''); headlines[1] = new headline('15/02/2010','16:07','RHL','Final Director`s Interest Notice','3332223','','',''); headlines[2] = new headline('15/02/2010','16:06','RHL','Final Director`s Interest Notice','3332222','','',''); headlines[3] = new headline('12/02/2010','9:46','RHL','Outcomes of Resolutions 2010 AGM','3332123','','',''); headlines[4] = new headline('11/02/2010','17:05','RHL','Managing Director`s Presentation 2010 AGM','3332097','','',''); headlines[5] = new headline('11/02/2010','17:02','RHL','Chairman`s Address 2010 AGM','3332096','','',''); headlines[6] = new headline('09/02/2010','15:19','RHL','Retirement of Director / Resignation of Company Secretary','3331989','','',''); headlines[7] = new headline('22/01/2010','15:29','RHL','Change of Director`s Interest Notice','3331348','','',''); headlines[8] = new headline('21/01/2010','17:53','RHL','Appendix 3B','3331293','','',''); headlines[9] = new headline('18/01/2010','13:17','RHL','Change in substantial holding from CBA','3331156','','',''); ///// Render functions ///// // (you can use your own if you like) function viewArticle(articleID) { var urlStr = 'http://clients.weblink.com.au/clients/ruralco/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 ("") var rowcount = 0; for (var i=0; i'); document.write (''); } } document.write ("
DateTimeDocument
' + h.date + '' + h.time + '' + h.headline + '
") }