if (document.all){

  function stopError() {
    return true;  
  }
  window.onerror = stopError;
}

