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/07/2009','12:41','RHL','Appendix 3B','3320015','','',''); headlines[1] = new headline('01/07/2009','12:39','RHL','Ruralco Employee Share Plans','3320014','','',''); headlines[2] = new headline('29/06/2009','12:21','RHL','Change of Director`s Interest Notice','3319807','','',''); headlines[3] = new headline('24/06/2009','10:49','RHL','Change of Director`s Interest Notice','3319613','','',''); headlines[4] = new headline('01/06/2009','15:33','RHL','Change of Director`s Interest Notice','3318722','','',''); headlines[5] = new headline('28/05/2009','12:19','RHL','Change of Director`s Interest Notice','3318571','','',''); headlines[6] = new headline('27/05/2009','9:01','RHL','Correction to Record Date','3318499','','',''); headlines[7] = new headline('26/05/2009','14:16','RHL','Half Year Analysts Presentation','3318461','','',''); headlines[8] = new headline('26/05/2009','14:13','RHL','Appendix 4D / Interim Financial Report','3318460','','',''); headlines[9] = new headline('19/05/2009','16:11','RHL','Change of Director`s Interest Notice','3318210','','',''); ///// 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 + '
") }