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(2); threads[0] = new thread(16532, 'News of Politics', 'VIP Forums Group', '19 Apr 14', '16:06'); threads[1] = new thread(16531, 'News of Politics', 'VIP Forums Group', '18 Apr 14', '16:09');