This is pretty cool.  Facebook uses a similar technique, using a cross-domain communication channel, which is also a bit of a hack:
<a href="http://wiki.developers.facebook.com/index.php/Cross_Domain_Communication_Channel" rel="nofollow">http://wiki.developers.facebook.com/index.php/Cross_Domain_C...</a>