Hello
...AJAX, in particular, the Javascript XMLHttpRequest method, is under the same restrictions as a Java applet. It may only make a request back to the server the page was downloaded from. So no, AJAX will not solve your problem....
You may want to check this property "document.domain = 'mydomain.com'"
We used the XMLHTTPRequest sometime ago and I remember at some point
we started getting security warnings that we solved using the property
above thru javascript when the html page was loaded. This worked for IE6
I am not sure for other browsers