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('','','','','','','',''); ///// 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 + '
") }