// »óǰ »ó¼¼º¸±â °ü·Ã function clearField(para){ if(para.value==para.defaultValue){ para.value=""; } } function checkField(para){ if(para.value ==""){ para.value = para.defaultValue; } } function show_detail(strGcode,strGoodsName,strGoodsImg,strEmbed,w,h){ var popupwidth = parseInt(w); var popupheight = parseInt(h) + 94; var tp, lf; if (popupwidth < 350) popupwidth = 350; if (popupheight < 190) popupheight = 190; tp = screen.height/2 - popupheight/2 - 100; lf = screen.width/2 - popupwidth/2; if (popupwidth > screen.width) { popupwidth = screen.width; lf = 0; } if (popupheight > screen.height) { popupheight = screen.height; tp = 0; } str_url = "./index_item_view_zoom.html?pGoodsImg=" + strGoodsImg + "&pGcode=" + strGcode + "&pGoodsName=" + strGoodsName + "&pEmbed=" + strEmbed + "&pWidth=" + w + "&pHeight=" + h; str_state = "left="+lf+",top="+tp+",width=" + popupwidth + ",height=" + popupheight + ",toolbar=no,menubar=no,status=no,scrollbars=no,resizable=no"; window.open (str_url,"largeimage",str_state); } function funcLocationUrl(mode, pgCode, mincnt) { ea = eval("document.goodsView.ea"); mincnt = parseInt(mincnt); if (mincnt > 0 && ea.value < mincnt) { alert(""+mincnt+""); ea.value = mincnt; return ; } strUrl = "/skin/process/account_process.php"; if (mode=="M") { strUrl += "?mode=M"; } else if(mode=="C") { strUrl += "?mode=C"; } else { strUrl += "?mode="; } // Çʼö¼±Åà ¿É¼Ç üũ, 2004-05-27 3:05¿ÀÈÄ========================= var cnt = document.goodsView.length; for (i=0; i= 2) { var arrayPara = document.goodsView.elements[i][1].value.split("|"); if (arrayPara[2] == "Y" && (document.goodsView.elements[i].selectedIndex < 0 || document.goodsView.elements[i][document.goodsView.elements[i].selectedIndex].value == "" )) { alert(arrayPara[3]+""); document.goodsView.elements[i].focus(); return ; } if (arrayPara[5] == "Y") { var arraySubPara = document.goodsView.elements[i][document.goodsView.elements[i].selectedIndex].value.split("|"); if(parseInt(arraySubPara[6]) <= 0){ alert(arraySubPara[3]+ " : " + arraySubPara[0] +""); document.goodsView.elements[i].focus(); return ; } } } } }//for // Çʼö¼±Åà ¿É¼Ç üũ, 2004-05-27 3:05¿ÀÈÄ========================= if(!isNumber(document.goodsView.ea.value) || document.goodsView.ea.value > 0 ){ //strUrl += "&pgCode=" + pgCode+ "&ea="+document.goodsView.ea.value; //if(document.goodsView.option_flag.value=="1"){ // strUrl +="&option_key="+document.goodsView.option_content.value; //} //alert(strUrl) //location.href=strUrl; document.goodsView.mode.value = mode; document.goodsView.submit(); }else{ alert(""); document.goodsView.ea.focus(); } } //////////////////////////////////////////// // Àå¹Ù±¸´Ï¿¡¼­ ¼ö·® ¼öÁ¤ ÇÔ¼ö //////////////////////////////////////////// function funcCartUpdateEa(lngCnt,pNo,pGcode, mincnt) { ea = eval("document.cart_form.cart_ea_"+lngCnt); mincnt = parseInt(mincnt); if (mincnt > 0 && ea.value < mincnt) { alert(""+mincnt+""); ea.value = mincnt; return ; } //alert(isNumber(ea.value)); if(!isNumber(ea.value)){ alert(""); ea.focus(); }else{ if(ea.value <= 0){ alert(""); ea.value= ea.defaultValue; ea.focus(); }else{ location.href='/skin/process/cart_process.php?no='+pNo+'&ea='+ea.value+'&flag=P&pGcode='+pGcode; } } } // My Wish ¼±Åûóǰ¿¡ ´ëÇÑ ¼ö·® º¯°æ function funcUpdateEa(lngCnt,pNo,pGcode, mincnt) { ea = eval("document.mywish_form.mywish_ea_"+lngCnt); mincnt = parseInt(mincnt); if (mincnt > 0 && ea.value < mincnt) { alert(""+mincnt+""); ea.value = mincnt; return ; } //alert(isNumber(ea.value)); if(!isNumber(ea.value)) alert(""); else{ if(ea.value <= 0){ alert(""); ea.value= ea.defaultValue; ea.focus(); }else{ location.href='/skin/process/mywish_process.php?no='+pNo+'&ea='+ea.value+'&flag=P&pGcode='+pGcode; } } } function funcSelectAll(form,para,over,out){ if(document.all.img_ck.checkeditem=='N'){ document.all.img_ck.src=over; document.all.img_ck.checkeditem='Y'; }else{ document.all.img_ck.src=out; document.all.img_ck.checkeditem='N'; } for (var i=0; i= parseInt(sendCostLimit) || free_deliver(is_mem, arrayPara[4])) { document.order_Form.sendPrice.value="0"; }else{ document.order_Form.sendPrice.value=FormatComma2('',String(sendCost)); totalCost = parseInt(totalCost)+parseInt(sendCost); } if(document.order_Form.mbm_use_mileage.checked){ mileage = StripComma(document.order_Form.mileage); totalCost = parseInt(totalCost) - parseInt(mileage); } if (document.order_Form.mbm_use_coupon) { if (document.order_Form.mbm_use_coupon.checked) { var sale, i; if (document.order_Form.coupon.length) { for (i=0; i parseInt(r_mileage)){ alert("" + FormatComma2('', r_mileage) + ""); document.order_Form.mileage_value.value = 0; document.order_Form.mileage.value = 0; document.order_Form.totalPrice.value = FormatComma2('',String(parseInt(UnitPrice) + parseInt(sendPrice))); // 2006-03-31 : ¹Ú»óÇö : ¿¡½ºÅ©·Î °ü·Ã ¼öÁ¤ checkEscwPayType(); return ; } if (parseInt(r_mileage_limit2) != 0) { if(parseInt(mileage_value * 1) > parseInt(r_mileage_limit2)){ alert(""+FormatComma2('', r_mileage_limit2)+""); document.order_Form.mileage_value.value = 0; document.order_Form.mileage.value = 0; document.order_Form.totalPrice.value = FormatComma2('',String(parseInt(UnitPrice) + parseInt(sendPrice))); // 2006-03-31 : ¹Ú»óÇö : ¿¡½ºÅ©·Î °ü·Ã ¼öÁ¤ checkEscwPayType(); return ; } } lngTotalCost = parseInt(UnitPrice) + parseInt(sendPrice) - parseInt(mileage_value) - sale; if(lngTotalCost < parseInt(sendPrice)){ alert(""); mileage_value = parseInt(r_mileage)-parseInt(UnitPrice); document.order_Form.mileage.value = UnitPrice; document.order_Form.mileage_value.value = FormatComma2('',String(mileage_value)); lngTotalCost = sendPrice ; }else{ document.order_Form.mileage.value = mileage_value; //document.order_Form.mileage_value.value = 0; } }else{ lngTotalCost = parseInt(UnitPrice) + parseInt(sendPrice) - sale; document.order_Form.mileage_value.value = 0; document.order_Form.mileage.value = 0; } document.order_Form.totalPrice.value = FormatComma2('',String(lngTotalCost)); // 2006-03-31 : ¹Ú»óÇö : ¿¡½ºÅ©·Î °ü·Ã ¼öÁ¤ checkEscwPayType(); } function Find_Zipcode(form,para1,para2){ str_url= "./service1_zipcode.html?formname="+form+"¶1="+para1+"¶2="+para2; str_state = "left=200,top=0,width=415,height=180,toolbar=no,menubar=no,status=no,scrollbars=yes,resizable=no"; window.open (str_url,"zipcode",str_state); } function locationConfirm(form,mode){ if(mode=="cancel"){ location.href="/"; }else{ form.action='/skin/process/payment_process.php'; form.submit(); } } // 2005-08-11 : ¹Ú»óÇö : ³×À̹ö Áö½Ä¼îÇÎ °ü·Ã : ¿ÜºÎ»çÀÌÆ® ¿¬°è¿¡ µû¸¥ °áÁ¦¼ö´Ü ¿¬µ¿ : KCP //function chkKCPSafeBuy(){ /** function chkNaverLogin(form){ var chkNaverLoginPop; //var str_url= "/skin/process/naver_safebuy_check.php"; var domain = form.cook_User_Domain_Name.value; var str_url ='http://shopping.naver.com/login/login_check3.nhn?rurl='+domain+'/skin/process/naver_login_ok.php'; var str_state = "left=200,top=0,width=415,height=172,toolbar=no,menubar=no,status=no,scrollbars=yes,resizable=no"; chkNaverLoginPop = window.open(str_url,"chkNaverLoginPop",str_state); if(!chkNaverLoginPop){ show_chkNaverLoginPop('visible'); }else { chkNaverLoginPop.focus(); show_chkNaverLoginPop('hidden'); } } **/ // 2005-11-14 : ¹Ú»óÇö : ³×À̹ö ÁÖ¹® ÇÁ·Î¼¼½º °³¼± // 2005-12-15 : ¹Ú»óÇö : ³×À̹ö Áö½Ä¼îÇÎ ¿¡½ºÅ©·Î KCP Á¦°Å °ü·Ã ¼öÁ¤ --> Á¦°Å /** function chkNaverLogin(domain){ var chkNaverLoginPop; var strDomain = domain; var str_url ='http://shopping.naver.com/login/login_check3.nhn?rurl='+domain+'/skin/process/naver_login_ok.php'; var str_state = "left=200,top=0,width=415,height=172,toolbar=no,menubar=no,status=no,scrollbars=yes,resizable=no"; chkNaverLoginPop = window.open(str_url,"chkNaverLoginPop",str_state); if(!chkNaverLoginPop){ show_chkNaverLoginPop('visible'); }else { chkNaverLoginPop.focus(); show_chkNaverLoginPop('hidden'); } } **/ // 2005-08-17 : ¹Ú»óÇö : ³×À̹ö Áö½Ä¼îÇÎ °ü·Ã : POPUP Â÷´Ü½Ã °æ°í ½ºÅ©¸³Æ® // 2005-12-15 : ¹Ú»óÇö : ³×À̹ö Áö½Ä¼îÇÎ ¿¡½ºÅ©·Î KCP Á¦°Å °ü·Ã ¼öÁ¤ --> Á¦°Å /** function show_chkNaverLoginPop(chkVisible) { var _x = document.body.clientWidth/2 + document.body.scrollLeft - 250; var _y = document.body.clientHeight/2 + document.body.scrollTop - 90; nvloginwait.style.visibility=chkVisible; nvloginwait.style.posLeft=_x; nvloginwait.style.posTop=_y; } **/ // 2005-08-17 : ¹Ú»óÇö : ³×À̹ö Áö½Ä¼îÇÎ °ü·Ã : POPUP Â÷´Ü½Ã °æ°í ½ºÅ©¸³Æ® // 2005-12-15 : ¹Ú»óÇö : ³×À̹ö Áö½Ä¼îÇÎ ¿¡½ºÅ©·Î KCP Á¦°Å °ü·Ã ¼öÁ¤ --> Á¦°Å /** function naverStep() { var tmpwin=window.open('about:blank',"_blank","width=770, height=520, resizeable=no"); tmpwin.location="http://shopping.naver.com/help/step_01.nhn"; } **/ // 2005-08-11 : ¹Ú»óÇö : ³×À̹ö Áö½Ä¼îÇÎ °ü·Ã : ¿ÜºÎ»çÀÌÆ® ¿¬°è¿¡ µû¸¥ °áÁ¦¼ö´Ü ¿¬µ¿ : KCP /** function confirmSafeBuy(form, mode){ if(mode=="N"){ window.opener.document.thisform.action='/skin/process/payment_process.php'; window.opener.document.thisform.submit(); self.close(); }else{ var domain = form.cook_User_Domain_Name.value; form.action='http://shopping.naver.com/login/login_check3.nhn?rurl='+domain+'/skin/process/naver_login_ok.php'; form.submit(); } } **/ function ck_cardFormValue(form, card_company){ if (card_company == "3") { checkForm(); // mserver.js ÇÔ¼ö } else { //if(form.card_name.value==""){ // alert("Ä«µå ¼ÒÀ¯ÀÚ¸¦ ÀÔ·ÂÇØ Áֽʽÿä.!"); // form.card_name.focus(); // return ; //} if(form.card_no.value==""){ alert(""); form.card_no.focus(); return ; } if(form.card_no.value.length > 17){ alert(""); form.card_no.focus(); return ; } if(form.cardexp_yy.value=="00"){ alert(""); form.cardexp_yy.focus(); return ; } if(form.cardexp_mm.value=="00"){ alert(""); form.cardexp_mm.focus(); return ; } if(form.dacom_pin.value==""){ alert(""); form.dacom_pin.focus(); return ; } form.submit(); } } function Trim( strValue ) { var ReturnValue = ""; var spaceLCount = 0; var spaceRCount = 0; if( strValue == "" ) return ""; for(i=0;i<(strValue.length-1);i++) { if(strValue.charAt(i) == " "){ spaceLCount ++; } if(strValue.charAt(i+1) != " "){ break; } } for(i=strValue.length-1 ; i > 1 ; i--) { if(strValue.charAt(i) == " "){ spaceRCount ++; } if(strValue.charAt(i-1) != " "){ break; } } ReturnValue = strValue.substr(spaceLCount,strValue.length-(spaceRCount+spaceLCount)); return ReturnValue; } // ¿Â¶óÀÎ »ç¶÷ µî·Ïó¸® function funcOnLineResult(form){ if(Trim(form.pm_onlinename.value)==""){ form.pm_onlinename.value =""; alert(""); form.pm_onlinename.focus(); return; } form.submit(); } // ¿À¹ö½Ã ´Ù¸¥°¢µµÀ̹ÌÁö·Î function funcItemView(piece, size_x, size_y) { // document.itemdetail.src = "/skin/process/image.php?img_name=" + piece + "&width=240&height=240"; img = "/uploadGoodsimage/"+piece; imgobj = new Image(); imgobj.src = img; origin_size_x = imgobj.width; origin_size_y = imgobj.height; // 2006-05-10 : ¹Ú»óÇö : »ó¼¼º¸±â ¸ÞÀÎÀ̹ÌÁö¿Í ´Ù¸¥°¢µµÀ̹ÌÁö »çÀÌÁî ¸ÂÃß±â /** if(origin_size_x < 240 && origin_size_y < 240) { re_size_x = origin_size_x; re_size_y = origin_size_y; } else { if (origin_size_x > origin_size_y) { // °¡·Î°¡ Ŭ°æ¿ì resize_rate = 240 / origin_size_x; re_size_x = 240; re_size_y = Math.round(origin_size_y * resize_rate); } else { resize_rate = 240 / origin_size_y; re_size_x = Math.round(origin_size_x * resize_rate); re_size_y = 240; } } **/ var st_size_x = (size_x != "" ? size_x : 240); var st_size_y = (size_y != "" ? size_y : 240); if (origin_size_x > origin_size_y) { // °¡·Î°¡ Ŭ°æ¿ì resize_rate = st_size_x / origin_size_x; re_size_x = st_size_x; re_size_y = Math.round(origin_size_y * resize_rate); } else { resize_rate = st_size_y / origin_size_y; re_size_x = Math.round(origin_size_x * resize_rate); re_size_y = st_size_y; } document.itemdetail.width = re_size_x; document.itemdetail.height = re_size_y; document.itemdetail.src = "/uploadGoodsimage/"+piece; } // Ä«µå°áÁ¦Å¸ÀÔ ¼³Á¤ // Ãß°¡ : 2003-09-26 : ¹Ú»óÇö : ÇÔ¼öÃß°¡ function funcSetISP_use(type) { document.order_Form.ISP_use.value = type; } // ÁÖ¹®Á¤º¸¿Í ¹è¼ºÁ¤º¸ÀÇ µ¿ÀÏ // Ãß°¡: 2004-03-03: ±èÇö°æ: ÇÔ¼öÃß°¡ function GetOrderInfo(frm){ if(frm.eqInfo.checked){ frm.pm_rename.value = frm.pm_orname.value; frm.pm_reemail.value = frm.pm_oremail.value; frm.pm_retel.value = frm.pm_ortel.value; frm.pm_mobile.value = frm.pm_ormobile.value; } } // °áÁ¦¾È³» ÆË¾÷âÀ» ¶ç¿î´Ù. function showPaymentInfo(val){ if(val == 'isp'){ infoURL = "http://admin.builtinmall.com/popup/pop_r03.php#contents"; str_state = "width=630, height=450, scrollbars=yes"; } else if(val == 'gen'){ infoURL = "http://admin.builtinmall.com/popup/pop_r02.php#contents"; str_state = "width=600, height=450, scrollbars=yes"; } else if(val == 'crosscert'){ infoURL = "http://admin.builtinmall.com/popup/pop_r01.php#contents"; str_state = "width=600, height=450, scrollbars=yes"; } window.open(infoURL, val, str_state); } var arrItems1 = new Array(); var arrItemsGrp1 = new Array(); var arrValues = new Array(); arrValues[0] = "000"; arrValues[1] = "001"; arrValues[2] = "002"; arrValues[3] = "003"; arrValues[4] = "004"; arrValues[5] = "005"; arrValues[6] = "006"; arrValues[7] = "007"; arrValues[8] = "008"; arrValues[9] = "009"; arrValues[10] = "010"; arrValues[11] = "011"; arrValues[12] = "012"; arrValues[13] = "013"; arrValues[14] = "014"; arrValues[15] = "015"; arrValues[16] = "016"; arrValues[17] = "017"; arrValues[18] = "018"; arrValues[19] = "019"; arrValues[20] = "020"; arrValues[21] = "021"; arrValues[22] = "022"; arrValues[23] = "023"; arrValues[24] = "024"; arrValues[25] = "025"; arrValues[26] = "026"; arrValues[27] = "027"; arrValues[28] = "028"; arrValues[29] = "029"; arrValues[30] = "030"; arrValues[31] = "031"; arrValues[32] = "032"; arrValues[33] = "033"; arrValues[34] = "034"; arrValues[35] = "035"; arrValues[36] = "036"; arrValues[37] = "037"; arrValues[38] = "038"; arrValues[39] = "039"; arrValues[40] = "040"; arrValues[41] = "041"; arrValues[42] = "042"; arrValues[43] = "043"; arrValues[44] = "044"; arrValues[45] = "045"; arrValues[46] = "046"; arrValues[47] = "047"; arrValues[48] = "048"; arrValues[49] = "049"; arrValues[50] = "050"; arrItems1[0] = "¼­¿ï"; // ±¤¿ª½Ã ¼±Åýà arrItemsGrp1[0] = 1; arrItems1[1] = "ºÎ»ê"; arrItemsGrp1[1] = 1; arrItems1[2] = "´ë±¸"; arrItemsGrp1[2] = 1; arrItems1[3] = "ÀÎõ"; arrItemsGrp1[3] = 1; arrItems1[4] = "±¤ÁÖ"; arrItemsGrp1[4] = 1; arrItems1[5] = "´ëÀü"; arrItemsGrp1[5] = 1; arrItems1[6] = "¿ï»ê"; arrItemsGrp1[6] = 1; arrItems1[7] = "¼ö¿ø"; //°æ±âµµ ¼±Åýà arrItemsGrp1[7] = 2; arrItems1[8] = "¾È¾ç"; arrItemsGrp1[8] = 2; arrItems1[9] = "¼º³²"; arrItemsGrp1[9] = 2; arrItems1[10] = "ºÎõ"; arrItemsGrp1[10] = 2; arrItems1[11] = "ÀÇÁ¤ºÎ"; arrItemsGrp1[11] = 2; arrItems1[12] = "ÆòÅÃ"; arrItemsGrp1[12] = 2; arrItems1[13] = "¾È»ê"; arrItemsGrp1[13] = 2; arrItems1[14] = "ÀÌõ"; arrItemsGrp1[14] = 2; arrItems1[15] = "Ãáõ"; //°­¿øµµ ¼±Åýà arrItemsGrp1[15] = 3; arrItems1[16] = "°­¸ª"; arrItemsGrp1[16] = 3; arrItems1[17] = "¿øÁÖ"; arrItemsGrp1[17] = 3; arrItems1[18] = "¼ÓÃÊ"; arrItemsGrp1[18] = 3; arrItems1[19] = "µ¿ÇØ"; arrItemsGrp1[19] = 3; arrItems1[20] = "Źé"; arrItemsGrp1[20] = 3; arrItems1[21] = "ûÁÖ"; //ÃæÃ»ºÏµµ ¼±Åýà arrItemsGrp1[21] = 4; arrItems1[22] = "ÃæÁÖ"; arrItemsGrp1[22] = 4; arrItems1[23] = "Á¦Ãµ"; arrItemsGrp1[23] = 4; arrItems1[24] = "õ¾È"; //ÃæÃ»³²µµ ¼±Åýà arrItemsGrp1[24] = 5; arrItems1[25] = "°øÁÖ"; arrItemsGrp1[25] = 5; arrItems1[26] = "È«¼º"; arrItemsGrp1[26] = 5; arrItems1[27] = "³í»ê"; arrItemsGrp1[27] = 5; arrItems1[28] = "¼­»ê"; arrItemsGrp1[28] = 5; arrItems1[29] = "ÀüÁÖ"; //Àü¶óºÏµµ ¼±Åýà arrItemsGrp1[29] = 6; arrItems1[30] = "±º»ê"; arrItemsGrp1[30] = 6; arrItems1[31] = "ÀÍ»ê"; arrItemsGrp1[31] = 6; arrItems1[32] = "Á¤À¾"; arrItemsGrp1[32] = 6; arrItems1[33] = "³²¿ø"; arrItemsGrp1[33] = 6; arrItems1[34] = "¸ñÆ÷"; //Àü¶ó³²µµ ¼±Åýà arrItemsGrp1[34] = 7; arrItems1[35] = "¿©¼ö"; arrItemsGrp1[35] = 7; arrItems1[36] = "¼øÃµ"; arrItemsGrp1[36] = 7; arrItems1[37] = "ÇØ³²"; arrItemsGrp1[37] = 7; arrItems1[38] = "Æ÷Ç×"; //°æ»óºÏµµ ¼±Åýà arrItemsGrp1[38] = 8; arrItems1[39] = "°æÁÖ"; arrItemsGrp1[39] = 8; arrItems1[40] = "¾Èµ¿"; arrItemsGrp1[40] = 8; arrItems1[41] = "±¸¹Ì"; arrItemsGrp1[41] = 8; arrItems1[42] = "±èõ"; arrItemsGrp1[42] = 8; arrItems1[43] = "¿µÁÖ"; arrItemsGrp1[43] = 8; arrItems1[44] = "»óÁÖ"; arrItemsGrp1[44] = 8; arrItems1[45] = "â¿ø"; //°æ»ó³²µµ ¼±Åýà arrItemsGrp1[45] = 9; arrItems1[46] = "ÁøÁÖ"; arrItemsGrp1[46] = 9; arrItems1[47] = "Å뿵"; arrItemsGrp1[47] = 9; arrItems1[48] = "±èÇØ"; arrItemsGrp1[48] = 9; arrItems1[49] = "¾ç»ê"; arrItemsGrp1[49] = 9; arrItems1[50] = "Á¦ÁÖ"; //Á¦ÁÖµµ ¼±Åýà arrItemsGrp1[50] = 10; function selectChange(control, controlToPopulate, ItemArray, GroupArray) { var myEle ; var x ; for (var q=controlToPopulate.options.length;q>=0;q--) controlToPopulate.options[q]=null; if (control.name == "firstChoice") { for (var q=dacom_pay.secondChoice.options.length;q>=0;q--) dacom_pay.secondChoice.options[q] = null; } // myEle = document.createElement("option") ; // myEle.value = 0 ; // myEle.text = "[Áö¸í]" ; // 2¹øÂ° Ç®´Ù¿îÀÇ Ã¹¹øÂ° ¿É¼Ç // controlToPopulate.add(myEle) ; for ( x = 0 ; x < ItemArray.length ; x++ ) { if ( GroupArray[x] == control.value ) { myEle = document.createElement("option") ; myEle.value = arrValues[x] ; myEle.text = ItemArray[x] ; controlToPopulate.add(myEle) ; } } } // 2005-12-15 : ¹Ú»óÇö : ³×À̹ö Áö½Ä¼îÇÎ ¿¡½ºÅ©·Î KCP Á¦°Å °ü·Ã ¼öÁ¤ --> ¼öÁ¤ function ChkPaymentBox(arg){ if(arg.value == "P"){ reg_box.style.display = ""; bank_reg_box.style.display = "none"; // 2005-12-15 : ¹Ú»óÇö : ³×À̹ö Áö½Ä¼îÇÎ ¿¡½ºÅ©·Î KCP Á¦°Å °ü·Ã ¼öÁ¤ --> ¼öÁ¤ //naver_safepay_logo.style.display = "none"; }else if(arg.value == "O"){ if (document.order_Form.use_uclick_bank.value=="Y") { reg_box.style.display = "none"; bank_reg_box.style.display = ""; // 2005-12-15 : ¹Ú»óÇö : ³×À̹ö Áö½Ä¼îÇÎ ¿¡½ºÅ©·Î KCP Á¦°Å °ü·Ã ¼öÁ¤ --> ¼öÁ¤ //naver_safepay_logo.style.display = "none"; } else { reg_box.style.display = "none"; bank_reg_box.style.display = "none"; // 2005-12-15 : ¹Ú»óÇö : ³×À̹ö Áö½Ä¼îÇÎ ¿¡½ºÅ©·Î KCP Á¦°Å °ü·Ã ¼öÁ¤ --> ¼öÁ¤ //naver_safepay_logo.style.display = "none"; } }else{ /** // 2005-12-15 : ¹Ú»óÇö : ³×À̹ö Áö½Ä¼îÇÎ ¿¡½ºÅ©·Î KCP Á¦°Å °ü·Ã ¼öÁ¤ --> ¼öÁ¤ if (arg.value == "C" || arg.value == "V") { if (getCookie("inflow_url") == "NAVER" && !(getCookie("inflow_id") == "" || getCookie("inflow_id") == "deleted")) { naver_safepay_logo.style.display = ""; } else { naver_safepay_logo.style.display = "none"; } } else { naver_safepay_logo.style.display = "none"; } **/ reg_box.style.display = "none"; bank_reg_box.style.display = "none"; } } function inputRegNo(val, frm){ frm.notmember_regcode.value = val; frm.notmember_regcode_bank.value = val; } // Á¤¼ö¸¸ ÀԷ¹޴´Ù. function input_int() { if (window.RegExp) { var reg = new RegExp("^[0-9]$", "g"); var chk = String.fromCharCode(event.keyCode); if (!reg.test(chk)) event.keyCode = ""; } }//input_int function orderCancel(str) { msg = confirm("") if(msg == true) { document.orderCancel.pm_orcode.value = str; document.orderCancel.submit(); } else { document.orderCancel.reset(); return; } } // 2006-03-31 : ¹Ú»óÇö : ¿¡½ºÅ©·Î °ü·Ã Ãß°¡ function checkEscwPayType() { var form = document.order_Form; if (form.chk_escw_flag.value=="Y") { var totalPrice = StripComma(form.totalPrice); for (var i=0; i= 100000) { if (form.payment_type[i].value == "O" || form.payment_type[i].value == "P" || form.payment_type[i].value == "V") { form.payment_type[i].disabled = true; form.payment_type[i].checked = false; } } else { if (form.payment_type[i].value == "O" || form.payment_type[i].value == "P" || form.payment_type[i].value == "V") { form.payment_type[i].disabled = false; //form.payment_type[i].checked = false; } } } } }