/** *
 * Scroll ÀÌ ¾ø´Â »õ âÀ» ¶ç¿î´Ù
 * 
* @param theURL »õ·Î ¶ç¿ï ÆÄÀÏ À̸§ÀÌ´Ù * @param winName »õâ À̸§ * @param winTitle »õâ title * @param width »õâ °¡·Î Å©±â * @param height »õâ ¼¼·Î Å©±â * @param param Ãß°¡ÀûÀÎ È­¸é argument */ function openNoScrollWin(theURL, winName, winTitle, width, height, param) { var wid = (screen.width)/2 - width/2 ; var hei = (screen.height)/2 - height/2; var win = window.open(theURL + "?popupTitle=" + winTitle + "&tableWidth=" + width + param, winName, "menubar=no, scrollbars=no, resizable=no, width=" + width + ", height=" + height+ ",top=" + hei + ",left=" + wid + ""); win.focus(); } /** *
 * Scroll ÀÌ ¾ø´Â »õ âÀ» ¶ç¿î´Ù
 * 
* @param theURL »õ·Î ¶ç¿ï ÆÄÀÏ À̸§ÀÌ´Ù * @param winName »õâ À̸§ * @param winTitle »õâ title * @param width »õâ °¡·Î Å©±â * @param height »õâ ¼¼·Î Å©±â * @param param Ãß°¡ÀûÀÎ È­¸é argument */ function openScrollWin(theURL, winName, winTitle, width, height, param) { var wid = (screen.width)/2 - width/2 ; var hei = (screen.height)/2 - height/2; var win = window.open(theURL + "?popupTitle=" + winTitle + "&tableWidth=" + width + param, winName, "menubar=no, scrollbars=yes, resizable=no, width="+width+", height="+height+ ",top=" + hei + ",left=" + wid + ""); win.focus(); } /** *
 * Á¦¾àÀÌ ¾ø´Â »õ â ¶ç¿ì±â¸¦ ÇÏÀÚ
 * 
* @param theURL »õ·Î ¶ç¿ï ÆÄÀÏ À̸§ÀÌ´Ù * @param winName »õâ À̸§ * @param winTitle »õâ title * @param width »õâ °¡·Î Å©±â * @param features ´Ù¾çÇÑ ¸ð¾çÀ» Á÷Á¢ ÁØ´Ù * @param param Ãß°¡ÀûÀÎ È­¸é argument */ function openFlexWin(theURL,winName,winTitle, width, features, param) { var win = window.open(theURL + "?popupTitle=" + winTitle + "&tableWidth=" + width + param,winName,features); win.focus(); } // È­¸é Áß¾Ó¿¡ ÆË¾÷â ¶ç¿ì±â function openMiddleWin(theURL, winName, winWidth, winHeight, features){ var winPosLeft = (screen.width - winWidth) / 2; // »õâ Y ÁÂÇ¥ var winPosTop = (screen.height - winHeight) / 2; // »õâ X ÁÂÇ¥ var winOpt = "width="+winWidth+",height="+winHeight+",top="+winPosTop+",left="+winPosLeft; if(typeof(features) != "undefined") winOpt += ","+features; var popwin = window.open(theURL,winName,winOpt); if(popwin != null){ popwin.focus(); }else{ alert('ÆË¾÷Â÷´ÜÀ» ÇØÁ¦ÇØ Áֽñ⠹ٶø´Ï´Ù.'); } return popwin; } // À̹ÌÁö ¸¸µå´Â ÆË¾÷â ¶ç¿ì±â function openMakeImgPop(imgsrc){ var popwin = window.open("about:blank","imgmakepop","left=10,top=10,width=200,height=200,scrollbars=yes"); var f = document.imgmakeform; f.img.value = imgsrc; f.action = "/common/popup/imgMakePop.jsp"; f.target = "imgmakepop"; f.submit(); }