function thread(threadid, title, poster, threaddate, threadtime) { this.threadid = threadid; this.title = title; this.poster = poster; this.threaddate = threaddate; this.threadtime = threadtime; } var threads = new Array(20); threads[0] = new thread(4999, '40knot offshore', 'Joshstar', '08/09/2010', '06:03 PM'); threads[1] = new thread(4996, 'the past few days', 'rhinoryan', '03/09/2010', '06:37 PM'); threads[2] = new thread(4992, '28 August 10 (pics)', 'Whippet', '02/09/2010', '08:17 PM'); threads[3] = new thread(4993, '29 Aug 10', 'masta', '01/09/2010', '11:44 AM'); threads[4] = new thread(4994, 'shots from the w\'end.', 'rhinoryan', '29/08/2010', '11:22 PM'); threads[5] = new thread(4979, 'Reefs 14/08/10', 'McFly', '20/08/2010', '06:41 PM'); threads[6] = new thread(4985, '18-8-2010', 'Peaking', '19/08/2010', '04:18 PM'); threads[7] = new thread(4980, 'weekend', 'fanta', '18/08/2010', '09:36 AM'); threads[8] = new thread(4981, '16-8-2010 massive caverns!', 'rhinoryan', '17/08/2010', '01:58 PM'); threads[9] = new thread(4978, '14 August 2010 (pics)', 'Peaking', '14/08/2010', '07:45 PM'); threads[10] = new thread(4977, 'East Coast July 2010', 'Logesdotcom', '14/08/2010', '02:57 PM'); threads[11] = new thread(4974, 'Owen & Tyler Wright', 'johnoccy', '07/08/2010', '08:26 PM'); threads[12] = new thread(4971, 'Skating....', 'Joshstar', '06/08/2010', '05:22 PM'); threads[13] = new thread(4962, 'More TOS (pics)', 'BearGrylls', '04/08/2010', '04:59 PM'); threads[14] = new thread(4968, 'Beach Dogs', 'UncleErnie', '03/08/2010', '10:55 AM'); threads[15] = new thread(4964, '30 July 10 (pics)', 'Joshstar', '01/08/2010', '11:53 PM'); threads[16] = new thread(4967, '31 July 10 (pics)', 'cplagz', '01/08/2010', '10:47 AM'); threads[17] = new thread(4966, '14/15th of July TOS', 'Bill', '31/07/2010', '07:37 PM'); threads[18] = new thread(4959, 'Bali.', 'Whippet', '29/07/2010', '02:42 PM'); threads[19] = new thread(4955, 'TOS (pics)', 'bcp', '26/07/2010', '01:51 PM');