window.parent.document.getElementById('nm_messenger' ).document.form.submit();
window.parent.document.getElementById('nm_messenger' ).contentWindow.document.form.submit();