Try my rewrite to the onreadystatechange stuff above, see if that helps.