anchor.diff:  <!--Removes commas and percentage signs from a string-->
   function removeCommasOrPercentage(metricString) {
       var metricValueAsNumber;
  -    	if(metricString.indexOf(',') != -1){  			
  -  			metricValueAsNumber= metricString.replace(/,/g,'');  			
  -		}else if(metricString.indexOf('%') != -1){
  -			metricValueAsNumber = (metricString.replace(/%/g,'')) * 100 ;
  -		}else{
  -			metricValueAsNumber = metricString;
  +    	if (metricString != 0 ){
  +    	  if(metricString.indexOf(',') != -1){  			
  +  			  metricValueAsNumber= metricString.replace(/,/g,'');  			
  +		  }else if(metricString.indexOf('%') != -1){
  +			  metricValueAsNumber = (metricString.replace(/%/g,'')) * 100 ;
  +		  }else{
  +			  metricValueAsNumber = metricString;
  +		  }
   		}
      
       return metricValueAsNumber;
  
positive.code:    					//if the element's id is equal to the metric category selected and the selected metric hasn't been found yet
     					if (metricFound == false && (( elementId == metricValue)) ){
     						 metric = document.getElementById('metricsTable').getElementsByTagName('td')[i].innerHTML;
     						 metricAsNumber = parseInt(removeCommasOrPercentage(metric)); 
     						 metricArray.push(metricAsNumber);
     						 idGenerator = idName + count;   			
  
negative.code:    
     projectName = nil
     projectImage = nil
     
     #set all metrics to zero
     pointsValue = 0
     
      
            
  %>
  
  <!--Loops through the properties array that contains all the groups of projects for the 
  