i found xml.ondata is more usefull then xml.onload,its result from server can be included xml type(undefined),and we can switch case with it.
and when u are using xml.ondata,the xml.onload is overrided,so ->
insert 2 command line codes when u finish xml.ondata
xmlobj.loaded=true;
xmlobj.onload(true);
hehe,i enjoy it.
D

S