var Win = "", winName = 'ed_image_upload_save'; function openSaveWin () { var winObj = master_js.createSimpleSubmitWindow ("150", "300"); Win = window.open ('', winName, winObj.createOutput()); Win.document.writeln ("Dialog"+ ""+ "" + master_js.gUPLOADING+ "
"+master_js.gWINDOW_WILL_CLOSE+""); Win.document.close (); } function closeSaveWin () { if (Win) if (!Win.closed) Win.close (); } <body bgcolor="#FFFFFF"> </body>