postids = ["771", "772", "773", "774", "775", "777", "778", "781", "783", "784", "785", "786", "789", "796", "805", "810", "814", "816", "818", "823", "824", "825", "827", "828", "831", ""]; counts = ["1", "5", "2", "9", "2", "2", "3", "2", "4", "9", "3", "1", "5", "1", "1", "5", "4", "1", "1", "9", "6", "2", "1", "2", "2", ""]; start = 0; end = 26; function commentCounter (postid) { for (i = start; i < end; i++) { if (postids[i] == postid) { document.write (counts[i]); return } } document.write ("0"); return } tbpostids = [""]; tbcounts = [""]; tbstart = 0; tbend = 1; function trackbackCounter (postid) { for (i = tbstart; i < tbend; i++) { if (tbpostids[i] == postid) { document.write (tbcounts[i]); return } } document.write ("0"); return }