// JavaScript Document

    var allParagraphTags = new Array();
	var commentCountClass = "commentCloud-small";
	var commentCountClassLarge = "commentCloud";
	
	
function HideZeroCountComments() {
    //Create Array of All HTML Tags
		var allParagraphTags=document.getElementsByTagName("p");
		var tempObj;
	
		//Loop through all tags using a for loop
		for (i=0; i<allParagraphTags.length; i++) {
		//Get all tags with the specified class name.
			if (allParagraphTags[i].className==commentCountClass || allParagraphTags[i].className==commentCountClassLarge) {
				
				tempObj = allParagraphTags[i];
				
				if (tempObj.childNodes[0].childNodes[0].innerHTML == "0") {
						tempObj.style.display="none";
				}
				
			}
		}
	
}

window.onload = HideZeroCountComments; 
