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(4); threads[0] = new thread(536388, 'Have a good laugh', 'Natureman', '22-04-2018', '06:20 PM'); threads[1] = new thread(539198, 'THIS is MANCHESTER UNITED # 135 - Towards new challenges in 2018', 'loveikan', '22-04-2018', '12:20 PM'); threads[2] = new thread(539172, 'Looking for fire extinguisher', 'richardg', '22-04-2018', '10:32 AM'); threads[3] = new thread(539192, 'Liverpool FC Thread #154 :- Mohamed Salah - The record breaker', 'NI KI', '21-04-2018', '10:37 PM');