major rewrite by jeroen
escape from double iframe