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(5); threads[0] = new thread(1219716, 'Zespół weselny - MAZURY / PODLASIE', 'mentoljok', '2018-02-22', '20:21'); threads[1] = new thread(1218616, 'Wrocław: DJ-wodzirej z językiem hiszpańskim i angielskim', 'PaniP', '2018-02-18', '18:35'); threads[2] = new thread(1217376, 'Nietypowe wesele (chyba??) - Warszawa -HELP', 'Monique1991', '2018-02-14', '12:22'); threads[3] = new thread(1216411, 'Ślub w USC bez muzyki', 'ythas', '2018-02-12', '11:21'); threads[4] = new thread(1216246, 'Wesele - Łaziska Górne', 'natka_18', '2018-02-11', '23:50');