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(15); threads[0] = new thread(181039, 'China urges calm as hopes for N. Korea talks dim', 'misskit', '22-11-2017', '06:55 AM'); threads[1] = new thread(181036, '12 arrested in Thailand in soccer match-fixing investigation', 'misskit', '22-11-2017', '06:26 AM'); threads[2] = new thread(181034, 'Cabinet nods to 2nd phase of affordable home rental scheme', 'misskit', '22-11-2017', '06:07 AM'); threads[3] = new thread(181033, 'Govt steps up measures to eliminate illegal fishing', 'misskit', '22-11-2017', '06:02 AM'); threads[4] = new thread(181031, 'Petchburi warned of impending flood', 'misskit', '22-11-2017', '05:49 AM'); threads[5] = new thread(181015, 'Condoms a Popular Gift Item in North Korea, Where They Are Banned as ‘Indecent’', 'misskit', '21-11-2017', '09:44 AM'); threads[6] = new thread(181013, 'A food shop was ordered closed after three died from eating salad from the shop', 'misskit', '21-11-2017', '07:23 AM'); threads[7] = new thread(181010, 'Thai Government: Korean Masseuse Jobs a Front for Prostitution', 'misskit', '21-11-2017', '06:54 AM'); threads[8] = new thread(181009, 'Widespread graft feared after Phuket police case', 'misskit', '21-11-2017', '06:47 AM'); threads[9] = new thread(181008, 'MRT operator ditches seats as it struggles with passenger surge', 'misskit', '21-11-2017', '06:43 AM'); threads[10] = new thread(181007, 'Culture Ministry calls for return of ancient Thai artifacts', 'misskit', '21-11-2017', '06:39 AM'); threads[11] = new thread(181006, 'Tourists generate 2.1 trillion baht during first 10 months', 'misskit', '21-11-2017', '06:33 AM'); threads[12] = new thread(181000, 'Uighur inmates dig their way out of Thai jail', 'Looper', '20-11-2017', '10:18 PM'); threads[13] = new thread(180998, '‘Octopus’ Ride Accident Injures 15 at Temple Fair', 'Wilsonandson', '20-11-2017', '08:04 PM'); threads[14] = new thread(180986, 'US Pulls Cambodia’s Election Funding; Hun Sen Says Cut It All', 'misskit', '20-11-2017', '06:07 AM');