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('07/02/2012','17:14','RHL','Appendix 3B','3368866','','',''); headlines[1] = new headline('06/02/2012','16:13','RHL','Market Update','3368808','','',''); headlines[2] = new headline('06/02/2012','13:34','RHL','Results of Meeting','3368797','','',''); headlines[3] = new headline('06/02/2012','11:59','RHL','Chairman`s Address to Shareholders','3368792','','',''); headlines[4] = new headline('06/02/2012','11:59','RHL','Managing Director`s AGM Presentation','3368793','','',''); headlines[5] = new headline('23/01/2012','18:11','RHL','Appendix 3B','3368257','','',''); headlines[6] = new headline('23/12/2011','14:07','RHL','Notice of Annual General Meeting/Proxy Form','3367520','','',''); headlines[7] = new headline('23/12/2011','13:10','RHL','Annual Report to shareholders','3367505','','',''); headlines[8] = new headline('09/12/2011','12:11','RHL','Market Update','3366653','','',''); headlines[9] = new headline('22/11/2011','16:20','RHL','Full Year Results Presentation','3365318','','',''); ///// 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 + '
") }