anchor.diff:  				$("#counter-opensource").text(data.nbOSFilesFoundString);
   				continue_ = (data.progressState != 'COMPLETE');
   				counting_ = (data.progressState == 'INITIALIZING');
  -				updateElements(data.displayedFilesScanned,data.nbOSFilesFound,data.nbFilesToScan, counting_);	
  +				updateBarChart(data.displayedFilesScanned,data.nbFilesToScan);	
  +				updatePieChart(data.nbFilesScanned,data.nbOSFilesFound);
   				
   			},
   			complete : function() {
  
positive.code: 				'values' : [ 100 - progress_oss ]
  			} ]
  		};
  		var json2 = {
  			'color' : [ '#9C470E', '#e6e6e6' ],
  			'label' : [ 'Progress', 'Left' ],
  			'values' : [ {
  				'label' : 'Progress',
  				'values' : [ Math.round(progress_total),
  						Math.round(100 - progress_total) ]
  			} ]
  
  		};
  		pieChart.updateJSON(json);
  		barChart.updateJSON(json2);
  	}
  	
  	
  
negative.code: 		}
  	}
  
  	function updateBarChart(nbFilesScanned, nbFilesToScan) {
  		var progress_total=0;
  		if (!counting_) {
  			progress_total = 5 + (nbFilesScanned * 95) / nbFilesToScan;
  		}
  		var json = {
  			'color' : [ '#9C470E', '#e6e6e6' ],
  			'label' : [ 'Progress', 'Left' ],
  			'values' : [ {
  				'label' : 'Progress',
  				'values' : [ Math.round(progress_total),
  						Math.round(100 - progress_total) ]
  			} ]
  
  		};
  		barChart.updateJSON(json);
  	}
  	
  	function updatePieChart(nbFilesScanned, nbOSFilesFound) {
  		progress_oss = Math.round((nbOSFilesFound * 100) / nbFilesScanned);
  		if (isNaN(progress_oss) || progress_oss == 0) {
  			progress_oss = 0.1;
  