I have been thinking of doing some cross domain task using javascript. But it give error like "invalid access". How did google adsense or feedjit do it. I want to place database in my website, and access the data from my other website.