var aComments = new Array(); aComments['1062010530062']=1; aComments['1070890296265']=2; aComments['']=2; function GetCommentCount ( iComment ) { var iCount = aComments[iComment]; if (iCount == 0 || !aComments[iComment]) {var sCount = '0';} if (iCount == 1) {var sCount = '1';} if (iCount > 1) {var sCount = ''+iCount+'';} document.write (''+sCount+'');}