/**
 * ¹µÁö¸¶ ÆË¾÷ init
 *
 * @author by will
 */
var openPop = Array();
function popUpInit(){
    if(openPop.length>0){
        for(var i=0; i<openPop.length; i++) {
            if( openPop[i] && !openPop[i].closed ){
                openPop[i].focus();
            }
        }
    }else{
        document.detachEvent("onmousedown", popUpInit);
    }
}

/**
 * ¹µÁö¸¶ ÆË¾÷ close    
 */
function popUpClose(){
    if(openPop.length>0){
        for(var i=0;i<openPop.length; i++) {
			if( openPop[i] && !openPop[i].closed ){
                openPop[i].self.close();
            }

        }
    }
}
window.onunload=popUpClose;//ÀÌº¥Æ®µî·Ï
/**
 * ¹µÁö¸¶ ÆË¾÷ open
 */
function popupHtmlDialog(_url, _name, _width, _height) {
    var loc_width = (screen.width - _width) / 2;
    var loc_height = (screen.height - _height) / 2;
    _feature = 'height='+_height+',width='+_height+',top='+loc_height+',left='+loc_width+',scrollbars=no,resizable'
    openPop[openPop.length] = window.open(_url, _name, _feature);
    document.attachEvent("onmousedown", popUpInit);//ÀÌº¥Æ®µî·Ï
}

/**
 * ¹µÁö¸¶ ÆË¾÷2 open
 * (±âÁ¸ ¹µÁö¸¶ ÆË¾÷ÀÇ _width ºÎºÐÀÌ Àß¸øµÇ¾î ÀÖ¾î¼­ ¼öÁ¤ÇÑ ¹öÁ¯)
 * 
 */
function popupHtmlDialog2(_url, _name, _width, _height) {
    var loc_width = (screen.width - _width) / 2;
    var loc_height = (screen.height - _height) / 2;
    _feature = 'height='+_height+',width='+_width+',top='+loc_height+',left='+loc_width+',scrollbars=no,resizable'
    openPop[openPop.length] = window.open(_url, _name, _feature);
    document.attachEvent("onmousedown", popUpInit);//ÀÌº¥Æ®µî·Ï
}

/**
 * ¾ÆÀÌÇÁ·¹ÀÓÀ» ³»Æ÷ÇÏ¿© ÆäÀÌÁö ÀÌµ¿ÀÌ ÀÌ·ç¾î Áö´Â ¸ð´Þ Ã¢À» ¿ÀÇÂÇÕ´Ï´Ù.
 * @param sURL Ç¥½ÃÇÒ ÆäÀÌÁöÀÇ URL
 * @param title ¸ð´ÞÃ¢ÀÇ Á¦¸ñ Ç¥½ÃÁÙ¿¡ ³ªÅ¸³ª¾ßÇÒ ÀÌ¸§
 * @param vArguments ¸ð´ÞÃ¢¿¡ Àü´ÞÇÒ ÀÎ¼ö, ¸ð´ÞÃ¢¿¡¼­´Â window.dialogArguments["_args"]·Î ¾ò¾î¾ß ÇÕ´Ï´Ù.
 * @param sFeatures ¸ð´ÞÃ¢ÀÇ ¼Ó¼º
 * @return ¸ð´ÞÃ¢ÀÌ ´ÝÈ÷´Â ½ÃÁ¡¿¡ ¸ð´çÃ¢ ³»¿¡¼­ window.returnValue·Î ¼³Á¤ÇÑ °ªÀÌ Àü´Þ µË´Ï´Ù.
 */
function showIframeModalDialog(sURL, title, vArguments, sFeatures) {
	var	arg;
	var	rv;

	if (sURL == null) {
		alert("showIframeModalDialog() : ´ë»ó URLÀÌ ÁöÁ¤µÇÁö ¾Ê¾Ò½À´Ï´Ù.");
	}

	arg				= new Array();
	arg["_url"]		= sURL;
	if (title != null) {
		arg["_title"]	= title;
	}
	if (vArguments != null) {
		arg["_args"]	= vArguments;
	}
	arg["_scroll"]	= "auto";
	if (sFeatures != null) {
		var	sp;

		sp	= sFeatures.toLowerCase().indexOf("scroll");
		if (sp != -1) {
			var	st;
			var ed;
			var	scrollArg;

			st	= sFeatures.indexOf(":", sp);
			ed	= sFeatures.indexOf(";", sp);

			scrollArg	= sFeatures.substring(st + 1, ed).toLowerCase().replace(/(^\s*)|(\s*$)/g, "");
			if (scrollArg == "1" || scrollArg == "yes" || scrollArg == "on") {
				arg["_scroll"]	= "yes";
			} else if (scrollArg == "0" || scrollArg == "no" || scrollArg == "off") {
				arg["_scroll"]	= "no";
			}
		}
	}

	rv	= window.showModalDialog("/static/common/CommonModal.html", arg, sFeatures);
	try {
		procUserGroupAllowAppInfo();
	} catch (ignore) {}
	return rv;
}


function popupModalDialog(_url, _feature, _width, _height){
	var _var;

	if( _feature == null || _feature == ''){
		_feature = 'dialogWidth:' + _width + 'px;dialogHeight:'+ _height+'px;center:yes;status:no;help:no;scroll:no;'
	}

	_var = window.showModalDialog(_url , window, _feature);

	try {
		opener.procUserGroupAllowAppInfo();
	} catch (ignore) {}
	return _var;
}

/**
 * alert(msg) ÀÚ¹Ù½ºÅ©¸³Æ® ¸Þ¼Òµå ´ë¿ëÀ¸·Î »ç¿ëÇÔ
 *
 * @param msg Ãâ·ÂÇÒ ¸Þ½ÃÁö ¹®ÀÚ¿­
 * @return 'È®ÀÎ'¸¦ ¼±ÅÃÇÏ¸é true, Ã¢À» ±×³É ´ÝÀ¸¸é false.
 */
function msgAlert(msg) {
	return msgDialog(msg, "alert");
}

/**
 * confirm(msg) ÀÚ¹Ù½ºÅ©¸³Æ® ¸Þ¼Òµå ´ë¿ëÀ¸·Î »ç¿ëÇÔ
 *
 * @param msg Ãâ·ÂÇÒ ¸Þ½ÃÁö ¹®ÀÚ¿­
 * @return '¿¹'¸¦ ¼±ÅÃÇÏ¸é true, '¾Æ´Ï¿À'¸¦ ¼±ÅÃÇÏ¸é false.
 */
function msgConfirm(msg) {
	return msgDialog(msg, "confirm");
}

/**
 * alert°ú confirmÀ» À§ÇÑ modal dialog¸¦ È°¼ºÈ­ÇÑ´Ù.
 *
 * @param msg Ãâ·ÂÇÒ ¸Þ½ÃÁö ¹®ÀÚ¿­
 * @mode alert¸Þ½ÃÁöÃ¢(alert)°ú confirm ¸Þ½ÃÁöÃ¢(confirm)À» ±¸ºÐÇÑ´Ù.
 * @return '¿¹'¸¦ ¼±ÅÃÇÏ¸é true, '¾Æ´Ï¿À'¸¦ ¼±ÅÃÇÏ¸é false.
 */
function msgDialog(msg, mode) {
	var msgParam = msg == null ? "" : msg;
	var modeParam = mode == null ? "" : mode;

	var	arg = new Array();
	arg["msg"] = msgParam;
	arg["mode"] = modeParam;

	try {
		opener.procUserGroupAllowAppInfo();
	} catch (ignore) {}

	return window.showModalDialog(
			"/common/alert.do",
			arg,
			"dialogWidth:10px;dialogHeight:10px;center:yes;edge:rised;status:no;help:no;scroll:no");
}

// °ø±Þ°è¾à¾÷Ã¼ Popup : Grid
function popupGridSupplyContractHis(param)
{
	var width = 693;
	var height = 530;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/enterprise/enterprisehislist.do?_method=initialPopup&" + param, "¾÷Ã¼Á¤º¸ ÀÌ·ÂÁ¤º¸", "", sFeatures);
}

// °ø±Þ°è¾à¾÷Ã¼ Popup : Grid
function popupGridEntrFeeHis(param)
{
	var width = 693;
	var height = 530;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/enterprise/enterprisefeehislist.do?_method=initialPopup&" + param, "¾÷Ã¼¼ö¼ö·áÁ¤º¸ ÀÌ·ÂÁ¤º¸", "", sFeatures);
}

// °ø±Þ°è¾à¾÷Ã¼ Popup : Grid
function popupGridSupplyContract(param)
{
	var width = 693;
	var height = 530;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/enterprise/entrsearchlist.do?_method=initial&" + param, "¾÷Ã¼Á¶È¸", "", sFeatures);
}

// °ø±Þ°è¾à¾÷Ã¼ Popup : Grid
// ¾÷Ã¼»óÅÂ »ó°ü¾øÀÌ ¸ðµç ¾÷Ã¼ °Ë»ö
function popupGridSupplyContractForAll(param)
{
	var width = 693;
	var height = 530;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/enterprise/entrsearchlist.do?_method=initialForAll&" + param, "¾÷Ã¼Á¶È¸", "", sFeatures);
}


// °ø±Þ°è¾à¾÷Ã¼ Popup : Grid(IpssPro) : °ü¸®ÀÚÀü¿ë
function popupGridSupplyContractManagerIpssPro(param)
{
	var width = 705;
	var height = 355;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/enterprise/ProEntrSearchList.do?_method=initialManager&" + param, "¾÷Ã¼Á¶È¸", "", sFeatures);
}

// °ø±Þ°è¾à¾÷Ã¼ Popup : Grid(IpssPro) : °ü¸®ÀÚÀü¿ë
function popupGridSupplyContractManagerAdmin(param)
{
	var width = 705;
	var height = 430;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/enterprise/ProEntrSearchListForAdmin.do?_method=initialManager&" + param, "¾÷Ã¼Á¶È¸", "", sFeatures);
}

// °ø±Þ°è¾à¾÷Ã¼ Popup : Grid(IpssPro)
function popupGridSupplyContractIpssPro(param)
{
	var width = 705;
	var height = 390;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/enterprise/ProEntrSearchList.do?_method=initialPro&" + param, "¾÷Ã¼Á¶È¸", "", sFeatures);
}

// °ø±Þ°è¾à¾÷Ã¼ Popup : Grid(IpssPro)
function popupGridSupplyContractMallandmallIpssPro(param)
{
	var width = 705;
	var height = 410;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/enterprise/ProEntrSearchList.do?_method=initialMallandmallPro&" + param, "¾÷Ã¼Á¶È¸", "", sFeatures);
}

// °ø±Þ°è¾à¾÷Ã¼ Popup : Html(Ipss)
function popupGridSupplyContractIpss(param)
{
	var width = 705;
	var height = 390;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/enterprise/IpssEntrSearchList.do?_method=initialIpss&" + param, "¾÷Ã¼Á¶È¸", "", sFeatures);
}

// ¾÷Ã¼ Popup : Grid
function popupGridEnterprise(param)
{
	var width = 650;
	var height = 500;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/enterprise/EnterpriseOnlyListPopup.do?_method=initialEnterpriseOnly&" + param, "¾÷Ã¼Á¶È¸", "", sFeatures);
}

// ¾÷Ã¼[ÇÏÀ§¾÷Ã¼¸¦ °¡Áö°í ÀÖÁö ¾Ê´Â] Popup : Grid
function popupGridEnterpriseNoSubbiz(param)
{
	var width = 470;
	var height = 500;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/enterprise/EntrNoSubbizListPopup.do?_method=initialNoSubbiz&" + param, "¾÷Ã¼Á¶È¸", "", sFeatures);
}

// ÅÃ¹è/Á¦Á¶/¹èº» ¾÷Ã¼ Popup : Grid
function popupGridHdelv(param)
{
	var width = 650;
	var height = 425;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/enterprise/EntrHdelvListPopup.do?_method=initialHdelv&" + param, "¾÷Ã¼Á¶È¸", "", sFeatures);
}

// ÅÃ¹è/Á¦Á¶/¹èº» ¾÷Ã¼ Popup : HTML
function popupHdelv(param)
{
	var width = 705;
	var height = 390;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/enterprise/IpssEntrHdelvListPopup.do?_method=initialHdelvIpss&" + param, "¾÷Ã¼Á¶È¸", "", sFeatures);
}

// ÀÎ¸íÁ¤º¸ Á¶È¸ Popup : HTML
function popupAuthor(param)
{
	var width = 705;
	var height = 390;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/product/wscmAuthorSearchListPopup.do?_method=init&" + param, "ÀÎ¸íÁ¤º¸Á¶È¸", "", sFeatures);
}


// Á¦Á¶ ¾÷Ã¼ Popup : HTML
function popupDelvOnly(param)
{
	var width = 705;
	var height = 570;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/enterprise/IpssEntrHdelvListPopup.do?_method=initialDelvOnlyIpss&" + param, "¾÷Ã¼Á¶È¸", "", sFeatures);
}

// Á¦Á¶ ¾÷Ã¼ µî·Ï Popup : HTML
function popupDelvRegist(param)
{
	var width = 500;
	var height = 350;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:yes;help:no;scroll:no;'
	return showIframeModalDialog("/enterprise/IpssEntrDelvOnlyPopup.do?_method=initialDelvRegist&" + param, "Á¦Á¶¾÷Ã¼µî·Ï", "", sFeatures);
}

// È¸¿ø Popup : Grid
function popupGridMember(param)
{
	var width = 700;
	var height = 525;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/member/memberlistpopup.do?_method=initial&" + param, "È¸¿øÁ¶È¸", "", sFeatures);
}
// ÄÁÅÙÃ÷ Popup : Grid
function popupGridContents(param)
{
	var width = 800;
	var height = 580;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/contents/contentsalllistpopup.do?_method=initial&" + param, "ÄÁÅÙÃ÷ ÅëÇÕ°ü¸®", "", sFeatures);
}
// »óÇ°QnA³»¿ë³Ö±â Popup : Grid
function popupGridQnaD(param)
{
	var width = 800;
	var height = 700;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/contents/productqnapopup.do?_method=getdtl&" + param, "", "", sFeatures);
}


function popupGridEventList( obj) {
	var width = 770;
	var height = 530;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/event/event.do?_method=popupInitial", "", obj, sFeatures);
}


// °ø±Þ°è¾à¾÷Ã¼
// _entrNo : ¾÷Ã¼¹øÈ£
// _entrNm : ¾÷Ã¼¸í
// _supplyCtrtSeq : °ø±Þ°è¾àÀÏ·Ã¹øÈ£
// _supplyCtrtNm : °ø±Þ°è¾à¾÷Ã¼¸í
function _PopupResult_SupplyContract(_entrNo, _entrNm, _supplyCtrtSeq, _supplyCtrtNm){
	this.entrNo			= _entrNo;
	this.entrNm			= _entrNm;
	this.supplyCtrtSeq	= _supplyCtrtSeq;
	this.supplyCtrtNm	= _supplyCtrtNm;
}

// °ø±Þ°è¾à¾÷Ã¼
// _entrNo : ¾÷Ã¼¹øÈ£
// _entrNm : ¾÷Ã¼¸í
// _supplyCtrtSeq : °ø±Þ°è¾àÀÏ·Ã¹øÈ£
// _supplyCtrtNm : °ø±Þ°è¾à¾÷Ã¼¸í
function _PopupResult_SupplyContractExt01(_entrNo, _entrNm, _supplyCtrtSeq, _supplyCtrtNm, _entrTp, 
														_bizRegNo, _addr1, _addr2, _entrBuyTp, _mainNm ){
	this.entrNo			= _entrNo;
	this.entrNm			= _entrNm;
	this.supplyCtrtSeq	= _supplyCtrtSeq;
	this.supplyCtrtNm	= _supplyCtrtNm;
	this.entrTp         = _entrTp;
	this.bizRegNo		= _bizRegNo;
	this.addr1			= _addr1;
	this.addr2			= _addr2;
	this.entrBuyTp		= _entrBuyTp;
	this.mainNm			= _mainNm;
}

// ¾÷Ã¼
// _entrNo : ¾÷Ã¼¹øÈ£
// _entrNm : ¾÷Ã¼¸í
function _PopupResult_Enterprise(_entrNo, _entrNm, _disgcloserYn){
	this.entrNo			= _entrNo;
	this.entrNm			= _entrNm;
	this.disgcloserYn	= _disgcloserYn;
}

// ÅÃ¹è/Á¦Á¶¾÷Ã¼
// _entrNo : ¾÷Ã¼¹øÈ£
// _entrNm : ¾÷Ã¼¸í
function _PopupResult_Hdelv(_hdelvMafcEntrNo, _hdelvMafcEntrNm, _hdelvMafcEntrTp){
	this.hdelvMafcEntrNo			 = _hdelvMafcEntrNo;
	this.hdelvMafcEntrNm			 = _hdelvMafcEntrNm;
	this.hdelvMafcEntrTp = _hdelvMafcEntrTp;
}

// ÀÎ¸íÁ¤º¸
// _prsnNo : ÀÎ¸í¹øÈ£
// _prsnTp : ÀÎ¸íÀ¯Çü
// _prsnTpNm : ÀÎ¸íÀ¯Çü¸í
// _authorNm : ÀÛ°¡¸é
// _contKey : Å°¿öµå
function _PopupResult_Author(_prsnNo, _prsnTp, _prsnTpNm, _authorNm, _contKey){
	this.prsnNo		= _prsnNo;
	this.prsnTp		= _prsnTp;
	this.prsnTpNm	= _prsnTpNm;
	this.authorNm	= _authorNm;
	this.contKey	= _contKey;
}

// È¸¿øÆË¾÷
// _memNo : È¸¿ø¹øÈ£
// _memNm : È¸¿ø¸í
// _memId : È¸¿øID
// _memEmail : ÀÌ¸ÞÀÏ
// _hp : Æù¹øÈ£
// _houseTel : ÁýÀüÈ­¹øÈ£
function _PopupResult_Member(_memNo, _memNm,_memId,_memEmail,_hp,_houseTel){
	this.memNo			= _memNo;
	this.memNm			= _memNm;
	this.memId			= _memId;
	this.memEmail		= _memEmail;
	this.hp				= _hp;
	this.houseTel		= _houseTel;
}
// ÄÁÅÙÃ÷ ¸®½ºÆ® ÆË¾÷
// _contNo : ÄÁÅÙÃ÷ ¹øÈ£
// _inContentTp	: °¢ ÄÁÅÙÃ÷ À¯Çü
// _contTp : ÄÁÅÙÃ÷ À¯Çü
// _contTitle : ÄÁÅÙÃ÷Å¸ÀÌÆ²
// _contNm : ÀÌ¸§
// _writerStat : ÀúÀÚÇöÈ²
// _dtlHtmlYn : ÀúÀÚÇöÈ²
function _PopupResult_Contents( _contNo,_inContentTp,_contTp,_contTitle,_contNm,_writerStat,_dtlHtmlYn){
	this.contNo			= _contNo;
	this.inContentTp	= _inContentTp;
	this.contTp			= _contTp;
	this.contTitle		= _contTitle;
	this.contNm			= _contNm;
	this.writerStat		= _writerStat;
	this.dtlHtmlYn		= _dtlHtmlYn;
}
// »óÇ°Qna ³»¿ë¹Þ¾Æ¿À±â ÆË¾÷
// _contTp : ÄÁÅÙÃ÷ À¯Çü
function _PopupResult_QnaD(_qnaD){
	this.qnaD			= _qnaD;
}
// »óÇ°º¹»ç°á°ú ¹Þ¾Æ¿À±â ÆË¾÷
// _contTp : ÄÁÅÙÃ÷ À¯Çü
function _PopupResult_ProductCopy(_result,_prdNo){
	this.result			= _result;
	this.prdNo			= _prdNo;
}
//»óÇ°º¹»çÆË¾÷
function popupProductSelectCopy(param)
{
	var width = 500;
	var height = 500;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/product/ProductCopySelectPopup.do?_method=initial" + param, "»óÇ°º¹»ç¼±ÅÃ", "",  sFeatures);

}

// ¿ìÆí¹øÈ£ Á¶È¸ÆË¾÷(ÀÏ¹ÝÆË¾÷)
function popupHtmlZipcode(param){
//	return popupModalDialog("/basicdata/ZipcodePopup.do?_method=initial&" + param, "", 500, 430);
	popupHtmlDialog("/basicdata/ZipcodePopup.do?_method=initial&" + param, "myPopUp", 550, 450);
}
// ¿ìÆí¹øÈ£ Á¶È¸ÆË¾÷(¸ð´ÞÆË¾÷)
function popupHtmlZipcode2(param){
	var width = 477;
	var height = 425;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/basicdata/ZipcodePopup2.do?_method=initial&" + param, "¿ìÆí¹øÈ£Á¶È¸ÆË¾÷", "", sFeatures);
}
// ¿ìÆí¹øÈ£ Á¶È¸ÆË¾÷(ÀÏ¹ÝÆË¾÷)
function popupHtmlZipcode3(param,_name){
	var width = 470;
	var height = 400;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scrollbars:no;'
	showIframeModalDialog("/basicdata/ZipcodePopup2.do?_method=initial&" + param, _name, sFeatures);
}
// _zipcd : ¿ìÆí¹øÈ£(000000)
// _sido : ½Ãµµ
// _gugun : ±¸±º
// _dong : µ¿
// _addr : »ó¼¼ÁÖ¼Ò(¹øÁö)
//_areaCd : Áö¿ª±¸ºÐÄÚµå
function _PopupResult_ZipCode(_zipcd, _sido, _gugun, _dong, _addr, _areaCd){
	this.zipcd			= _zipcd;
	this.sido			= _sido;
	this.gugun			= _gugun;
	this.dong			= _dong;
	this.addr			= _addr;
	this.areaCd			= _areaCd;
}

// IBS »ç¿ëÀÚ Á¶È¸ÆË¾÷
function popupHtmlIbsUser(param){
	var width = 480;
	var height = 430;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/authority/IbsUserPopup.do?_method=initial&" + param, "IBS»ç¿ëÀÚÁ¶È¸ÆË¾÷", "", sFeatures);
}
// _memNo : È¸¿ø¹øÈ£
// _ibsUserId : »ç¿ëÀÚ¾ÆÀÌµð
// _ibsUserNm : »ç¿ëÀÚ¸í
// _empNo : »ç¹ø
// _orgNo : Á¶Á÷¹øÈ£
//_deptCd : ºÎ¼­ÄÚµå
//_teamCd : ÆÀÄÚµå
function _PopupResult_IbsUser(_memNo, _ibsUserId, _ibsUserNm, _empNo, _orgNo, _deptCd, _teamCd){
	this.memNo		= _memNo;
	this.ibsUserId	= _ibsUserId;
	this.ibsUserNm	= _ibsUserNm;
	this.empNo		= _empNo;
	this.orgNo		= _orgNo;
	this.deptCd		= _deptCd;
	this.teamCd		= _teamCd;
}


// ´ã´çÀÚ Á¶È¸ÆË¾÷
function popupIbsUserEmp(param){
	var width = 700;
	var height = 500;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/authority/IbsUserPopup.do?_method=empInitial&" + param, "´ã´çÀÚÁ¶È¸ÆË¾÷", "", sFeatures);
}
// _memNo : È¸¿ø¹øÈ£
// _ibsUserId : »ç¿ëÀÚ¾ÆÀÌµð
// _ibsUserNm : »ç¿ëÀÚ¸í
// _empNo : »ç¹ø
// _orgNo : Á¶Á÷¹øÈ£
//_deptCd : ºÎ¼­ÄÚµå
//_teamCd : ÆÀÄÚµå
function _PopupResult_IbsUserEmp(_memNo, _ibsUserId, _ibsUserNm, _empNo, _orgNo, _orgNm, _deptCd, _teamCd){
	this.memNo		= _memNo;
	this.ibsUserId	= _ibsUserId;
	this.ibsUserNm	= _ibsUserNm;
	this.empNo		= _empNo;
	this.orgNo		= _orgNo;
	this.orgNm      = _orgNm;
	this.deptCd		= _deptCd;
	this.teamCd		= _teamCd;
}

// IBS ¾÷¹«¿ªÇÒ Á¶È¸ÆË¾÷
function popupHtmlJobRole(param){
	var width = 475;
	var height = 435;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/authority/JobRolePopup.do?_method=list&" + param, "¾÷¹«¿ªÇÒÁ¶È¸ÆË¾÷", "", sFeatures);
}
// _jobRoleNo : ¾÷¹«¿ªÇÒ¹øÈ£
// _jobRoleExplan : ¾÷¹«¿ªÇÒ ¼³¸í
// _memNo : È¸¿ø¹øÈ£
// _ibsUserId : »ç¿ëÀÚ¾ÆÀÌµð
// _ibsUserNm : »ç¿ëÀÚ¸í
function _PopupResult_JobRole(_jobRoleNo,_jobRoleExplan, _memNo, _ibsUserId, _ibsUserNm){
	this.jobRoleNo		= _jobRoleNo;
	this.jobRoleExplan  = _jobRoleExplan;
	this.memNo			= _memNo;
	this.ibsUserId		= _ibsUserId;
	this.ibsUserNm		= _ibsUserNm;
}

// ¸Þ´º Á¶È¸ÆË¾÷
function popupHtmlMenu(param){
	var width = 780;
	var height = 450;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/authority/MenuPopup.do?_method=initial&" + param, "¸Þ´ºÁ¶È¸ÆË¾÷", "", sFeatures);
}
// _menuId : ¸Þ´ºID
// _menuNm : ¸Þ´º¸í
// _menuLinkUrl : ¸Þ´º¸µÅ©URL
// _memNo : ¼ÒÀ¯ÀÚ¹øÈ£
function _PopupResult_Menu(_menuId, _menuNm, _menuLinkUrl, _memNo){
	this.menuId		= _menuId;
	this.menuNm		= _menuNm;
	this.menuLinkUrl	= _menuLinkUrl;
	this.memNo			= _memNo;
}

// IBS Á¶Á÷ Á¶È¸ÆË¾÷
function popupHtmlOrganization(param){
	var width = 650;
	var height = 450;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/authority/OrganizationPopup.do?_method=initial&" + param, "IBSÁ¶Á÷Á¶È¸ÆË¾÷", "", sFeatures);
}
// ICSS Á¶Á÷ Á¶È¸ÆË¾÷
function popupHtmlOrganizationICSS(param){
	var width = 650;
	var height = 600;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/authority/OrganizationPopup.do?_method=initialICSS&" + param, "ICSSÁ¶Á÷Á¶È¸ÆË¾÷", "", sFeatures);
}
// _orgNo : Á¶Á÷¹øÈ£
// _orgNm : Á¶Á÷¾ÆÀÌµð
// _orgTp : Á¶Á÷
// _respNo : Ã¥ÀÓÀÚ¹øÈ£
function _PopupResult_Organization(_orgNo, _orgNm, _orgTp, _respNo){
	this.orgNo		= _orgNo;
	this.orgNm		= _orgNm;
	this.orgTp		= _orgTp;
	this.respNo		= _respNo;
}

// IPP Á¶È¸ÆË¾÷
function popupHtmlIpp(param){
	var width = 650;
	var height = 450;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/ipp/IppEntrPartnerPopup.do?_method=initial&" + param, "IPPÁ¶È¸ÆË¾÷", "", sFeatures);
}
// _ippId : Á¶Á÷¹øÈ£
// _ippEntrNm : Á¶Á÷¾ÆÀÌµð
// _entrRegNo : Á¶Á÷
// _mgrMemNo : Ã¥ÀÓÀÚ¹øÈ£
//function _PopupResult_Ipp(_ippId, _ippEntrNm, _entrRegNo, _mgrMemNo){
//	this.ippId		= _ippId;
//	this.ippEntrNm	= _ippEntrNm;
//	this.entrRegNo	= _entrRegNo;
//	this.mgrMemNo	= _mgrMemNo;
function _PopupResult_Ipp(){
	var args = _PopupResult_Ipp.arguments ;

	this.ippId		= args[0];
	this.ippEntrNm	= args[1];
	this.entrRegNo	= args[2];
	this.mgrMemNo	= args[3];

	this.highIppId     = "";
	this.highIppEntrNm = "";
	if(args.length>5) {
		this.highIppId		= args[4];
		this.highIppEntrNm  = args[5];
	}
}



// ¹è¼Ûºñ Á¶È¸ÆË¾÷
function popupHtmlDeliveryCostPolicy(param){
	var width = 1000;
	var height = 300;
	//var sFeatures = "width=1020, height=280, resizable=no, scrollbars=no";
	//return window.open("/policy/DeliveryCostEntrPopup.do?_method=initial&" + param, "", sFeatures);
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/policy/DeliveryCostEntrPopup.do?_method=initial&" + param, "¹è¼ÛºñÁ¶È¸ÆË¾÷", "", sFeatures);
}
// _delvPlcNo : ¹è¼ÛºñÁ¤Ã¥¹øÈ£
// _delvPlcNm : ¹è¼ÛºñÁ¤Ã¥¸í
// _distCostCd : ¹è¼Ûºñ±¸ºÐ
// _maxbuyAmt : ÃÖ´ë±¸¸Å¾×
// _distCost : ¹è¼Ûºñ
function _PopupResult_DeliveryCostPolicy(_delvPlcNo, _delvPlcNm, _distCostCd, _maxbuyAmt, _distCost){
	this.delvPlcNo	= _delvPlcNo;
	this.delvPlcNm	= _delvPlcNm;
	this.distCostCd	= _distCostCd;
	this.maxbuyAmt	= _maxbuyAmt;
	this.distCost	= _distCost;
}

// »óÁ¡ Á¶È¸ÆË¾÷
function popupHtmlShop(param){
	var width = 476;
	var height = 445;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/policy/ShopPopup.do?_method=initial&" + param, "»óÁ¡Á¶È¸ÆË¾÷", "", sFeatures);
}
// _shopNo : »óÁ¡¹øÈ£
// _shopNm : »óÁ¡¸í
function _PopupResult_Shop(_shopNo, _shopNm){
	this.shopNo		= _shopNo;
	this.shopNm		= _shopNm;
}

// »óÇ°¹øÈ£°Ë»ö
function popupGridProduct(param)
{
	var width = 657;
	var height = 570;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/product/productSearchPopup.do?_method=initial" + param, "»óÇ°Á¶È¸", "", sFeatures);

}

function simpleHtmlEditor(param, args)
{
	var width = 485;
	//var height = 395;
	var height = 420;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/common/SimpleHtmlEditor.do?_method=initial" + param, "HTML ¿¡µðÅÍ", args, sFeatures);

}


function _PopupResult_ProductNo(_prdNo, _prdNm, _hdelvMafcEntrNo, _hdelvMafcEntrNm){
	this.prdNo					= _prdNo;
	this.prdNm					= _prdNm;
	this.hdelvMafcEntrNo		= _hdelvMafcEntrNo;
	this.hdelvMafcEntrNm		= _hdelvMafcEntrNm;
}


//Àü½Ã±¸¼º ÂüÁ¶ ÆË¾÷_Ç¥ÁØÀü½ÃºÐ·ù
function popupHtmlDipslay(param)
{
	var width = 650;
	var height = 550;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:yes;'
	return showIframeModalDialog("/display/displaypop.do?_method=initial&type=common" + param, "Àü½Ã±¸¼ºÂüÁ¶", "",  sFeatures);

}

//Àü½Ã±¸¼º ÂüÁ¶_¸ðµçÀü½ÃºÐ·ù
function popupDipslay(param)
{
	var width = 650;
	var height = 550;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:yes;'
	return showIframeModalDialog("/display/displaypop.do?_method=initial" + param, "Àü½Ã±¸¼ºÂüÁ¶", "",  sFeatures);

}

// _dispNo : Àü½Ã¹øÈ£
// _dispNm : Àü½Ã¸í
// _shopNo : »óÁ¡¹øÈ£
// _shopNm : »óÁ¡¸í
function _PopupResult_Display(_dispNo, _dispNm, _shopNo, _shopNm, _lastDepth, _paramDispKind, _paramTemaDispAtt, _paramChildDispNum){
	this.dispNo		= _dispNo;
	this.dispNm		= _dispNm;
	this.shopNo		= _shopNo;
	this.shopNm		= _shopNm;
	this.lastDepth	= _lastDepth;
	this.paramDispKind = _paramDispKind;
	this.paramTemaDispAtt = _paramTemaDispAtt;
	this.paramChildDispNum = _paramChildDispNum
}


// µ¿ÀÏ»óÇ°¹øÈ£°Ë»ö
function popupGridSamenessProduct(param)
{
	var width = 657;
	var height = 505;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/product/samenessProductSearchPopup.do?_method=initial" + param, "µ¿ÀÏ»óÇ°Á¶È¸", "", sFeatures);
}

function _PopupResult_SamenessProductNo(_prdNo, _prdNm, _hdelvMafcEntrNo, _hdelvMafcEntrNm){
	this.prdNo					= _prdNo;
	this.prdNm					= _prdNm;
	this.hdelvMafcEntrNo		= _hdelvMafcEntrNo;
	this.hdelvMafcEntrNm		= _hdelvMafcEntrNm;
}




// _dispNo : Àü½Ã¹øÈ£(Ç¥ÁØºÐ·ù¹øÈ£)
// _dispNm : Àü½Ã¸í
// _shopNo: »óÁ¡¹øÈ£
//µµ¼­Àü½Ã±¸¼º ÂüÁ¶
function popupBookDipslay(param)
{
	var width = 670;
	var height = 500;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:yes;'
	return showIframeModalDialog("/display/BookDisplayPopup.do?_method=initial" + param, "µµ¼­Àü½Ã±¸¼ºÂüÁ¶", "",  sFeatures);

}

// _dispNo : Àü½Ã¹øÈ£(Ç¥ÁØºÐ·ù¹øÈ£)
// _dispNm : Àü½Ã¸í
// _shopNo: »óÁ¡¹øÈ£
//µµ¼­Àü½Ã±¸¼º ÂüÁ¶
function popupBookDipslayAll(param)
{
	var width = 670;
	var height = 500;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:yes;'
	return showIframeModalDialog("/display/BookDisplayPopup.do?_method=init" + param, "µµ¼­Àü½Ã±¸¼ºÂüÁ¶", "",  sFeatures);

}

// _dispNo : Àü½Ã¹øÈ£(Ç¥ÁØºÐ·ù¹øÈ£)
// _dispNm : Àü½Ã¸í (´ë/Áß/¼Ò/¼¼/»ó¼¼ ºÐ·ùÀÌ¸§)
// _dispNo : ¸ðµâ¹øÈ£
// _dispNm : ¸ðµâ¸í
function _PopupResult_BookDisplay(_shopNo, _dispNo, _dispNm, _modlNo, _modlNm){
	this.shopNo		=  _shopNo;
	this.dispNo		=  _dispNo;
	this.dispNm	=  _dispNm;
	this.modlNo	= 	_modlNo;
	this.modlNm	=	_modlNm;
}

//µµ¼­½Ã¸®ÁîÂüÁ¶
function popupBookSeries(param)
{
	var width = 650;
	var height = 500;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/product/bookseriespop.do?_method=initial" + param, "µµ¼­½Ã¸®ÁîÂüÁ¶", "",  sFeatures);

}

// _seriesNo : ½Ã¸®Áî¹øÈ£
// _seriesNm : ½Ã¸®Áî¸í
function _PopupResult_BookSeries(_seriesNo, _seriesNm){
	this.seriesNo	=	_seriesNo;
	this.seriesNm	=	_seriesNm;
}

//µµ¼­½Ã¸®Áî »óÇ°¸®½ºÆ®
function popupBookSeriesPrd(param)
{
	var width = 650;
	var height = 450;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/product/bookseriesPrdPopup.do?_method=initial" + param, "»óÇ°¸®½ºÆ®", "",  sFeatures);

}

function _PopupResult_AdjTributary(_shopNo, _dispNo, _dispNm, _jobRoleNo, _jobRoleExplan, _ibsUserNm){
	this.shopNo		= _shopNo;
	this.dispNo		= _dispNo;
	this.dispNm		= _dispNm;
	this.jobRoleNo  = _jobRoleNo;
	this.jobRoleExplan = _jobRoleExplan;
	this.ibsUserNm = _ibsUserNm;
}

//## ºê·£µåÆË¾÷ ½ÃÀÛ ##
function openBrandPopup() {
	var width = 690;
	var height = 500;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:yes;'
	return showIframeModalDialog("/product/brandlistpopup.do?_method=initial", "ºê·£µåÆË¾÷", "",  sFeatures);
}
function _PopupResult_Brand(_brandNo, _brandNm) {
	this.brandNo			= _brandNo;
	this.brandNm			= _brandNm;
}

function openBrandPopupNew() {
	var width = 720;
	var height = 620;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/product/brandlistpopup.do?_method=form", "ºê·£µå°ü¸®-ºê·£µå¼±ÅÃ", "",  sFeatures);
}
function _PopupResult_NewBrand(_brandNo, _brandNm,_masterBrandNo,_masterBrandNm,_gradeTp,_useYn) {
	this.brandNo			= _brandNo;
	this.brandNm			= _brandNm;
	this.masterBrandNo		= _masterBrandNo;
	this.masterBrandNm		= _masterBrandNm;
	this.gradeTp			= _gradeTp;
	this.useYn			    = _useYn;
}
function openBrandLinkPopup(param) {
	var width = 710;
	var height = 693;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/product/brandlistpopup.do?_method=linkForm"+param+"", "ºê·£µå°ü¸®-¿¬°üºê·£µåµî·Ï", "",  sFeatures);
}

//## ºê·£µåÆË¾÷ ³¡ ##

//´ë±ÝÁöºÒÀ¯º¸¼³Á¤ÆË¾÷
function openEntrPayRsvPopup(param) {
// [param] entrNo, supplyCtrtSeq
	var width = 780;
	var height = 450;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:yes;'
	return showIframeModalDialog("/enterprise/payrsvlistpopup.do?_method=initial&" + param, "´ë±ÝÁöºÒÀ¯º¸¼³Á¤ÆË¾÷", "",  sFeatures);
}

//¾÷Ã¼È¸¿ø±ÇÇÑÆË¾÷
function openEntrMgtAuthHisPopup(param) {
// [param] entrNo, supplyCtrtSeq, entrNm, entrTp
	var width = 780;
	var height = 450;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:yes;'
	return showIframeModalDialog("/enterprise/entrmgtauthhispopup.do?_method=list&" + param, "¾÷Ã¼È¸¿ø±ÇÇÑÆË¾÷", "",  sFeatures);
}

//## TNS½Å°íÀ¯ÇüÆË¾÷ ½ÃÀÛ ##
function openTnsTpPopup(param) {
// [param] row
	var width = 500;
	var height = 520;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:yes;'
	return showIframeModalDialog("/stdservice/tnstplist.do?_method=initial&" + param, "TNS½Å°íÀ¯ÇüÆË¾÷", "",  sFeatures);
}

function _PopupResult_TnsTp(_tnsTp1Si_no, _tnsTp2Si_no, _row) {
	this.tnsTp1Si_no	= _tnsTp1Si_no;
	this.tnsTp2Si_no	= _tnsTp2Si_no;
	this.row				= _row;
}
//## TNS½Å°íÀ¯ÇüÆË¾÷ ³¡ ##

//»óÇ°±âº»ÀÌ·Â
function prdStdHisPop(param) {
	var width = 650;
	var height = 550;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/product/productstandardhistoryviewpopup.do?_method=initial&key="+param, "»óÇ°±âº»ÀÌ·Â", "",  sFeatures);
}

//µµ¼­»óÇ°±âº»ÀÌ·Â
function bookPrdStdHisPop(param) {
	var width = 650;
	var height = 550;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/product/bookproductstandardhistoryviewpopup.do?_method=initial&key="+param, "µµ¼­»óÇ°±âº»ÀÌ·Â", "",  sFeatures);
}

//»óÇ°±âÅ¸ÀÌ·Â
function prdEtcHisPop(param) {
	var width = 650;
	var height = 550;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/product/productetchistoryviewpopup.do?_method=initial&key="+param, "»óÇ°±âÅ¸ÀÌ·Â", "",  sFeatures);
}

//µµ¼­»óÇ°±âÅ¸ÀÌ·Â
function bookPrdEtcHisPop(param) {
	var width = 650;
	var height = 550;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/product/bookproductetchistoryviewpopup.do?_method=initial&key="+param, "µµ¼­»óÇ°±âÅ¸ÀÌ·Â", "",  sFeatures);
}

//Ä«µå¹«ÀÌÀÚÇÒºÎÁ¶È¸
function schCardPop(param,type) {
	var width = 820;
	var height = 645;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:yes;'
	return showIframeModalDialog("/product/searchcardpop.do?_method=initial&key="+param+"&type="+type, "Ä«µå¹«ÀÌÀÚÇÒºÎÁ¶È¸", "",  sFeatures);
}

//Ä«µå¹«ÀÌÀÚÇÒºÎÁ¶È¸_HTML
function schCardHtmlPop(param) {
	var width = 725;
	var height = 645;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:yes;'
	return showIframeModalDialog("/product/searchcardpop.do?_method=ipssList&"+param, "Ä«µå¹«ÀÌÀÚÇÒºÎÁ¶È¸", "",  sFeatures);
}


// µµ¼­»óÇ° ¼±ºÐÀÌ·Â(ÀÏ¹Ý)
function popupBookProductPriceHistory(param)
{
	var width = 658;
	var height = 675;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/product/bookProductPriceHistory.do?_method=initial" + param, "µµ¼­»óÇ°°¡°ÝÀÌ·Â ¹× ¿¹¾àµî·Ï", "",  sFeatures);


}

// »óÇ° ¼±ºÐÀÌ·Â(ÀÏ¹Ý)
function popupProductPriceHistory(param)
{
	var width = 658;
	var height = 675;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/product/productPriceHistory.do?_method=initial" + param, "»óÇ°ÀÌ·Â/¿¹¾à°ü¸®", "",  sFeatures);
}


// »óÇ° ¼±ºÐÀÌ·Â(set)
function popupProductPriceHistorySet(param)
{
	var width = 658;
	var height = 675;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/product/productPriceHistorySet.do?_method=initial" + param, "»óÇ°ÀÌ·Â/¿¹¾à°ü¸®", "",  sFeatures);
}


//ISBNÄÚµå ¹ÙÄÚµå ÀüÈ¯
function popupIsbnToBarcode(param) {
	var width = 440;
	var height = 400;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/product/isbnToBarcodePopup.do?_method=initial" + param, "ISBNÄÚµå ¹ÙÄÚµå ÀüÈ¯", "",  sFeatures);
}

function _PopupResult_IsbnToBarcode(_isbn,_bar) {
	this.isbn			= _isbn;
	this.bar			= _bar;
}

//»óÇ°¹Ì¸®º¸±â
function popupProductPreView(param) {
	var width = 960;
	var height = 800;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:yes;'
	return showIframeModalDialog("/product/PreViewDisplay.do?_method=detail" + param, "»óÇ°¹Ì¸®º¸±â", "", sFeatures);
}

//»óÇ°¹Ì¸®º¸±â
function popupProductPreImfsView(param) {
	var width = 960;
	var height = 800;

//	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:yes,scrollbars=yes,resizable=yes'

    // ÆË¾÷ À§Ä¡ ÁöÁ¤À» À§ÇÑ º¯¼ö
    var left    = (screen.availWidth - width) / 2;
    var top     = (screen.availHeight - height) / 2;

    var sFeatures = "width=" + width + ", height=" + height + ", left=" + left + ", top=" + top + ", menubar=no, toolbar=no, scrollbars=yes, status=no, resizable=yes";

	window.open("http://www.interpark.com/product/PreViewDisplay.do?_method=detail" + param, "»óÇ°¹Ì¸®º¸±â", sFeatures);
}

function popupProductPreImfsView(param, prdNo) {
	var width = 960;
	var height = 800;

//	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:yes,scrollbars=yes,resizable=yes'

    // ÆË¾÷ À§Ä¡ ÁöÁ¤À» À§ÇÑ º¯¼ö
    var left    = (screen.availWidth - width) / 2;
    var top     = (screen.availHeight - height) / 2;

    var sFeatures = "width=" + width + ", height=" + height + ", left=" + left + ", top=" + top + ", menubar=no, toolbar=no, scrollbars=yes, status=no, resizable=yes";

	window.open("http://www.interpark.com/product/PreViewDisplay.do?_method=detail" + param, prdNo, sFeatures);
}

function popupWscmProductPreView(param) {
	var width = 1024;
	var height = 768;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:yes;'
	return showIframeModalDialog("/product/PreViewDisplay.do?_method=detail" + param, "»óÇ°¹Ì¸®º¸±â", "",  sFeatures);

}

/**
 * »óÇ°¹Ì¸®º¸±â ÆË¾÷À» ¶ç¿î´Ù.
 * icss ÂÊ¿¡¼­ »ç¿ë½Ã »óÇ°¹øÈ£µî ³»¿ë º¹»ç°¡ °¡´É ÇØ¾ßÇÏ±â ¶§¹®¿¡ window.open À» ÀÌ¿ëÇÑ´Ù.
 *
 *@param (String) param - ÆÄ¶ó¹ÌÅÍ
 *
 * history : 2006-06-27 add by jami.
 */
function popupProductPreViewForIcss(param) {
	var width = 960;
	var height = 800;

    // ÆË¾÷ À§Ä¡ ÁöÁ¤À» À§ÇÑ º¯¼ö
    var left    = (screen.availWidth - width) / 2;
    var top     = (screen.availHeight - height) / 2;

    var sFeatures = "width=" + width + ", height=" + height + ", left=" + left + ", top=" + top + ", menubar=no, toolbar=no, scrollbars=yes, status=no, resizable=yes";

	window.open("/product/PreViewDisplay.do?_method=detail" + param, "»óÇ°¹Ì¸®º¸±â", sFeatures);
}

/**
 * ¶óÈåµÎ¶ß »óÇ°¹Ì¸®º¸±â ÆË¾÷À» ¶ç¿î´Ù.
 *
 *@param (String) prdCode - ºÎ¸ð»óÇ°ÀÇ ¿ÜºÎ»óÇ°ÄÚµå°ª
 *
 * history : 2006-06-27 add by jami.
 */
function popupLaredouteProductPreViewForIcss(prdCode) {
	var width = 960;
	var height = 800;

    // ÆË¾÷ À§Ä¡ ÁöÁ¤À» À§ÇÑ º¯¼ö
    var left    = (screen.availWidth - width) / 2;
    var top     = (screen.availHeight - height) / 2;

    var sFeatures = "width=" + width + ", height=" + height + ", left=" + left + ", top=" + top + ", menubar=no, toolbar=no, scrollbars=yes, status=no, resizable=yes";

	window.open("http://laredoute.interpark.com/urlUpload/interpark/item.jsp?prd_code=" + prdCode, "»óÇ°¹Ì¸®º¸±â", sFeatures);
}

/**
 * ÇÏÇÏ¸ô »óÇ°¹Ì¸®º¸±â ÆË¾÷À» ¶ç¿î´Ù.
 *
 *@param (String) prdCode - ºÎ¸ð»óÇ°ÀÇ ¿ÜºÎ»óÇ°ÄÚµå°ª
 *
 * history : 2007-03-29 add by unswan.
 */
function popupHahaMallProductPreViewForIcss(prdCode) {
	var width = 960;
	var height = 800;

    // ÆË¾÷ À§Ä¡ ÁöÁ¤À» À§ÇÑ º¯¼ö
    var left    = (screen.availWidth - width) / 2;
    var top     = (screen.availHeight - height) / 2;

    var sFeatures = "width=" + width + ", height=" + height + ", left=" + left + ", top=" + top + ", menubar=no, toolbar=no, scrollbars=yes, status=no, resizable=yes";

	window.open("http://hahamall.interpark.com/view_interpark.php?nm=" + prdCode, "»óÇ°¹Ì¸®º¸±â", sFeatures);
}

/******************************************************************************/
/*************************** »óÇ°±Ç ÆË¾÷Ã¢ Ãß°¡ ½ÃÀÛ *******************************/
function popupSpsaleBizList(param) {
    var width = 550;
	var height = 450;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/gcorder/SpsaleBizList.do?_method=initial&"+param , "", "", sFeatures);
}
function _PopupResult_SpsaleBizList(rowData) {
    if (!rowData) return;
    this.giftcertOrdererNo     = rowData.getData("spsaleBizNo");   // ÁÖ¹®ÀÚ¹øÈ£
    this.giftcertOrdererId     = rowData.getData("spsaleBizId");   // ÁÖ¹®ÀÚ¾ÆÀÌµð
    this.giftcertOrdererNm     = rowData.getData("spsaleBizNm");   // ÁÖ¹®ÀÚ¸í
    this.giftcertSpsaleLinkNm  = rowData.getData("respNm");        // Æ¯ÆÇ´ã´çÀÚ¸í
    this.giftcertOrdererHpno   = rowData.getData("hpno");          // ÀÌµ¿ÀüÈ­
    this.giftcertOrdererTelno  = rowData.getData("telno");         // ÀüÈ­¹øÈ£
    this.giftcertOrdererEmail  = rowData.getData("email");         // ÀÌ¸ÞÀÏ
    this.giftcertOrdOccurDept  = rowData.getData("orgNo");         // ºÎ¼­ÄÚµå
    this.giftcertOrdOccurDeptNm= rowData.getData("orgNm");         // ºÎ¼­¸í
}

/**
 * °èÁÂÃ¼Å©ÆË¾÷ È£ÃâÇÔ¼ö.
 *
 * ¡Ø °á°ú´Â _PopupResult_AccNoCheck¸Þ¼Òµå °´Ã¼·Î ¸®ÅÏÇÏ¸ç
 * resultObject.result·Î °á°úÄÚµå¸¦ È®ÀÎÇÒ ¼ö ÀÖ´Ù.
 *  1) resultObject.result = true ÀÌ¸é Ã¼Å©¼º°ø
 *  2) resultObject.result = false ÀÌ¸é Ã¼Å©½ÇÆÐ
 *
 * ¡Ø ¹Ýµå½Ã È£ÃâÇÏ´Â ¼Ò½º¿¡¼­´Â ÆË¾÷Ã¢À» È£ÃâÇÏ°í °á°ú°ªÀ» Ã¼Å©ÇÏ´Â ½ºÅ©¸³Æ®¸¦
 *   ÀÛ¼ºÇØ¾ßÇÑ´Ù.
 *  ex) var chkObj = popupAccNoCheck('1', '123', 'test', 'ibss');
 *      if (chkObj && check.result) {
 *          // Ã¼Å©¼º°ø½Ã ·ÎÁ÷ÀÛ¼º
 *      } else {
 *          // Ã¼Å©½ÇÆÐ½Ã ·ÎÁ÷ÀÛ¼º
 *      }
 *
 * @param   bankCd      ÀºÇàÄÚµå
 * @param   accountNo   °èÁÂ¹øÈ£
 * @param   accountName ¿¹±ÝÁÖ¸í
 * @param   style       ¾÷¹«±¸ºÐ(±âº» imfs)
 * @return _PopupResult_AccNoCheck object
 */
var _CHKCNT = 0;
function popupAccNoCheck(bankCd, accountNo, accountNm, style) {
	var _URL = "http://" + window.location.host;
	//alert(_URL);

    var _style = "imfs";
    if (isEmptyStr(bankCd) || isEmptyStr(accountNo) || isEmptyStr(accountNm)) {
        var msg = "°èÁÂÃ¼Å©´Â ÀºÇàÄÚµå, °èÁÂ¹øÈ£, ¿¹±ÝÁÖ¸íÀ» ¹Ýµå½Ã ÀÔ·ÂÇØ¾ßÇÕ´Ï´Ù.";
        if (_style == 'ibss') msgAlert(msg);
        else alert(msg);

    	return false;
    }
    // ¾÷¹«±¸ºÐ ¼¼ÆÃ
    if (!isEmptyStr(style)) _style = style;

    // '-', '¤Ñ'(ÇÑ±Û) Á¦°ÅÇÏ±â
	var chkAccountNo = accountNo.replace(/[-¤Ñ]/g, "");

    var queryString = "bankCd="+bankCd
                     +"&accountNo="+chkAccountNo
                     // '&'À¸·Î ³Ñ¾î¿Â °æ¿ì '%26'À¸·Î Ä¡È¯ÇÑ´Ù.
                     +"&paramAccntName="+accountNm.replace("&", "%26");
    var sFeatures = 'dialogWidth:305px;dialogHeight:320px;center:yes;status:no;help:no;scroll:no;'

    if (style == "imfs" && _CHKCNT >= 5) {
    	var msg = "°èÁÂÃ¼Å©´Â 5È¸¸¦ ÃÊ°úÇÒ ¼ö ¾ø½À´Ï´Ù.";
    	if (_style == 'ibss') msgAlert(msg);
        else alert(msg);
        return false;
    }
    _CHKCNT += 1;

	//return showIframeModalDialog(_URL + "/gc/AcctCheck.do?_style="+_style
	return showIframeModalDialog("/gc/AcctCheck.do?_style="+_style
	                            +"&_method=PopupRefundAccntCheck&"+queryString
	                            , ""
	                            , ""
	                            , sFeatures);
}
function _PopupResult_AccNoCheck(result) {
	this.result	= result;
}


/**
 * »óÇ°±ÇÀÌ¸ÞÀÏ¹ß¼ÛÈ÷½ºÅä¸® ÆË¾÷Ã¢À» È£ÃâÇÏ´Â °øÅëÇÔ¼ö
 * @return
 */
function popupGiftcertEmailHistory(param) {
    var width = 550;
	var height = 450;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/gcorder/EmailGiftcertConf.do?_style=ibss&_method=EmailSendHisListForm&"+param , "", "", sFeatures);
}


/**
 * ÁÖ¹®Àû¸³»óÇ°±Ç Á¶È¸ ÆË¾÷
 * @return
 */
function openResvConvPopup(ordclmNo, ordSeq) {
	var width = 550;
	var height = 450;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	var param = "sc.ordclmNo="+ordclmNo
			  +"&sc.ordSeq="+ordSeq
			  +"&sc.convTp=1";
	return showIframeModalDialog("/gcorder/ResvConvGiftcertConnect.do?_method=ConvListPopup&"+param , "", "", sFeatures);
}




/*************************** »óÇ°±Ç ÆË¾÷Ã¢ Ãß°¡ Á¾·á *******************************/
/******************************************************************************/

//Àü½ÃÅÛÇÃ¸´ ÆË¾÷
function popupHtmlDipslayTmpl()
{
	var width = 707;
	var height = 697;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;';

	return showIframeModalDialog("/display/DisplayTmplSrcPopup.do?_method=initial", "Àü½ÃÅÛÇÃ¸´ÆË¾÷", "", sFeatures );
}

function _Popup_DipslayTmpl(_dispTmplNo, _dispTmplNm, _dispTmplEx, _dispTmplFileNm)
{
	this.dispTmplNo			= _dispTmplNo;
	this.dispTmplNm			= _dispTmplNm;
	this.dispTmplEx			= _dispTmplEx;
	this.dispTmplFileNm	= _dispTmplFileNm;
}

//¸ðµâ ÅÛÇÃ¸´ ÆË¾÷
function popupHtmlModuleTmpl(param)
{
	var width = 707;
	var height = 742;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;';

	if( param != "" )
		return showIframeModalDialog("/display/ModuleTmplSearchPopup.do?"+param, "¸ðµâÅÛÇÃ¸´ÆË¾÷", "", sFeatures);
	else
		return showIframeModalDialog("/display/ModuleTmplSearchPopup.do?",  "¸ðµâÅÛÇÃ¸´ÆË¾÷", "", sFeatures);
}

function _Popup_ModuleTmpl(_modlTmplNo, _modlTmplNm, _modlTmplEx)
{
	this.modlTmplNo		= _modlTmplNo;
	this.modlTmplNm	= _modlTmplNm;
	this.modlTmplEx	 	= _modlTmplEx;
}

//¸ðµâ HTML °ü¸® ÆË¾÷
function popupMgtModuleHtml(param)
{
	var width = 720;
	var height = 600;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;scroll:no;center:yes;status:no;help:no;';

	return popupModalDialog("/display/DisplayModlHtmlMgtPopup.do?_method=info"+param,  sFeatures);
}

function _Popup_MgtModuleHtml(_modlHtmlText)
{
	this.modlHtmlText		= _modlHtmlText;
}


//¹ýÀÎ/BtoB°í°´ ÆË¾÷
function popupHtmlB2bCustomer(param)
{
	var width = 680;
	var height = 470;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;';

	return showIframeModalDialog("/order/b2bCustomerPopup.do?_method=initial"+param, "¹ýÀÎ/BtoB°í°´ÆË¾÷", "", sFeatures );
}

function _Popup_B2bCustomer(_memNo, _memNm, _memId, _memGrdNm, _memGrd, _idn, _hp, _houseTel, _houseZipcd, _houseZipAddr, _houseAddr, _memEmail)
{
	this.memNo			= _memNo;
	this.memNm			= _memNm;
	this.memId			= _memId;
	this.memGrdNm     	= _memGrdNm;
	this.memGrd     	= _memGrd;
	this.idn         	= _idn;
	this.hp      	    = _hp;
	this.houseTel       = _houseTel
	this.houseZipcd     = _houseZipcd
	this.houseZipAddr   = _houseZipAddr
	this.houseAddr      = _houseAddr
	this.memEmail       = _memEmail
}

//º¸¼®ÁÖ¹® Çö±Ý¿µ¼öÁõ
function popupHtmlJewelCash(param)
{
	var width = 500;
	var height = 620;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;';

	return showIframeModalDialog("/order/JewelTMOrder.do?_method=cashReceipt&_style=ibss&prsnIdn="+param, "Çö±Ý¿µ¼öÁõ ½ÅÃ»", "", sFeatures );
}

function _Popup_JewelCash(_cashReceiptTp, _cmpyNo, _cmpyNm, _cmpyPrd, _cmpyCon, _cmpyItem, _cmpyAddr)
{
	this.cashReceiptTp	= _cashReceiptTp;
	this.cmpyNo			= _cmpyNo;
	this.cmpyNm			= _cmpyNm;
	this.cmpyPrd     	= _cmpyPrd;
	this.cmpyCon     	= _cmpyCon;
	this.cmpyItem       = _cmpyItem;
	this.cmpyAddr      	= _cmpyAddr;
}


//Á¦ÈÞ»ç Á¶È¸ÆË¾÷
function popupHtmlIppEntrPartner(param)
{
	var width = 450;
	var height = 470;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;';

	return showIframeModalDialog("/order/ippEntrPartnerPopup.do?_method=initial"+param, "Á¦ÈÞ»ç Á¶È¸ÆË¾÷", "", sFeatures );
}

function _Popup_IppEntrPartner(_ippId, _ippEntrNm, _entrGrpTp, _ippEntrCode)
{
	this.ippId			= _ippId;
	this.ippEntrNm		= _ippEntrNm;
	this.entrGrpTp		= _entrGrpTp;
	this.ippEntrCode    = _ippEntrCode;

}

//¹ÙÄÚµå »ý¼ºÆË¾÷
function popupBarcodeSearch(param)
{
	var width = 500;
	var height = 550;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;';

	return showIframeModalDialog("/product/barcodeSearchPopup.do?_method=initial"+param, "¹ÙÄÚµå Á¶È¸ÆË¾÷", "", sFeatures );
}

function _Popup_BarcodeSearch(_bizdeptBcode, _whBcode)
{
	this.bizdeptBcode = _bizdeptBcode;
	this.whBcode		 = _whBcode;
}


//»çÀºÇ°»óÇ°Á¶È¸ÆË¾÷(ÆË¾÷)
function popupHtmlPresentPopup(param)
{
	var width = 610;
	var height = 490;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;';

	return showIframeModalDialog("/product/presentPopup.do?_method=initial"+param, "»çÀºÇ°»óÇ°Á¶È¸ÆË¾÷", "", sFeatures );
}

function _Popup_Present(_prdNo, _prdNm, _mgtPrdNm)
{
	this.prdNo		= _prdNo;
	this.prdNm		= _prdNm;
	this.mgtPrdNm	= _mgtPrdNm;
}

// ºñÈ¸¿ø ÁÖ¹® ºñ¹Ð¹øÈ£ Á¶È¸ ÆË¾÷ (param : ÀÔ·Â Æû ÀÌ¸§, return: _Popup_checkOrderPass()°´Ã¼)
function checkOrderPass(orderNo) {
	if(orderNo.value=="") {
		alert("ÁÖ¹®¹øÈ£¸¦ ÀÔ·ÂÇØ ÁÖ¼¼¿ä");
		orderNo.focus();
		return;
	}
	var sFeatures = 'dialogWidth:360px;dialogHeight:260px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/order/OrderPwdCheckPopup.do?_method=initial&logintgt=mypage&idn="+MEMBER_CHECK_IND+"&orderNo="+orderNo.value
							, ""
							, ""
							, sFeatures);
}

// ºñÈ¸¿ø ÁÖ¹® ºñ¹Ð¹øÈ£ Á¶È¸ ÆË¾÷ (param : ÁÖ¹®¹øÈ£, return: _Popup_checkOrderPass()°´Ã¼)
function checkOrderPass2(orderNo) {
	if(orderNo=="") {
		alert("ÁÖ¹®¹øÈ£°¡ ¼±ÅÃµÇÁö ¾Ê¾Æ Á¶È¸ ÇÒ ¼ö ¾ø½À´Ï´Ù.");
		return;
	}
	var sFeatures = 'dialogWidth:360px;dialogHeight:260px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/order/OrderPwdCheckPopup.do?_method=initial&logintgt=mypage&idn="+MEMBER_CHECK_IND+"&orderNo="+orderNo
							, ""
							, ""
							, sFeatures);
}

function _Popup_checkOrderPass(result) {
	this.result = result;
}


//ºÎ¼­Á¶È¸ÆË¾÷(ÆË¾÷)
function popupHtmlOrganizationPopup(param)
{
	var width = 490;
	var height = 490;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;';

	return showIframeModalDialog("/member/organizationInfoPopup.do?_method=initial"+param, "ºÎ¼­Á¶È¸ÆË¾÷", "", sFeatures );
}

function _Popup_Organization(_orgNo, _high_org_no, _org_nm, _org_tp, _resp_no)
{
	this.orgNo		    = _orgNo;
	this.high_org_no	= _high_org_no;
	this.org_nm	        = _org_nm;
	this.org_tp	        = _org_tp;
	this.resp_no	    = _resp_no;
}


//Ä«µå»çÁ¶È¸ÆË¾÷(ÆË¾÷)
// card_entr_tp = '1' (¹ß±Þ»ç)
function popupHtmlCardEntrPopup(param)
{
	var width = 490;
	var height = 490;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;';

	return showIframeModalDialog("/member/cardEntrInfoPopup.do?_method=initial"+param, "Ä«µå»çÁ¶È¸ÆË¾÷", "", sFeatures );
}

function _Popup_CardEntr(_cardEntrNo, _cardEntrNm, _cardEntrCd, _bustRegNo )
{
	this.cardEntrNo		= _cardEntrNo;
	this.cardEntrNm		= _cardEntrNm;
	this.cardEntrCd    	= _cardEntrCd;
	this.bustRegNo    	= _bustRegNo;
}


//## ºê·£µåÆË¾÷ ½ÃÀÛ ##
function openBrandInfoPopup(param) {
	var width = 620;
	var height = 460;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:yes;'
	return showIframeModalDialog("/product/brandInfolistpopup.do?_method=initial"+param, "ºê·£µåÆË¾÷", "",  sFeatures);
}
function _PopupBrandInfo(_brandNo, _brandNm) {
	this.brandNo			= _brandNo;
	this.brandNm			= _brandNm;
}

//°øÁö»çÇ× ÆË¾÷
function popupHtmlGongGi(param)
{
	var width = 732;
	var height = 750;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:yes;'
	return showIframeModalDialog("/communication/AnnounceManagerMgt.do?_method=dtl&sc.anncNo="+param,"°øÁö»çÇ×»ó¼¼", "",  sFeatures);

}

// »ç¿ëÀÚ ¸Þ´º ¼³Á¤ ´ëÈ­Ã¢
function openIbssUserMenuDialog(menuId) {
	var	res;
	var width 	= 800;
	var height 	= 550;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'
		+ height+'px;center:yes;status:no;help:no;scroll:no;'

	res	= showIframeModalDialog(
		"/authority/IbsUserMenuManage.do?_method=initial&_style=ibss"
		+ (menuId != null ? "&target=" + menuId : "")
		,"³ªÀÇ Áñ°ÜÃ£±â ¼³Á¤/°ü¸®", "",  sFeatures);
	if (res == "reflush") {
		try {
			msgAlert("Áï½Ã ¹Ý¿µÀ» ¿Ï·á Çß½À´Ï´Ù.\nÀÌÈÄ¿¡ ¼³Á¤ÇÑ ³»¿ëÀÌ ¹Ý¿µµÇÁö ¾ÊÀ¸¸é ºê¶ó¿ìÁ®¸¦ »õ·Î ½ÇÇàÇÏ¿© ·Î±×ÀÎ ÇÏ¸é ¹Ý¿µ µË´Ï´Ù.");
		} catch (e) {
			alert("Áï½Ã ¹Ý¿µÀ» ¿Ï·á Çß½À´Ï´Ù.\nÀÌÈÄ¿¡ ¼³Á¤ÇÑ ³»¿ëÀÌ ¹Ý¿µµÇÁö ¾ÊÀ¸¸é ºê¶ó¿ìÁ®¸¦ »õ·Î ½ÇÇàÇÏ¿© ·Î±×ÀÎ ÇÏ¸é ¹Ý¿µ µË´Ï´Ù.");
		}
		top.location.reload();
	}
}

// ´ëÇ¥ºÐ·ù¹øÈ£°Ë»ö
// param _style
// param shopNo
function popupAdjTributary(param, param1)
{
	var width = 706;
	var height = 425;

	if(param !="" && param!=null) param = "_style="+param;
	if(param1 !="" && param1!=null) param1 = "shopNo="+param1;

	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/product/popAdjTributaryOpt.do?_method=initial&" + param + "&" +param1, "»óÇ°ºÐ·ùÁ¶È¸", "", sFeatures);

}

// ´ëÇ¥ºÐ·ù¹øÈ£°Ë»ö. ÁßºÐ·ù±îÁö º¸¿©ÁÜ
// param _style
// param shopNo
// param showDepth 2
function popupAdjTributary2(param, param1, param2)
{
	var width = 370;
	var height = 427;

	if(param !="" && param!=null) param = "_style="+param;
	if(param1 !="" && param1!=null) param1 = "shopNo="+param1;
	if(param2 !="" && param2!=null) param2 = "showDepth="+param2;

	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/product/popAdjTributaryOpt.do?_method=initial&" + param
		+ "&" +param1+ "&" +param2, "´ëÇ¥ºÐ·ùÁ¶È¸", "", sFeatures);
}

// Àü½ÃºÐ·ù°ü¸®¸Ê¹øÈ£°Ë»ö
// param _style
// param shopNo
function popupAdjTributaryInfo(param, param1)
{
	var width = 706;
	var height = 437;

	if(param == "" && param == null) param = "_style=ipss";
	if(param1 !="" && param1!=null) param1 = "shopNo="+param1;

	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/product/popAdjTributaryOptInfo.do?_method=initial&" + param + "&" +param1, "»óÇ°ºÐ·ùÁ¶È¸", "", sFeatures);

}

function _PopupResult_AdjTributaryInfo(_shopNo, _dispNo, _dispNm,_omConfYn,_dispMgrClsMap,_omStdDelvwhDt,_omUseYn,_jobRoleNo,_lastDepth,_mgrClsOmFee){

	this.shopNo		    = _shopNo;
	this.dispNo		    = _dispNo;
	this.dispNm		    = _dispNm;
	this.omConfYn		= _omConfYn;
	this.dispMgrClsMap	= _dispMgrClsMap;
	this.omStdDelvwhDt	= _omStdDelvwhDt;
	this.omUseYn		= _omUseYn;
	this.jobRoleNo		= _jobRoleNo;
	this.lastDepth		= _lastDepth;
	this.mgrClsOmFee	= _mgrClsOmFee;
}


//»óÇ°Ãß°¡ÆË¾÷(ÆË¾÷)
function popupHtmlProductAddPopup(param)
{
	var width = 610;
	var height = 490;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;';

	return showIframeModalDialog("/product/productAddPopup.do?_method=initial"+param, "»óÇ°Ãß°¡ÆË¾÷", "", sFeatures );
}

function _Popup_ProductAdd(_mainPrdNo, _setPrdNo, _setPrdNm, _prdNo, _prdNm, _optFnm, _mktPr, _saleUnitcost, _mgtUnitcost, _prdTp, _parentPrdNo, _stdClsNo, _shopNo, _comTp)
{

	this.mainPrdNo    = _mainPrdNo;
	this.setPrdNo     = _setPrdNo;
	this.setPrdNm     = _setPrdNm;
	this.prdNo        = _prdNo;
	this.prdNm        = _prdNm;
	this.optFnm       = _optFnm;
	this.mktPr        = _mktPr;
	this.saleUnitcost = _saleUnitcost;
	this.mgtUnitcost  = _mgtUnitcost;
	this.prdTp        = _prdTp;
	this.parentPrdNo  = _parentPrdNo;
	this.stdClsNo     = _stdClsNo;
	this.shopNo       = _shopNo;
	this.comTp        = _comTp;
}

//»óÇ°Ãß°¡ÆË¾÷(ÆË¾÷)
function popupHtmlEnterpriseAdInfoPopup(param)
{
	var width = 540;
	var height = 430;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;';

	return showIframeModalDialog("/enterprise/enterpriseAdInfoPopup.do?_method=initial"+param, "±¤°íÁ¤º¸ÆË¾÷", "", sFeatures );
}


//## ÃÖÀúÁÖ¹®±Ý¾×ÆË¾÷ ½ÃÀÛ ##
function openTlmtPriPolicyPopup(param) {
	var width = 620;
	var height = 460;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/product/tlmtPriPolicyPopup.do?_method=initial"+param, "ÃÖÀúÁÖ¹®±Ý¾×ÆË¾÷", "",  sFeatures);
}
function _PopupTlmtPriPolicy(_grpSeq, _minAmt, _grpExplan, _grpNm) {
	this.grpSeq			= _grpSeq;
	this.minAmt			= _minAmt;
	this.grpExplan		= _grpExplan;
	this.grpNm			= _grpNm;
}


//## °áÁ¦¼ö´Ü¼³Á¤ÆË¾÷ ½ÃÀÛ ##
function openPaymentMthdPopup(param) {
	var width = 650;
	var height = 550;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/product/paymentMethodPopup.do?"+param, "°áÁ¦¼ö´Ü¼³Á¤ÆË¾÷", "",  sFeatures);
}
function _Popup_PaymentMthd(_payment) {
	this.payment			= _payment;
}

//## º¯°æ³¯Â¥¼±ÅÃÆË¾÷ ½ÃÀÛ ##
function popupProductPriceHistoryChkPopup(param) {
	var width = 500;
	var height = 300;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/product/productPriceHistoryPopup.do?"+param, "º¯°æ³¯Â¥¼±ÅÃÆË¾÷", "",  sFeatures);
}
function _Popup_ProductPriceHistoryChk(_chk, _st, _en, _ro) {
	this.chk	= _chk;
	this.st		= _st;
	this.en		= _en;
	this.ro		= _ro;
}

// »óÇ°°¡°ÝÁ¤º¸°Ë»ö
function popupGridProductPrice(param)
{
	var width = 657;
	var height = 505;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/product/productPriceSearchPopup.do?_method=initial" + param, "»óÇ°Á¶È¸", "", sFeatures);

}

function _PopupResult_ProductPrice(_prdNo, _prdNm, _mktPr, _dcRt, _saleUnitcost, _purordUnitcost, _purordUnitcostMargRt, _totalentrMileage, _bizdeptMileage, _entrMileage, _giftcard, _blcMileage, _ordPossQty, _saleStatTp, _dispYn, _saleEndDts){
	this.prdNo							= _prdNo;
	this.prdNm							= _prdNm;
	this.mktPr							= _mktPr;
	this.dcRt							= _dcRt;
	this.saleUnitcost					= _saleUnitcost;
	this.purordUnitcost				= _purordUnitcost;
	this.purordUnitcostMargRt	= _purordUnitcostMargRt;
	this.totalentrMileage			= _totalentrMileage;
	this.bizdeptMileage				= _bizdeptMileage;
	this.entrMileage					= _entrMileage;
	this.giftcard						= _giftcard;
	this.blcMileage					= _blcMileage;
	this.ordPossQty					= _ordPossQty;
	this.saleStatTp					= _saleStatTp;
	this.dispYn							= _dispYn;
	this.saleEndDts					= _saleEndDts;

}


//À¯Çü(¼Ò) ÆË¾÷(ÆË¾÷)
function popupHtmlCodes(param)
{
	var width = 400;
	var height = 230;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;';

	return showIframeModalDialog("/contents/ProductUsedWrittenList.do?_method=codeList"+param, "À¯Çü[¼Ò]ÆË¾÷", "", sFeatures );
}

function _PopupCodes(_cdDtlNo, _cdDtlNm1) {
	this.cdDtlNo			= _cdDtlNo;
	this.cdDtlNm1			= _cdDtlNm1;
}

//## »óÇ°°¡°ÝÁ¶Á¤ ÀÏ°ý Ã³¸® ÆË¾÷ ½ÃÀÛ ##
function openPriceLampModifyPopup(param) {
	var width = 626;
	var height = 387;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:yes;'
	popupModalDialog("/product/mallProductInfoLampModify.do?_method=price" + param, sFeatures);
}
//## »óÇ°°¡°ÝÁ¶Á¤ ÀÏ°ý Ã³¸® ÆË¾÷ ³¡ ##

//## »óÇ°ÆÇ¸Å±â°£ Á¶Á¤ ÀÏ°ý Ã³¸® ÆË¾÷ ½ÃÀÛ ##
function openSaledtLampModifyPopup(param) {
	var width = 656;
	var height = 362;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:yes;'
	popupModalDialog("/product/mallProductInfoLampModify.do?_method=saledt" + param, sFeatures);
}
//## »óÇ°ÆÇ¸Å±â°£ Á¶Á¤ ÀÏ°ý Ã³¸® ÆË¾÷ ³¡ ##

//## »óÇ°ÆÇ¸Å»óÅÂ Á¶Á¤ ÀÏ°ý Ã³¸® ÆË¾÷ ½ÃÀÛ ##
function openSalestatLampModifyPopup(param) {
	var width = 626;
	var height = 743;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:yes;'
	popupModalDialog("/product/mallProductInfoLampModify.do?_method=salestat" + param, sFeatures);

}
//## »óÇ°ÆÇ¸Å±â°£ Á¶Á¤ ÀÏ°ý Ã³¸® ÆË¾÷ ³¡ ##

//## »óÇ°ºê·£µå Á¶Á¤ ÀÏ°ý Ã³¸® ÆË¾÷ ½ÃÀÛ ##
function openBrandLampModifyPopup(param) {
	var width = 632;
	var height = 650;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:yes;'
	popupModalDialog("/product/mallProductInfoLampModify.do?_method=brand" + param, sFeatures);

}
//## »óÇ°ºê·£µå Á¶Á¤ ÀÏ°ý Ã³¸® ÆË¾÷ ³¡ ##

//## »óÇ°°ü¸®ºÐ·ù Á¶Á¤ ÀÏ°ý Ã³¸® ÆË¾÷ ½ÃÀÛ ##
function openStdclsLampModifyPopup(param) {
	var width = 750;
	var height = 650;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:yes;'
	popupModalDialog("/product/mallProductInfoLampModify.do?_method=stdcls" + param, sFeatures);

}
//## »óÇ°°ü¸®ºÐ·ù Á¶Á¤ ÀÏ°ý Ã³¸® ÆË¾÷ ³¡ ##

//## »óÇ°Àü½ÃºÐ·ù Á¶Á¤ ÀÏ°ý Ã³¸® ÆË¾÷ ½ÃÀÛ ##
function openDispnoLampModifyPopup(param) {
	var width = 750;
	var height = 650;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:yes;'
	popupModalDialog("/product/mallProductInfoLampModify.do?_method=dispno" + param, sFeatures);

}
//## »óÇ°°ü¸®ºÐ·ù Á¶Á¤ ÀÏ°ý Ã³¸® ÆË¾÷ ³¡ ##

//## »óÇ°¹è¼Ûºñ Á¶Á¤ ÀÏ°ý Ã³¸® ÆË¾÷ ½ÃÀÛ ##
function openDelvcostLampModifyPopup(param) {
	var width = 700;
	var height = 465;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:yes;'
	popupModalDialog("/product/mallProductInfoLampModify.do?_method=delvcost" + param, sFeatures);

}
//## »óÇ°¹è¼Ûºñ Á¶Á¤ ÀÏ°ý Ã³¸® ÆË¾÷ ³¡ ##

//## »óÇ°ÆÇ¸Å¼ö¼ö·á(¸¶ÁøÀ²) Á¶Á¤ ÀÏ°ý Ã³¸® ÆË¾÷ ½ÃÀÛ ##
function openMargrtLampModifyPopup(param) {
	var width = 620;
	var height = 404;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:yes;'
	popupModalDialog("/product/mallProductInfoLampModify.do?_method=margrt" + param, sFeatures);

}
//## »óÇ°ÆÇ¸Å¼ö¼ö·á(¸¶ÁøÀ²) Á¶Á¤ ÀÏ°ý Ã³¸® ÆË¾÷ ³¡ ##

//## »óÇ°Æ¯ÆÇ ¼³Á¤ Á¶Á¤ ÀÏ°ý Ã³¸® ÆË¾÷ ½ÃÀÛ ##
function openSpsaleLampModifyPopup(param) {
	var width = 620;
	var height = 720;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:yes;'
	popupModalDialog("/product/mallProductInfoLampModify.do?_method=spsale" + param, sFeatures);

}
//## »óÇ°Æ¯ÆÇ ¼³Á¤ Á¶Á¤ ÀÏ°ý Ã³¸® ÆË¾÷ ³¡ ##

//## »óÇ° I-Æ÷ÀÎÆ® Á¶Á¤ ÀÏ°ý Ã³¸® ÆË¾÷ ½ÃÀÛ ##
function openMileageLampModifyPopup(param) {
	var width = 620;
	var height = 547;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:yes;'
	popupModalDialog("/product/mallProductInfoLampModify.do?_method=mileage" + param, sFeatures);

}
//## »óÇ° I-Æ÷ÀÎÆ® Á¶Á¤ ÀÏ°ý Ã³¸® ÆË¾÷ ³¡ ##

//## »óÇ°Æ¯ÆÇ ÀÏ°ý Ãë¼Ò ÆË¾÷ ½ÃÀÛ ##
function openSpcancelLampModifyPopup(param) {
	var width = 526;
	var height = 275;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:yes;'
	popupModalDialog("/product/mallProductInfoLampModify.do?_method=spcancel" + param, sFeatures);
}
//## »óÇ°Æ¯ÆÇ ÀÏ°ý Ãë¼Ò ÆË¾÷ ³¡ ##


//## »óÇ° ¹«ÀÌÀÚÇÒºÎ Á¶Á¤ ÀÏ°ý Ã³¸® ÆË¾÷ ½ÃÀÛ ##
function openIntfreeLampModifyPopup(param) {
	var width = 640;
	var height = 600;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:yes;'
	popupModalDialog("/product/mallProductInfoLampModify.do?_method=intfree" + param, sFeatures);

}
//## »óÇ° ¹«ÀÌÀÚÇÒºÎ Á¶Á¤ ÀÏ°ý Ã³¸® ÆË¾÷ ³¡ ##

//## »óÇ°Æ÷ÀÎÆ®¸ô µî·Ï ÀÏ°ý Ã³¸® ÆË¾÷ ½ÃÀÛ ##
function openPointmLampModifyPopup(param) {
	var width = 632;
	var height = 520;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:yes;'
	popupModalDialog("/product/mallProductInfoLampModify.do?_method=pointm" + param, sFeatures);

}
//## »óÇ°Æ÷ÀÎÆ®¸ô µî·Ï ÀÏ°ý Ã³¸® ÆË¾÷ ³¡ ##

//## »óÇ° ÀÏ°ý¼öÁ¤ ½ÇÆÐ »óÇ°¸ñ·Ï ÆË¾÷ ½ÃÀÛ ##
function openLampModifyErrorPopup(param) {
	var _width = 582;
	var _height = 200;
    var loc_width = (screen.width - _width) / 2;
    var loc_height = (screen.height - _height) / 2;
	var sFeatures = 'height='+_height+',width='+_width+',top='+loc_height+',left='+loc_width+',scrollbars=no,resizable'
	var _winObj = window.open("/product/mallProductInfoLampModify.do?_method=errlist" + param, "failPrdWin", sFeatures);
	_winObj.focus();

}
//## »óÇ° ÀÏ°ý¼öÁ¤ ½ÇÆÐ »óÇ°¸ñ·Ï ÆË¾÷ ³¡ ##

//## ºê·£µåÆË¾÷ ½ÃÀÛ ## 2006-06-13
function openBrandInfoNewPopup(param) {
	var width = 620;
	var height = 600;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:yes;'
	return showIframeModalDialog("/product/brandInfolistpopup.do?_method=initialNew"+param, "ºê·£µåÆË¾÷", "",  sFeatures);
}

function openBrandRegistPopup(param) {
	var width = 500;
	var height = 350;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:yes;help:no;scroll:no;'
	return showIframeModalDialog("/product/brandInfolistpopup.do?_method=initialRegist"+param, "ºê·£µåµî·ÏÆË¾÷", "",  sFeatures);
}

function _PopupBrandNewInfo(_brandNo, _brandNm) {
	this.brandNo			= _brandNo;
	this.brandNm			= _brandNm;
}


function openBrandSearchPopup(param) {
	var width = 750;
	var height = 660;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:yes;help:no;scroll:no;'
	return showIframeModalDialog("/product/BrandSearchPop.do?_method=initial"+param, "ºê·£µå°Ë»öÆË¾÷", "",  sFeatures);
}

function _PopupBrandSearchResult(_brandNo, _brandNm, _importLicenseYn) {
	this.brandNo			= _brandNo;
	this.brandNm			= _brandNm;
	this.importLicenseYn			= _importLicenseYn;
}

//## °ü·ÃÄÁÅÙÃ÷=> ÀÌ»óÇ°ÀÇ ÀÎ¸íÁ¤º¸ ÆË¾÷ ½ÃÀÛ ## 2006-06-30
function openPersonInfoNewPopup(param) {
	var width = 620;
	var height = 410;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:yes;'
	return showIframeModalDialog("/contents/persondictionarydtl.do?_method=popperson"+param, "ÀÎ¸íÁ¤º¸ ÆË¾÷", "",  sFeatures);
}
function _PopupPersonNewInfo(_bindingdtl,_dtlHtmlYn) {
	this.bindingdtl			= _bindingdtl;
    this.dtlHtmlYn	        = _dtlHtmlYn;
}


//## ºê·£µå°üÆË¾÷ ½ÃÀÛ ## ºò¿µ¼ö Ãß°¡ - 2006.08.08
function openBrandHomePopup(param) {
	var width = 724;
	var height = 434;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:yes;'
	return showIframeModalDialog("/displaycategory/FashionBrand.do?_method=listPop"+param, "ºê·£µåÆË¾÷", "",  sFeatures);
}

function popBrandHomeInfo(shop_no, disp_no, disp_nm, brand_no, brand_nm) {
	this.shop_no = shop_no;
	this.disp_no = disp_no;
	this.disp_nm = disp_nm;
	this.brand_no = brand_no;
	this.brand_nm = brand_nm;
}
//## ºê·£µå°üÆË¾÷ ³¡ ## ºò¿µ¼ö Ãß°¡ - 2006.08.08

//ÀÌ¹ÌÁö¹Ì¸®º¸±â
function popupProductImageView(param) {
	var width = 800;
	var height = 700;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:yes;'
	return popupModalDialog("/product/sellerProductManage.do?_method=viewImg"+param, sFeatures);
}
//##Á¤»êÁ¤º¸ Ãß°¡ ## ±èÇýÁ¤ --2006.10.31

function popupGridSelEntrInfo(param)
{
	var width = 693;
	var height = 530;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/enterprise/enterprisehislist.do?_method=initialSelInfoPopup&" + param, "Á¤»êÁ¤º¸", "", sFeatures);
}


//¾÷Ã¼ÀÌ·ÂÁ¤º¸
function popupGridEntrInfo(param)
{
	var width = 693;
	var height = 530;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/enterprise/enterprisehislist.do?_method=initialEntrInfoPopup&" + param, "¾÷Ã¼ÀÌ·ÂÁ¤º¸", "", sFeatures);
  
}

//¾÷Ã¼°ü¸®Á¤º¸
function popupGridEntrMngInfo(param)
{
	var width = 693;
	var height = 530;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/enterprise/enterprisehislist.do?_method=initialEntrMngInfoPopup&" + param, "¾÷Ã¼°ü¸®Á¤º¸", "", sFeatures);
  
}


function popupGridSellerMngInfo(param)
{
	var width = 693;
	var height = 530;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/enterprise/enterprisehislist.do?_method=initialSellerMngInfoPopup&" + param, "ÆÇ¸ÅÀÚ°ü¸® Á¤º¸", "", sFeatures);
  
}
//scmÀ¯ÇüÁ¤º¸
function popupGridScmInfo(param)
{
	var width = 693;
	var height = 530;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/enterprise/enterprisehislist.do?_method=initialScmInfoPopup&" + param, "SCMÀ¯Çü Á¤º¸", "", sFeatures);
  
}
//¹è¼ÛÁ¤º¸
function popupGridDelvInfo(param)
{
	var width = 693;
	var height = 530;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/enterprise/enterprisehislist.do?_method=initialDelvInfoPopup&" + param, "¹è¼ÛÁ¤º¸", "", sFeatures);
  
}

//¹è¼ÛÁ¤Ã¥ Á¤º¸
function popupGridDeliveryCostPolicy(param)
{
	var width = 693;
	var height = 530;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/enterprise/enterprisehislist.do?_method=initialDelvPolicyInfoPopup&" + param, "¹è¼ÛÁ¤Ã¥ Á¤º¸", "", sFeatures);
  
}

//¹è¼ÛÁ¤Ã¥ »ó¼¼Á¤º¸
function doListHistoryDeliveryCostPolicyDtl(param)
{
	var width = 693;
	var height = 530;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/enterprise/enterprisehislist.do?_method=initialDelvPolicyDtlInfoPopup&" + param, "¹è¼ÛÁ¤Ã¥ »ó¼¼Á¤º¸", "", sFeatures);

  
}
//popupGridSaleInfo
function popupGridSaleInfo(param)
{
	var width = 693;
	var height = 530;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/enterprise/enterprisehislist.do?_method=initialSaleInfoPopUp&" + param, "¿µ¾÷Á¤º¸ÀÌ·Â", "", sFeatures);

  
}

//¹ÝÇ°¹è¼ÛÁ¤º¸
function popupGridRtnDelvInfo(param)
{
	var width = 693;
	var height = 530;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/enterprise/enterprisehislist.do?_method=initialRtnDelvInfoPopup&" + param, "¹ÝÇ°¹è¼ÛÁ¤º¸", "", sFeatures);  
}

// Àü½ÃºÐ·ù°ü¸®¸Ê¹øÈ£°Ë»ö(ÆÇ¸ÅÀÚ¸Å´ÏÁ® µî·Ï¿ë)
// param _style
// param shopNo
function popupAdjTributaryInfoNew(param, param1)
{
	var width = 770;
	var height = 583;

	if(param == "" && param == null) param = "_style=ipss";
	if(param1 !="" && param1!=null) param1 = "shopNo="+param1;

	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:yes;help:no;scroll:no;'
	return showIframeModalDialog("/product/popAdjTributaryOptInfo.do?_method=initialReg&" + param + "&" +param1, "»óÇ°ºÐ·ùÁ¶È¸", "", sFeatures);

}

//Àü½Ã±¸¼º ÂüÁ¶_´ë·®»óÇ°µî·Ï¿ë
function popupHtmlDipslayUpload(param)
{
	var width = 700;
	var height = 590;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:yes;'
	return showIframeModalDialog("/display/displaypop.do?_method=initialUpload&type=common" + param, "Ä«Å×°í¸®¼±ÅÃ", "",  sFeatures);

}

// _dispNo : Àü½Ã¹øÈ£
// _dispNm : Àü½Ã¸í
// _shopNo : »óÁ¡¹øÈ£
// _shopNm : »óÁ¡¸í
function _PopupResult_DisplayUpload(_shopNo1,_dispNo1,_dispNm1,_lastDepth1,_stdDelvwhDt1,_shopNo2,_dispNo2,_dispNm2,_lastDepth2,_stdDelvwhDt2,_shopNo3,_dispNo3,_dispNm3,_lastDepth3,_stdDelvwhDt3){
	this.shopNo1		= _shopNo1;
	this.dispNo1		= _dispNo1;
	this.dispNm1		= _dispNm1;
	this.lastDepth1	= _lastDepth1;
	this.stdDelvwhDt1	= _stdDelvwhDt1;
	this.shopNo2		= _shopNo2;
	this.dispNo2		= _dispNo2;
	this.dispNm2		= _dispNm2;
	this.lastDepth2	= _lastDepth2;
	this.stdDelvwhDt2	= _stdDelvwhDt2;
	this.shopNo3		= _shopNo3;
	this.dispNo3		= _dispNo3;
	this.dispNm3		= _dispNm3;
	this.lastDepth3	= _lastDepth3;
	this.stdDelvwhDt3	= _stdDelvwhDt3;
}

function openUploadInvoice(param) {
	var width = 754;
	var height = 722;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:yes;'
	popupModalDialog("/delivery/InvoiceNumberPopup.do?_method=initial" + param, sFeatures);
}

// »óÇ°°Ë»öÆË¾÷°á°ú ¹Þ¾Æ¿À±â ÆË¾÷
function _PopupResult_ProductSearchCopy(_prdNo){
	this.prdNo			= _prdNo;
}

//»óÇ°º¹»ç¿ë »óÇ°°Ë»öÆË¾÷
function popupProductSearchCopy(param)
{
	var width = 830;
	var height = 600;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:yes;help:no;scroll:no;'
	return showIframeModalDialog("/product/SellerProductSearchPopup.do?_method=initial" + param, "»óÇ°°Ë»ö", "",  sFeatures);

}

//ÁÖ¹®¼±ÅÃ »çÇ×ÆíÁýÆË¾÷
function popupProductOptionManage(param)
{
	var width = 730;
	var height = 715;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:yes;help:no;scroll:yes;'
	popupModalDialog("/product/sellerProductOptionManage.do?_method=form" + param, sFeatures);

}

//½Å±ÔÁÖ¹®¼±ÅÃ »çÇ×ÆíÁýÆË¾÷
function popupProductOptionManageNew(param)
{
	var width = 785;
	var height = 585;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:yes;help:no;scroll:yes;'
	popupModalDialog("/product/sellerProductOptionManage.do?_method=formNew" + param, sFeatures);

}

//¼ö¼ö·á°è»ê±âÆË¾÷
function popupCalculateOmFee(param)
{
	var url = "/product/CalculateOmFee.do?_method=initial" + param;

	var _winObj = window.open(url,"pop_ipss_cate","status=yes,resizable=no,scrollbars=no,width=745,height=610,left=100,top=100");
	_winObj.focus();

}

//I-Æ÷ÀÎÆ®¸ô µî·ÏÆË¾÷
function popupIpointRegist(param)
{
	var url = "/product/SellerProductRegist.do?_method=ipointForm" + param;

	var _winObj = window.open(url,"pop_ipss_poinMall","status=yes,resizable=no,scrollbars=no,width=639,height=464,left=100,top=50");
	_winObj.focus();

//	var width = 660;
//	var height = 610;
//	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:yes;help:no;scroll:no;'
//	popupModalDialog("/product/SellerProductRegist.do?_method=ipointForm" + param, sFeatures);

}

//ÇÁ¸®¹Ì¾ö±¤°íÆË¾÷
function popupAdBuy(param)
{
	var _winObj = window.open("/advertise/PrdDispAdBuyMgt.do?_method=prdAdModForm&_style=ipssPro&prdNo=" + param, "»óÇ°±¤°í½ÅÃ»","toolbar=yes,status=yes,menubar=yes,scrollbars=yes, resizable=yes,left=100,top=50");

}


// TNS Å°¿öµå °á°ú ¹Þ¾Æ¿À±â ÆË¾÷
function _PopupResult_popupTnsKeywd(_keywd, _prdNm){
	this.keywd			= _keywd;
	this.prdNm			= _prdNm;
}

//TNS Å°¿öµå ÆË¾÷
function popupTnsKeywd(param)
{
	var width = 850;
	var height = 400;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:yes;help:no;scroll:yes;'
	return showIframeModalDialog("/tns/TnsMonitoring.do?_method=prdKeywd&_style=ibss&prdNo=" + param, "¼îÇÎÅÂ±×Á¤º¸", "",  sFeatures);

}


// S¸Ó´Ï ÇÑµµ ÀÌ·Â Popup : Grid
// ¸¶ÀÌ³Ê½º S¸Ó´Ï ÇÑµµ ÀÌ·Â Á¤º¸
function popupGridUnCollectLmtHis(param)
{
	var width = 600;
	var height = 500;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/enterprise/EntrUnCollectSearchList.do?_method=initialLmt&" + param, "S¸Ó´ÏÇÑµµÁ¶È¸", "", sFeatures);
}


//## ÆÇ¸ÅÀÚ Á¤º¸ ÆË¾÷ ½ÃÀÛ ##
function openSellerInfoPopup(param) {
	var _width = 325;
	var _height = 320;
    var loc_width = (screen.width - _width) / 2;
    var loc_height = (screen.height - _height) / 2;
	var sFeatures = 'height='+_height+',width='+_width+',top='+loc_height+',left='+loc_width+',scrollbars=no'
	var _winObj = window.open("/mypage/enterprise/SellerInfo.do?_method=initial&" + param, "sellerInfoWin", sFeatures);
	_winObj.focus();

}
//## ÆÇ¸ÅÀÚ Á¤º¸ ÆË¾÷ ³¡ ##


//## ÆÇ¸ÅÀÚÀÇ ´Ù¸¥»óÇ°º¸±âÆË¾÷ ½ÃÀÛ ##

// »óÇ°°Ë»öÆË¾÷°á°ú ¹Þ¾Æ¿À±â ÆË¾÷
function _PopupResult_SellerOtherProductSearch(_prdNos){
	this.prdNos			= _prdNos;
}
    
// ÀÎ±âÅ°¿öµå ÆË¾÷°á°ú ¹Þ¾Æ¿À±â ÆË¾÷
function _PopupResult_KeywdList(_keywdNos)
{
	this.keywdNos = _keywdNos;
}

// ÀÎ±âÅ°¿öµå ÆË¾÷
function popupSellerSearchHitKeywd(param)
{
	var width  = 732;
	var height = 674;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:yes;help:no;scroll:auto;'
	return showIframeModalDialog("/advertise/AdKeywdSearchIpss.do?_method=hitKeywd" + param, "ÀÎ±âÅ°¿öµå", "",  sFeatures);

}

//½ÃÁðÅ°¿öµå ÆË¾÷
function popupSellerSearchThemeKeywd(param)
{
	var width  = 732;
	var height = 674;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:yes;help:no;scroll:auto;'
	return showIframeModalDialog("/advertise/AdKeywdSearchIpss.do?_method=themeKeywd" + param, "¿ùº°Å°¿öµå", "",  sFeatures);

}

//»óÇ°º¹»ç¿ë »óÇ°°Ë»öÆË¾÷
function popupSellerOtherProductSearch(param)
{
	var width = 750;
	var height = 850;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:yes;help:no;scroll:auto;'
	return showIframeModalDialog("/product/SellerProductSearchPopup.do?_method=otherForm" + param, "ÆÇ¸ÅÀÚÀÇ´Ù¸¥»óÇ°", "",  sFeatures);

}
//## ÆÇ¸ÅÀÚÀÇ ´Ù¸¥»óÇ°º¸±âÆË¾÷ ³¡ ##

//## ÆÇ¸ÅÀÚ¸Å´ÏÁ® »óÇ°°Ë»öÆË¾÷(±¤°í¿ë) ½ÃÀÛ ##

// »óÇ°°Ë»öÆË¾÷°á°ú ¹Þ¾Æ¿À±â ÆË¾÷
function _PopupResult_SellerProductSearchForAd(_prdNo,_prdNm,_saleStrDts,_saleEndDts){
	this.prdNo			= _prdNo;
	this.prdNm			= _prdNm;
	this.saleStrDts			= _saleStrDts;
	this.saleEndDts			= _saleEndDts;
}

//±¤°í¿ë »óÇ°°Ë»öÆË¾÷
function popupSellerProductSearchForAd(param)
{
	var width = 735;
	var height = 780;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:yes;help:no;scroll:auto;'
	return showIframeModalDialog("/product/SellerProductSearchPopup.do?_method=adSearch" + param, "»óÇ°°Ë»ö", "",  sFeatures);

}
//## ÆÇ¸ÅÀÚ¸Å´ÏÁ® »óÇ°°Ë»öÆË¾÷(±¤°í¿ë) ³¡ ##


//ÆÇ¸ÅÀÚ ´Ù¸¥»óÇ°º¸±â µî·ÏÆË¾÷
function popupOtherPrdAdRegist(param)
{
	var url = "/advertise/AdLinkPrdMassApply.do?_method=adLinkPrdMassApplyForm" + param;

	var _winObj = window.open(url,"pop_otherPrdAd","status=yes,resizable=no,scrollbars=no,width=650,height=585,left=100,top=50");
	_winObj.focus();

//	var width = 660;
//	var height = 610;
//	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:yes;help:no;scroll:no;'
//	popupModalDialog("/product/SellerProductRegist.do?_method=ipointForm" + param, sFeatures);

}

//ÇÁ¸®¹Ì¾ö ÀÏ°ýµî·Ï ÆË¾÷
function popupPremiumAdRegist(param)
{
	var url = "/advertise/AdPremiumMassApply.do?_method=adPremiumMassApplyForm" + param;
	var _winObj = window.open(url,"pop_otherPrdAd1","status=yes,resizable=no,scrollbars=no,width=650,height=620,left=100,top=50");
	_winObj.focus();
}

// ÁöÀûÀç»ê±Ç ¼ÒÀ¯ÀÚ »ó¼¼Á¤º¸ÆË¾÷
function popupIntellectualProperty(param){

	var width = 642;
	var height = 610;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	popupModalDialog("/tns/IntellectualProperty.do?_method=detailPop&" + param, sFeatures);
}


// Ãß°¡±¸¼º»óÇ° ¸ÅÀÔ¿ø°¡º¸±â
function popupAddOptionMargRt(param){

	var width = 790;
	var height = 400;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	popupModalDialog("/product/sellerProductManage.do?_method=getMargRt&" + param, sFeatures);
}

//## ÆÇ¸ÅÀÚ¸Å´ÏÁ® »óÇ°¿É¼ÇºÒ·¯¿À±â ½ÃÀÛ ##

// »óÇ°¿É¼ÇºÒ·¯¿À±â°á°ú ¹Þ¾Æ¿À±â ÆË¾÷
function _PopupResult_SelectOptionCopy(_prdNo){
	this.prdNo			= _prdNo;
}

//»óÇ°¿É¼ÇºÒ·¯¿À±âÆË¾÷
function popupSelectOptionCopy(param,title)
{
	var width = 823;
	var height = 883;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:yes;help:no;scroll:auto;'
	return showIframeModalDialog("/product/sellerProductOptionManage.do?_method=copyOptForm" + param, title, "",  sFeatures);
}
//## ÆÇ¸ÅÀÚ¸Å´ÏÁ® »óÇ°¿É¼ÇºÒ·¯¿À±â ³¡ ##



//## °ø±Þ¾÷Ã¼ Á¤º¸ ÆË¾÷ ½ÃÀÛ ##
function openSupplyContractPopup(param) {
	var _width = 550;
	var _height = 350;
    var loc_width = (screen.width - _width) / 2;
    var loc_height = (screen.height - _height) / 2;
	var sFeatures = 'height='+_height+',width='+_width+',top='+loc_height+',left='+loc_width+',scrollbars=no'
	var _winObj = window.open("/orderforicss/EntrDetailInfo.do?_method=Info" + param, "sellerInfoWin", sFeatures);
	_winObj.focus();

}
//## ÆÇ¸ÅÀÚ Á¤º¸ ÆË¾÷ ³¡ ##


// CSM Ä·ÆäÀÎ Á¤º¸ Popup : Grid
function popupGridCmp(param)
{
	var width = 650;
	var height = 500;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/event/CampaignIcss.do?_method=cmpInitial&" + param, "Ä·ÆäÀÎÁ¶È¸", "", sFeatures);
}
// CSM Ä·ÆäÀÎ Popup
// _cmpNo : ¾÷Ã¼¹øÈ£
// _cmpNm : ¾÷Ã¼¸í
function _PopupResult_CsmCmp(_cmpNo, _cmpNm, _disgcloserYn){
	this.cmpNo			= _cmpNo;
	this.cmpNm			= _cmpNm;
	this.disgcloserYn	= _disgcloserYn;
}

// eÂù½º¾÷Ã¼ Popup : Grid
function popupGridEchanceEntr(param)
{
	var width = 650;
	var height = 500;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/smoney/SMIbsEchanceEntrSearchList.do?_method=initialEchanceEntr&" + param, "¾÷Ã¼Á¶È¸", "", sFeatures);
}

// eÂù½º»óÇ° PopUp :Grid
function popupGridEchancePrd(param)
{
	var width = 657;
	var height = 570;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/smoney/SMIbsEchancePrdSearchList.do?_method=initialEchancePrd" + param, "»óÇ°Á¶È¸", "", sFeatures);
}

// eÂù½º¾÷Ã¼ Popup
// _entrNo : ¾÷Ã¼¹øÈ£
// _entrNm : ¾÷Ã¼¸í
function _PopupResult_EchanceEntr(_entrNo, _entrNm, _telNo, _disgcloserYn){
	this.entrNo			= _entrNo;
	this.entrNm			= _entrNm;
	this.telNo			= _telNo;
	this.disgcloserYn	= _disgcloserYn;
}

// eÂù½º»óÇ° PopUp
// _prdNo : »óÇ°¹øÈ£
// _prdNm : »óÇ°¸í
function _PopupResult_EchancePrd(_prdNo, _prdNm, _disgcloserYn){
	this.prdNo			= _prdNo;
	this.prdNm			= _prdNm;
	this.disgcloserYn	= _disgcloserYn;
}


//ÀÌ½´¸ð´ÏÅÍ¸µ À§¹Ý³»¿ª ÆË¾÷
function popupIssueMonitoringSanc(param)
{
	var width = 800;
	var height = 670;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	popupModalDialog("/tns/TnsIssueMonitoring.do?_method=sanc&_style=ibss" + param, sFeatures);

}

// ³ªÀÇ ÁÖ¼Ò·Ï ÆË¾÷
function popupMyAddrList(callTp) {	

	if(callTp == "") {
		alert("¿äÃ» URLÀÌ ¾ø½À´Ï´Ù.");
		return;	
	}
	
	var _width = 710;
	var _height = 520;
    var loc_width = (screen.width - _width) / 2;
    var loc_height = (screen.height - _height) / 2;
	var sFeatures = 'height='+_height+',width='+_width+',top='+loc_height+',left='+loc_width+',scrollbars=yes'
	var _winObj = window.open("/member/memberDevlAddr.do?_method=list&callTp=" + callTp, "myAddrListWin", sFeatures);
	_winObj.focus();
}

//ipss-main ¹ÝÇ°/±³È¯¹«·áÄíÆù ¾Ë¸²
function popupRtnCouponNotice(param,param1,param2)
{ 
	var width = 776;
	var height = 662;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;scroll:no;center:yes;status:no;help:no;';

//	return popupModalDialog("/enterprise/RtnPrdCostAgree.do?_method=AgreePopup&RtnPrdCost="+param+"&RtnCostModYn="+param1+"&RtnCostClYn="+param2,  sFeatures);
	return showIframeModalDialog("/enterprise/RtnPrdCostAgree.do?_method=AgreePopup&RtnPrdCost="+param+"&RtnCostModYn="+param1+"&RtnCostClYn="+param2, "¹«·á¹ÝÇ°/±³È¯ ¹è¼Ûºñ ¼³Á¤", "", sFeatures);
}


//Ä«µåÇÒÀÎ µ¿ÀÇÆË¾÷
function popupCardDiscount()
{ 
	var width = 596;
	var height = 656;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;scroll:no;center:yes;status:no;help:no;';

	return showIframeModalDialog("/enterprise/supplyContractAgree.do?_method=cardDiscountAgreePopup", "Ä«µåÃ»±¸ÇÒÀÎµ¿ÀÇ", "", sFeatures);
}

//¹«·á¹è¼Û½ÅÃ» µ¿ÀÇÆË¾÷
function popupFreeDelv()
{ 
	var width = 356;
	var height = 520;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;scroll:no;center:yes;status:no;help:no;';

	return showIframeModalDialog("/enterprise/supplyContractAgree.do?_method=freeDelvAgreePopup", "¹«·á¹è¼Û½ÅÃ»µ¿ÀÇ", "", sFeatures);
}

//ÆÇ¸ÅÀÚ ¼öÀÍ±â¿© ¸ñÇ¥¼³Á¤ ÀÌ·Â ÆË¾÷
//°ø±Þ°è¾à¾÷Ã¼ Popup : Grid
function popupGridRevenuGoalHis(param)
{
	var _width = 1000;
	var _height = 500;
    var loc_width = (screen.width - _width) / 2;
    var loc_height = (screen.height - _height) / 2;
	var sFeatures = 'height='+_height+',width='+_width+',top='+loc_height+',left='+loc_width+',scrollbars=no'
	var _winObj = window.open("/revcontb/RevenueGoalMng.do?_method=hisInitial&"+param, "revenueGoalWin", sFeatures);
	_winObj.focus();
}


//ÆÇ¸ÅÈ°µ¿Á¤º¸ ÀÌ·Â ÆË¾÷
function popupGridEntrActInfoHis(param)
{
	var _width = 776;
	var _height = 500;
    var loc_width = (screen.width - _width) / 2;
    var loc_height = (screen.height - _height) / 2;
	var sFeatures = 'height='+_height+',width='+_width+',top='+loc_height+',left='+loc_width+',scrollbars=no'
	var _winObj = window.open("/enterprise/EntrActInfoHisList.do?_method=initialPopup&"+param, "ÆÇ¸ÅÈ°µ¿Á¤º¸ÀÌ·Â", sFeatures);
	_winObj.focus();
}

//## ÆÇ¸ÅÀÚ¸Å´ÏÁ® ÆÇ¸ÅÀÚ±âÈ¹ÀüºÐ·ù Å¸ÀÔÆË¾÷ ºÒ·¯¿À±â ½ÃÀÛ ##

// ±âÈ¹Àü»óÇ°Àü½ÃÀ¯Çü¼±ÅÃ°á°ú ¹Þ¾Æ¿À±â ÆË¾÷
function _PopupResult_SelectEventDivType(_evtDivTp){
	this.evtDivTp			= _evtDivTp;
}

//±âÈ¹Àü»óÇ°Àü½ÃÀ¯Çü¼±ÅÃ ÆË¾÷
function popupSelectEventDivType(param)
{
	var width = 795;
	var height = 655;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:yes;help:no;scroll:auto;'
	return showIframeModalDialog("/event/SellerEvent.do?_method=divTypePop" + param, "±âÈ¹Àü»óÇ°Àü½ÃÀ¯Çü¼±ÅÃ", "",  sFeatures);
}

//±âÈ¹Àü Àü½ÃºÐ·ù »óÇ°ÀÌµ¿
function popupSelectEventPrdMove(param)
{ 
	var width = 450;
	var height = 220;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	popupModalDialog("/event/SellerEvent.do?_method=prdMove" + param, sFeatures);
}

//## ÆÇ¸ÅÀÚ¸Å´ÏÁ® ÆÇ¸ÅÀÚ±âÈ¹ÀüºÐ·ù Å¸ÀÔÆË¾÷ ºÒ·¯¿À±â ³¡ ##



//[2009-02-12] ÀÌÁ¤¹ü Ãß°¡
//ºñ¹Ð¹øÈ£ ¸ð´ÞÃ¢ ¿ÀÇÂ
//[14763][È¸¿ø·Î±×ÀÎ]±Ý°¨¿ø °³¼±»çÇ×  ºñ¹Ð¹øÈ£ °­È­ Á¤Ã¥ »çÀÌÆ® ¹Ý¿µ ¿äÃ»ÀÇ °Ç
function modalOpenMemberUpdate(str) {

	var msgOk = "È¸¿ø´ÔÀÇ ºñ¹Ð¹øÈ£°¡ º¯°æ µÇ¾ú½À´Ï´Ù.";
	var msgFail = "ºñ¹Ð¹øÈ£ º¯°æ½Ã ¿À·ù°¡ ¹ß»ýÇÏ¿´½À´Ï´Ù.";
	
	var width = 485;
	var height = 520;	
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px; scroll:no; center:yes; status:no; help:no; fullscreen:yes';
	
	var mObj;
	if (str == "memberUpdate") {
		mObj = showIframeModalDialog("/member/ibsuserlogin.do?_method=passwordUpdateForm&userPwdCallTp="+str, "³ªÀÇ ºñ¹Ð¹øÈ£ º¯°æ", "", sFeatures);
	}
	else {
		mObj = showIframeModalDialog("/member/ibsuserlogin.do?_method=passwordUpdateForm", "³ªÀÇ ºñ¹Ð¹øÈ£ º¯°æ", "", sFeatures);
	}
	
	if (mObj.indexOf("updateOk") > -1) {
		alert(msgOk);
		var mObjs = mObj.split("@");
		if (mObjs[1] != "/ibss/default.do") {
			window.open(mObjs[1], "_self", "");
		}
	}
	
	if (mObj == "memberUpdate") {
		alert(msgOk);
	}
	
	if (mObj == "updateFail") {
		alert(msgFail);
		window.open("/member/ibsuserlogin.do?_method=logOut", "_self", "");
	}
	
	if (mObj.indexOf("closeBtn") > -1) {
		var mObjs2 = mObj.split("@");
		if (mObjs2[1] != "") {
			window.open("/member/ibsuserlogin.do?_method=logOut", "_self", "");
		}
	}
}

//Äü¹è¼Û°¡´É ¼³Á¤ ÆË¾÷
function popupQuickDelvDayRegist(param)
{
	var width = 510;
	var height = 326;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;scroll:no;center:yes;status:no;help:no;';
	return showIframeModalDialog("/enterprise/EntrQuickDelvDaySet.do?_method=InitPopup&_style=ipssPro"+param, "Äü¹è¼Û°¡´É¿äÀÏ ¼³Á¤", "", sFeatures);
}

function _PopupResult_QuickDelvDay(_quickDelvDay){
	this.quickDelvDay		= _quickDelvDay;
}

// ¾÷Ã¼ ¹è¼ÛÁö ¼³Á¤ ÆË¾÷ (¸ð´ÞÆË¾÷)
function popupEntrDelvInfo(param){
	var width = 830;
	var height = 504;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;scroll:no;center:yes;status:no;help:no;';
	return showIframeModalDialog("http://ipss.interpark.com/enterprise/EntrDelvInfo.do?_method=List&_style=ipssPro"+param, "¹ÝÇ°Áö ¹è¼ÛÁö ¼³Á¤", "", sFeatures);
} 

// ¾÷Ã¼ ¹è¼Ûºñ ¸®ÅÏ°ª ¼³Á¤
function _PopupResult_DelvInfo( _entrDelvInfoNo,_delvHp,_delvTelNo,_delvAddr1,_delvAddr2,_delvZipCd,_delvNm ){
	this.entrDelvInfoNo	= _entrDelvInfoNo;	//¹è¼ÛÁö ¹øÈ£
	this.delvHp			= _delvHp;			//ÈÞ´ëÆù ¹øÈ£
	this.delvTelNo		= _delvTelNo;		//ÀÏ¹ÝÀüÈ­¹øÈ£
	this.delvAddr1		= _delvAddr1;		//ÁÖ¼Ò
	this.delvAddr2		= _delvAddr2;		//ÁÖ¼Ò»ó¼¼
	this.delvZipCd		= _delvZipCd;		//¿ìÆí¹øÈ£
	this.delvNm			= _delvNm;			//¹è¼ÛÁö ¸í
}


// ¾÷Ã¼ ¹è¼Ûºñ ¸®ÅÏ°ª ¼³Á¤
function _PopupResult_DelvInfo2( _entrDelvInfoNo,_delvHp1,_delvHp2,_delvHp3,_delvTelNo1,_delvTelNo2,_delvTelNo3,
									_delvAddr1,_delvAddr2,_delvZipCd1,_delvZipCd2,_delvNm ){
	this.entrDelvInfoNo	= _entrDelvInfoNo;	//¹è¼ÛÁö ¹øÈ£
	this.delvHp1		= _delvHp1;			//ÈÞ´ëÆù ¹øÈ£
	this.delvHp2		= _delvHp2;			//ÈÞ´ëÆù ¹øÈ£
	this.delvHp3		= _delvHp3;			//ÈÞ´ëÆù ¹øÈ£
	this.delvTelNo1		= _delvTelNo1;		//ÀÏ¹ÝÀüÈ­¹øÈ£
	this.delvTelNo2		= _delvTelNo2;		//ÀÏ¹ÝÀüÈ­¹øÈ£
	this.delvTelNo3		= _delvTelNo3;		//ÀÏ¹ÝÀüÈ­¹øÈ£
	this.delvAddr1		= _delvAddr1;		//ÁÖ¼Ò
	this.delvAddr2		= _delvAddr2;		//ÁÖ¼Ò»ó¼¼
	this.delvZipCd1		= _delvZipCd1;		//¿ìÆí¹øÈ£
	this.delvZipCd2		= _delvZipCd2;		//¿ìÆí¹øÈ£
	this.delvNm			= _delvNm;			//¹è¼ÛÁö ¸í
}


// ÆÇ¸ÅÀÚ ´Ù¸¥»óÇ° ¼±ÅÃÆË¾÷. 20090727 Cyma add  
// param : &sc.dispNo=
// param : &sc.pageTp=01 (¸ñ·Ï¿¡¼­ ÃÖÁ¾Ä«Å×°í¸® Ç×¸ñÀ» »©°í ½ÍÀ»¶§)
// param : &sc.isSingle=Y (´Ü¼ö¼±ÅÃÈÄ Ã¢´ÝÀ»¶§)
// param : &sc.sysDepth=  (Ä«Å×°í¸® DEPTH¸¦ DISABLED ½ÃÅ°°í ½ÍÀ»¶§)
// return _PopupResult_SellerAdProductInfo
function popupSellerOtherProductInfo(param)
{
    var width = 786;
    var height = 730;
    
    var ieVersion = ScriptEngineMinorVersion();
    if (ieVersion != '6') {
    	height = 700;
    }
    //alert('ieVersion='+ieVersion+'\nheight='+height);
    
    var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;';

	var args = new _dialogArg(window.document.all['otherPrdNos'].value);
	return showIframeModalDialog("/product/SellerOtherPrdMgt.do?_method=otherInitial&_style=ipssPro"+param, "ÆÇ¸ÅÀÚ ´Ù¸¥»óÇ°Á¶È¸ÆË¾÷", args, sFeatures );
}

function _PopupResult_SellerOtherPrdInfo(_resultValue){
    this.resultValue          = _resultValue;
}

// ÆÇ¸ÅÀÚ ´Ù¸¥»óÇ° ¹Ì¸®º¸±âÆË¾÷. 
// param : &sc.dispNo=
// param : &sc.prdNo=    (ÇÊ¼ö)
function popupSellerOtherPreview(param)
{
    var width = 800
    var height = 400;
    //var height = screen.height - 114;
    var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;';

    return showIframeModalDialog("/product/SellerOtherPrdMgt.do?_method=otherPreview&_style=ipssPro"+param, "ÆÇ¸ÅÀÚ ´Ù¸¥»óÇ° ¹Ì¸®º¸±â", "", sFeatures );
}

//ÆÇ¸ÅÀÚ ´Ù¸¥»óÇ° ³ëÃâÀ¯Çü °ü¸® ÆË¾÷
function popupSellerOthePrdMgt(param)
{

	var width = 885;
	var height = 595;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:yes;help:no;scroll:no;'
	var args = new _dialogArg(window.document.all['otherPrdNos'].value);
	return showIframeModalDialog("/product/SellerOtherPrdMgt.do?_method=initial&_style=ipssPro" + param, "ÆÇ¸ÅÀÚ ´Ù¸¥»óÇ° ³ëÃâÀ¯Çü °ü¸®", args, sFeatures);

}

//´ã´çÀÚ/ºÎ¼­Á¶È¸
function openMgrInformationPopup() {
	var width = 480;
	var height = 550;
	var sFeatures = 'dialogWidth:' + width + 'px;dialogHeight:'+ height+'px;center:yes;status:no;help:no;scroll:no;'
	return showIframeModalDialog("/display/displayMapping.do?_method=popUp", "´ã´çÀÚ/ºÎ¼­Á¶È¸", "",  sFeatures);
}

//´ã´çÀÚ/ºÎ¼­
function _PopupResult_MgrInformationPopup(_mgrNm, _mgrNo, _mgrSabun, _teamNo, _teamNm, _deptNo, _deptNm){
	this.mgrNm      = _mgrNm     ;
	this.mgrNo      = _mgrNo     ;
	this.mgrSabun   = _mgrSabun  ;
    this.teamNo     = _teamNo    ;
    this.teamNm     = _teamNm    ;
    this.deptNo     = _deptNo    ;
    this.deptNm     = _deptNm    ;
} 
