Sorry, it is actually in the Google Analytics by Andrew mod. You can find it in GoogleAnalytics\includes\templates\YOUR_TEMPLATE\jscript\jscript_googleanalytics _outgoing.php

PHP Code:
document.write("<script id=__ie_onload defer><\/script>"); 
I think I remember this. I actually changed the code to something like this,

PHP Code:
document.write("%3Cscript id='__ie_onload'  defer='defer'%3E%3C/script%3E"); 
Why I did this? Because it validates the html, meaning 'no error'. But I didn't notice the change causes error to IE.

So, am I did the right thing about changing the code? Or is it safe if I just remove the whole code in the jscript_googleanalytics_outgoing.php file?

This code:
PHP Code:
  /* for Internet Explorer */
  /*@cc_on @*/
  /*@if (@_win32)
    document.write("<script id='__ie_onload' defer='defer'>\/script>");
    var script = document.getElementById("__ie_onload");
    script.onreadystatechange = function() {
      if (this.readyState == "complete") {
        init(); // call the onload handler
      }
    };
    return;
  /*@end @*/ 
I appreciate your help.