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(1); threads[0] = new thread(376456, 'لغز الحصان وحذوة الفرس والجزمة', 'بدر الجنوب', '10-20-2017', '08:28 PM');