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(5); threads[0] = new thread(51732, 'Am I being emotionally abused?', 'Jane', '06-24-2018', '12:21 AM'); threads[1] = new thread(51730, 'im stuck with ticking rager and stress is messing me up', 'Sunfl0wer', '06-23-2018', '06:37 PM'); threads[2] = new thread(51669, 'Needed to share something I wrote, anonymously', 'Jane', '06-12-2018', '06:56 PM'); threads[3] = new thread(51663, 'Looking for advice', 'Jane', '06-11-2018', '01:47 PM'); threads[4] = new thread(51561, 'Silly but wanted opinions', 'Barelybreathing', '06-02-2018', '04:20 PM');