var hs = new Array();hs[""] = "1"; var hstb = new Array();function postCount(id){ var hs_search = new RegExp('\\W','gi'); var hs_id = id.replace(hs_search,"_"); id = hs_id;if (hs[id]){ if (hs[id] == 1) { document.write("Comment (1)"); } else { document.write("Comments (" + hs[id] +")"); } } else { document.write("Comment (0)"); } } function HaloScan(id) { var hs_search = new RegExp('\\W','gi'); var hs_id = id.replace(hs_search,"_"); id = hs_id;window.open('http://www.haloscan.com/comments/seacritter/'+ id + '/','comments'+ id +'', 'directories=0,height=450,width=420,location=0,resizable=1,scrollbars=1,toolbar=0'); }function postCountTB(id){ var hs_search = new RegExp('\\W','gi'); var hs_id = id.replace(hs_search,"_"); id = hs_id;if (hstb[id]){ if (hstb[id] == 1) { document.write("Trackback (1)"); } else { document.write("Trackbacks (" + hstb[id] +")"); } } else { document.write("Trackback (0)"); } }function HaloScanTB(id) { var hs_search = new RegExp('\\W','gi'); var hs_id = id.replace(hs_search,"_"); id = hs_id;window.open('http://www.haloscan.com/tb/seacritter/'+ id + '', 'comments'+ id +'', 'directories=0,height=450,width=420,location=0,resizable=1,scrollbars=1,toolbar=0'); }