Greetings!! I'm new in js..I've searched that js cannot perform two onload event at the same time. I've got two sets of codes here
from and

and here is the the problem

else if(c.attachEvent){c.attachEvent("onreadystatechange",B),a.attachEvent("onload",e.ready);
else if(c.attachEvent){c.attachEvent("onreadystatechange",C),a.attachEvent("onload",e.ready);
is there any way to get rid from error? any help would be appreciated. Thanks!