changed xmlhttp request to assign 3 url