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(1195561, 'Schudniemy COKOLWIEK do Świąt :D', 'moty_watorka', '2017-12-01', '11:31'); threads[1] = new thread(1191886, 'Dieta Dr Dabrowskiej Grupa wsparcia start 2017-11-20', 'elganja', '2017-11-16', '08:54');