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(65106, 'شيخ يفك السحر في البحرين/ 0044/7709857004', 'نجرو 1', '04-14-2018', '09:26 PM'); threads[1] = new thread(64891, 'شركة الصفرات للخدمات المنزلية', 'خاالدعلي', '04-06-2018', '07:50 AM');