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(1259598, 'Szukam sali/restauracji rustykalnej na 40 osób dolnośląskie', 'asiunia19021', '2018-09-18', '10:34');