cross-domain communication using window.frames.length