<embed name="obj" />
document.embeds.obj.contentDocument; //Или document.embeds.obj.contentWindow.document;