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(60251, 'شركة كشف تسربات المياه بالرياض', 'دينا القحتانى', '10-31-2017', '07:29 PM'); threads[1] = new thread(60153, 'العزل المائي للاسطح', 'دينا القحتانى', '10-29-2017', '02:21 AM');