postids = ["1280", "1281", "1284", "1285", "1286", "1288", "1293", ""]; counts = ["3", "5", "5", "3", "0", "1", "7", ""]; start = 0; end = 8; function commentCounter (postid) { for (i = start; i < end; i++) { if (postids[i] == postid) { document.write (counts[i]); return } } document.write ("0"); return } tbpostids = ["1279", "1280", "1281", "1282", "1283", "1284", "1285", "1287", "1288", "1289", "1290", ""]; tbcounts = ["1", "132", "124", "1", "136", "134", "4", "140", "141", "536", "135", ""]; tbstart = 0; tbend = 12; function trackbackCounter (postid) { for (i = tbstart; i < tbend; i++) { if (tbpostids[i] == postid) { document.write (tbcounts[i]); return } } document.write ("0"); return }