postids = ["1308", "1309", "1312", "1313", "1314", "1315", "1317", "1318", "1319", "1322", "1324", ""]; counts = ["3", "6", "5", "1", "3", "8", "1", "3", "6", "5", "4", ""]; start = 0; end = 12; function commentCounter (postid) { for (i = start; i < end; i++) { if (postids[i] == postid) { document.write (counts[i]); return } } document.write ("0"); return } tbpostids = ["1308", "1309", "1311", "1315", "1319", "1320", "1321", "1322", "1323", "1324", ""]; tbcounts = ["65", "132", "155", "-33", "1", "109", "196", "123", "126", "139", ""]; tbstart = 0; tbend = 11; function trackbackCounter (postid) { for (i = tbstart; i < tbend; i++) { if (tbpostids[i] == postid) { document.write (tbcounts[i]); return } } document.write ("0"); return }