Hello,
I've recently bumped into a dojo.addOnLoad bug with IE6: It can execute the passed function even if document's readystate is currently "loading".
Here's a way to patch dojo.addOnLoad:
//dojo.addOnLoad patch if IE
if(dojo.isIE){
//Saving a copy of the original function.
var origAddOnLoad=dojo.addOnLoad;
//Wrapping it.
dojo.addOnLoad=function(){
var args=arguments;
if(document.readyState=="complete"){
