postids = ["1073", "1075", "1078", "1079", "1082", "1083", "1086", "1087", "1088", "1089", ""]; counts = ["3", "2", "1", "3", "7", "3", "2", "4", "4", "2", ""]; start = 0; end = 11; function commentCounter (postid) { for (i = start; i < end; i++) { if (postids[i] == postid) { document.write (counts[i]); return } } document.write ("0"); return } tbpostids = ["1076", "1077", "1082", "1083", "1087", ""]; tbcounts = ["1", "1", "1", "173", "139", ""]; tbstart = 0; tbend = 6; function trackbackCounter (postid) { for (i = tbstart; i < tbend; i++) { if (tbpostids[i] == postid) { document.write (tbcounts[i]); return } } document.write ("0"); return }