function flush() { opener.parent.frames['topFrame'].document.forms['flush'].submit(); window.close(); }