The second one is probably not coming through, because you donot wait for the first request to finish. (i.e. the readystate did not get to 4 in the eventhandler)
So your current solution won't work if the server takes a long time to serve the xml for the first div.