There is no way to do this if the content you wish to retrieve is on another site. Browsers do not allow cross site scripting for security reasons.
If the content is on the same sites, then it is possible by using an iframe or normal frames
Assuming you have an iframe
Then once a page is loaded into the iframe you should be able to get the contents with
I might have teh document.loader.innterHTML part wrong, I have a script at my home computer that I use to load variables from a text file that does this. If that is not the correct way, I will post working code if no one else has by the time I get home.