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(377529, 'القُدس لِمَنْ', 'بكاء بلادموع', '12-07-2017', '11:59 PM'); threads[1] = new thread(377477, 'أنتِ الحياه', 'بكاء بلادموع', '12-04-2017', '01:10 AM');