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(66880, 'شركة تسويق الكترونى 0590017075 ماسية', 'الفريدة', '06-13-2018', '03:30 PM'); threads[1] = new thread(66878, 'شركة تنظيف ابوظبى 0505763629 الدانة', 'الفريدة', '06-13-2018', '03:25 PM');