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(1196931, 'Sale weselne TOMASZÓW LUB. i okolice', 'zuykot', '2017-12-06', '16:01'); threads[1] = new thread(1192886, 'Miejsce w Częstochowie na przyjęcie weselne do 50 osób z tańcami', 'nova31', '2017-11-20', '20:36');