контент = (e.contentDocument) ? e.contentDocument : (e.contentWindow) ? e.contentWindow.document : e.document;