A basic demo of same origin policy, jsonp and the new CORS (cross origin resource sharing). Tested with Firefox 3.5+ with firebug installed or the latest chrome
http://bangalore.latest.sopdemo.appspot.com/s/index.html
http://github.com/bagheera/sopdemo