function headline(date, time, symbol, headline, id) { this.date = date; this.time = time; this.symbol = symbol; this.headline = headline; this.id = id; } var headlines = new Array(); function renderAnnouncements(dummy) { var h; for (var i=0; i < headlines.length; i++) { h = headlines[i]; drawHeadline (h.date, h.time, h.symbol, h.headline, h.id); } } headlines[0] = new headline('21/12/11','9:44','DVN','Earnings Guidance Update','4238551'); headlines[1] = new headline('15/11/11','18:18','DVN','Change in Directors Holdings x 7 - Share Consolidation','4237334'); headlines[2] = new headline('2/11/11','18:39','DVN','Amended Change of Director`s Interest Notice','4236919'); headlines[3] = new headline('2/11/11','17:45','DVN','Change of Director`s Interest Notice','4236912'); headlines[4] = new headline('2/11/11','17:44','DVN','Final Director`s Interest Notice','4236911'); headlines[5] = new headline('31/10/11','19:05','DVN','Share Consolidation - Deferred Settlement Basis','4236819'); headlines[6] = new headline('28/10/11','17:37','DVN','Retirement of Director and Changes to Audit Committee','4236720'); headlines[7] = new headline('28/10/11','13:34','DVN','Results of Meeting','4236702'); headlines[8] = new headline('28/10/11','11:36','DVN','Managing Director and CEOs Address AGM','4236688'); headlines[9] = new headline('28/10/11','11:31','DVN','Chairmans Address to Shareholders','4236687'); var pages = 4;