Grazie del consiglio ho provveduto a cambiare:



Codice PHP:
var  gf 0;

function 
General_Refresh(url,div){
  
document.getElementById(div).setInnerXHTML('<span id="caric"><center>[img]http://www.narutofansubber.it/public/Naruto Ge-mu/images/load.gif[/img]</center></span>');    
  var 
ajax = new Ajax();
  
ajax.responseType Ajax.FBML;
  
ajax.ondone = function(data) {
  
document.getElementById('caric').setStyle('display','none'); 
  
document.getElementById(div).setInnerFBML(data);
  }
  
ajax.onerror = function() {
   if(
gf == 5){
   }else{
   
setTimeout(function(){General_Refresh(url,div)},4); 
   
gf++;
   }
  }
ajax.post(url);