postids = ["1189", "1190", "1191", "1196", "1200", "1201", "1203", ""]; counts = ["1", "1", "2", "1", "4", "1", "4", ""]; 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 = ["1189", "1190", "1196", ""]; tbcounts = ["6", "148", "3", ""]; tbstart = 0; tbend = 4; function trackbackCounter (postid) { for (i = tbstart; i < tbend; i++) { if (tbpostids[i] == postid) { document.write (tbcounts[i]); return } } document.write ("0"); return }