/**************************************************************************************** (1) ½Ã½ºÅÛ¸í : KERIS PROJECT (2) ÇÁ·Î±×·¥ID : /common/js/common.js (3) ÇÁ·Î±×·¥¸í : °øÅëÀÚ¹Ù½ºÅ©¸³Æ® ÇÔ¼ö *****************************************************************************************/ var actionfrm= "actionfrm"; var actionfrm1= "actionfrm1"; //TEST var contDeleteMsg = "»èÁ¦ÇÏ½Ã¸é º¹±¸ÇÒ ¼ö ¾ø½À´Ï´Ù.\n»èÁ¦ÇϽðڽÀ´Ï±î?"; var contLeaveMsg = "Å»ÅðÇÏ½Ã¸é º¹±¸ÇÒ ¼ö ¾ø½À´Ï´Ù.\nÅ»ÅðÇϽðڽÀ´Ï±î?"; var contErrorMsg = "¿À·ù°¡ ¹ß»ýÇÏ¿´½À´Ï´Ù.\n¿À·ù¸Þ¼¼Áö : "; var contFormcheck = 1; var contFormMsg = "À̹ÌÀü¼ÛÁßÀÔ´Ï´Ù. Àá½Ã¸¸ ±â´Ù·ÁÁÖ¼¼¿ä."; //var domain = "http://www.keris.or.kr";// ¿î¿µ //var domain = "http://devkeris.luxuryis.co.kr:888";// ¿î¿µ //var domain = "http://dev.keris.or.kr:18080";// °³¹ß var quicktarget = "_top"; var RequestOs = window.navigator.appVersion; var OsArray = RequestOs.split(";"); var OS = OsArray[2]; //ÆäÀÌÁöÀ̵¿. function _jsGoto(code){ var folder if (code!=null){ folder = code.substring(0,4); var url = "/"+folder+"/"+code+".jsp"; if (arguments[1]) { url = url + arguments[1]; } window.location.href=url; } } function _jsGoHome(){ window.location.href="/index.jsp"; } function _jsOpen(url,name,features){ //À©µµ¿ì¿ÀÇÂ; var contWin = name; if( (contWin != null) && (contWin.closed == false) ){contWin.close();} contWin=window.open(url,name,features); contWin.focus(); } function _jsModal(URL , name , width, height){ var plus_width, plus_height; // alert(OS); if (OS.indexOf("Windows NT 5.0") > 0) { // 200À϶§ plus_width=0; plus_height=-25; } else if (OS.indexOf("Windows NT 5.1") > 0) { plus_width=0; plus_height=3; } else if (OS.indexOf("Windows NT 5.2") > 0) { plus_width=0; plus_height=0; } /* if (OS.indexOf("Windows NT 5.1")>0) { //XP plus_width = 27; plus_height = 58; } else { plus_width = 26; plus_height = 50; } */ var features = "dialogWidth:"+(parseInt(width)+plus_width)+"px; dialogHeight:"+(parseInt(height)+plus_height)+"px; status:no;" ; // alert(features); // dialogWidth:315px ; dialogHeight:208px window.showModalDialog(URL, window , features); //window.showModalDialog(URL, window , "dialogWidth:100px ; dialogHeight:50px;status:no;"); } function _jsGotoBack(){ window.history.go(-1); } function _jsPrint(){ window.print();} function _jsClose(){window.close();} function _jsNotReady(gubun){ alert("¼­ºñ½ºÁغñÁßÀÔ´Ï´Ù."); return; } function _jsNeedLogin(){ alert("·Î±×ÀÎÀÌ ÇÊ¿äÇÑ ¼­ºñ½º ÀÔ´Ï´Ù."); window.location.href="/?returl="+escape(window.location.pathname+window.location.search); return; } function _jsDownLoad(bbsid, ix){ var url = "/common/pb_download.jsp?bbsID="+bbsid+"&ix="+ix; // if (!frame) { frame ="actionfrm"; } document.all[actionfrm].src= url ; // window.open(url, '',''); } //ÇѰ³»èÁ¦. function _jsDeleteOne(f,ix){ try { if (confirm(contDeleteMsg)) { f.gbn.value = "delete"; f.ix.value = ix; f.action = actionurl; f.target = actionfrm; f.submit(); } } catch (e) { alert(contErrorMsg + e.description); } } //·Î±×ÀÎ; function _jsLoginEnter(f){ if (event.keyCode==13) { _jsLogin(f); } } function _jsLogin(f){ if (!_jsRegularExp("id" , f.id , "¾ÆÀ̵𸦠ÀÔ·ÂÇϼ¼¿ä. ¾ÆÀ̵ð´Â 4ÀÚ¸® ÀÌ»ó 15ÀÚ¸® ÀÌÇÏ ¿µ¹®+¼ýÀÚÀÔ´Ï´Ù.")) return; if (!_jsRegularExp("" , f.pwd1 , "ºñ¹Ð¹øÈ£¸¦ ÀÔ·ÂÇϼ¼¿ä")) return; f.target = actionfrm; f.submit(); } function _jsLogout(){ window.location.href="/gbi/common/pb_logout.jsp"; } //¿ÞÂʸ޴º ÃʱâÈ­ function _jsLeftMenuInit(code){ try{ if (code > 0){ var obj_img = document.all["leftnavi"+code] ; var img_name = obj_img.name; obj_img.src = "/gbi/images/"+imgfolder+"/"+img_name+"_on.gif"; } } catch (e) { return;} } //ÀÚµ¿Æ÷Ä¿½ºÀ̵¿ function _jsChangeFocus(val,len,nextfrm){ if( val.length == len) nextfrm.focus(); } //Àӽà FILE¸í; function _jsBbsInitCode(){ curr_date = new Date(); year = curr_date.getYear(); month = curr_date.getMonth(); day = curr_date.getDay(); hours = curr_date.getHours(); mins = curr_date.getMinutes(); secs = curr_date.getSeconds(); return year.toString() + month.toString() + day.toString() + hours.toString() + mins.toString() + secs.toString(); } function _jsSelectV(){ //By thhh2¢â var strID , strST , strNo, strVa, strEv , Html , strBr, ArgsNum = arguments.length; if (ArgsNum){ strID = arguments[0]; //¾ÆÀ̵ð; strST = arguments[1]; //½ºÅ¸ÀÏ; strBr = arguments[2]; //Border Color ; strNo = arguments[3]; //¼±ÅõǾîÁø °ª; ¾øÀ¸¸é ºóÄ­; strVa = arguments[4]; //Options °ª; strEv = arguments[5]; //Event; if (strEv==null){ strEv = "";} if (!strVa){strVa="-¼±ÅÃ";} intLen = 1; //¹®ÀÚ¿­ÀÇ ±æÀÌ¿¡¼­ ƯÁ¤±¸ºÐÀÚÀÇ °¹¼ö ±¸ÇÔ; for (i = 1 ; i < strVa.length; i++){ if (strVa.charAt(i)=="@"){ intLen ++; } } //ƯÁ¤±¸ºÐÀÚ¿¡ ÀÇÇØ ¹®ÀÚ¿­ ÀÚ¸£°í, option ÅÂ±× »ý¼º . Html = ""; SS_ENV.CR.Border = strBr; SS_write(Html,7, '','select_bull_gray.gif'); //°¹¼ö } else{ alert("¿À·ù°¡ ¹ß»ýÇÏ¿´½À´Ï´Ù.\n\n¼¿·ºÆ®¹Ú½º¸¦ »ý¼ºÇÒ¼ö ¾ø½À´Ï´Ù."); return; } } function _jsRegularExp(chk,frm,msg){ //Á¤±Ô½ÄÀ¸·Î üũÇÔ. var strValue = frm.value; var bitExp = false; switch (chk){ case "id" : if (frm.value.match(/[A-Za-z0-9]{4,15}\w*/g)!=strValue){break;} bitExp = true; case "email" : if (frm.value.match(/[\w\-]+\@[\w\-]+(\.[\w\-]+)+/g)!=strValue){break;} bitExp = true; case "number" : if (frm.value.match(/\d+/g)!=strValue){ break;} bitExp = true; case "phone" : if (frm.value.match(/[0-9]{2,3}.[0-9]{3,4}\-[0-9]{4}/g)!=strValue){break;} bitExp = true; case "mphone" : if (frm.value.match(/01[016789]\-[0-9]{3,4}\-[0-9]{4}/g)!=strValue){ break;} bitExp = true; case "date" : if (frm.value.match(/[0-9]{4}\-[0-12]{1,2}\-[0-31]{1,2}/g)!=strValue){break;} bitExp = true; case "homepage" : if (frm.value.match(/\w+:\/\/[^#]*/g)!=strValue){ break;} bitExp = true; case "checked" : if (typeof(frm)=="object"){ if (typeof(frm.length)=="undefined"){ if (frm.checked) { bitExp = true; } } else{ for (i = 0 ; i < frm.length; i++){ if (frm[i].checked){ bitExp = true; } } } } break; case "selected" : if (frm.value==""){ break ;} bitExp = true; case "idn1" : if (frm.value.match(/[0-9]{6}/g)!=strValue){ break; } bitExp = true; case "idn2" : if (frm.value.match(/[0-9]{7}/g)!=strValue){break; } bitExp = true; case "company" : if (frm.value.match(/[0-9]{3}\-[0-9]{2}\-[0-9]{5}/g)!=strValue){break;} bitExp = true; default : //°ø¹éüũ; if (frm.value.match(/\S/)==null){break;} bitExp = true; } if (!bitExp){ if (msg) alert(msg);if ((chk!="checked")&&(chk!="selected")){frm.focus();}; return false; } else{return true;} } //¼ýÀÚüũ function _jsNumberCheck(f,max,msg){ if (parseInt(f.value) > max) { alert(msg+"Àº(´Â) "+max+" ÀÌ»ó ÀÔ·ÂÇÒ ¼ö ¾ø½À´Ï´Ù.") ; f.value = ""; f.focus(); return false; } else { return true; } } //ÇöÀç¼±ÅÃµÈ Radio¹öưÀÇ VALUE °ª ¸®ÅÏ function _jsCheckedValue(frm){ try { var returnvalue; if (typeof(frm)=="object"){ if (typeof(frm.length)=="undefined"){ if (frm.checked) { returnvalue = frm.value; } } else{ for (i = 0 ; i < frm.length; i++){ if (frm[i].checked){ returnvalue = frm[i].value; } } } } return returnvalue; } catch (e) { alert(contErrorMsg + e); } } function _jsOnlyNum(){ if((event.keyCode<48)||(event.keyCode>57)) event.returnValue=false; } //¼îÇÏÀ̵å function _jsShowHide(obj,action){ obj.style.display = action; } function _jsShowHideYN(obj){ var value = (obj.style.display=="none") ? false : true ; return value; } //¹è¿­¼îÇÏÀ̵å function _jsShowHideArray(id , num){ var num , tr = document.all[id] , len = tr.length; if (len == null) { (_jsShowHideYN(tr)) ? _jsShowHide(tr,"none") : _jsShowHide(tr,"block") } else{ for ( i = 0; i < len ; i++){ if (i == num){ (_jsShowHideYN(tr[num])) ? _jsShowHide(tr[num],"none") : _jsShowHide(tr[num],"block") // if (tb[num].style.display=="none"){ tb[num].style.display=""; } else { tb[h].style.display="none"; } } else{ _jsShowHide(tr[i],"none"); } } } } //TABLE , TR ,TD µîÀÇ ¼îÇÏÀ̵å ; °¹¼ö¸¸Å­ º¸¿©ÁÖ´Â ±â´É; function _jsExchageSelected(f,id){ // var tr1 = document.getElementById(id); var tr1 = document.all.item(id); var trlen = tr1.length; var v = parseInt(f.options[f.selectedIndex].value); for (i = 0; i < trlen; i ++){ if (tr1 != null){ if (i > v-1) {tr1[i].style.display = "none"; } else { tr1[i].style.display = "";} } } } //À̹ÌÁö ¸®»çÀÌÁî; function _jsImageResize(imgid , sizeW){ var sizeW; var img = document.images(imgid); if (img){ if (img.length==null){ imgwidth = img.width ; imgheight = img.height; if (sizeW < imgwidth){ imgW = sizeW; imgH = parseInt((sizeW/imgwidth) * imgheight); } else{ imgW = imgwidth ; imgH = imgheight; } img.width = imgW; img.height = imgH; } else{ for (i = 0 ; i < img.length; i++) { imgwidth = img[i].width ; imgheight = img[i].height; if (sizeW < imgwidth){ imgW = sizeW; imgH = parseInt((sizeW/imgwidth) * imgheight); } else{ imgW = imgwidth ; imgH = imgheight; } img[i].width = imgW; img[i].height = imgH; } } } } function _jsChkAll(f){ var chkvalue = document.all.item("chkbox[]"); if (chkvalue) { var chklen = chkvalue.length; if (chklen==null || chklen==""){ if(chkvalue.checked) { chkvalue.checked=false; } else { chkvalue.checked=true; } } else{ for(i=0;i=1; i--){ obj.options[i] = null; } //obj.options[0] = new Option("","--"); for (d=1 ; d <= days ; d++){ var option1 = new Option(""+d,""+ d); obj.options[inum] = option1; if (d==Math.ceil(old_data)){ obj.options[inum].selected = true; } inum++; } } catch (e) { alert(e); } } //³¯Â¥ ºñ±³Çϱâ. function _jsIsDate(sYear,sMonth,sDay,eYear,eMonth,eDay){ var cur_y = datez.getYear(); //³âµµ var cur_m = datez.getMonth(); //¿ù var cur_d = datez.getDate(); //³¯ÀÚ var cur_date = new Date(cur_y,cur_m,cur_d); //num=3; var start_date = new Date(sYear,sMonth-1,sDay); var end_date = new Date(eYear,eMonth-1,eDay); var now_date = new Date(Date.parse(cur_date)); var start_date = new Date(Date.parse(start_date)); var end_date = new Date(Date.parse(end_date)); if (now_date > end_date) { alert("Á¾·áÀÏÀÌ ¿À´Ãº¸´Ù ÀÌÀü ÀÏ ¼ö ¾ø½À´Ï´Ù."); return false; } else { if (start_date > end_date){ alert("Á¾·áÀÏÀÌ ½ÃÀÛÀϺ¸´Ù ÀÌÀü Àϼö ¾ø½À´Ï´Ù."); return false; } else { return true; } } } //===== ÆË¾÷ °øÁö»çÇ× ============================================= var nowDate = new Date(); var nowHours = nowDate.getHours(); var nowMin = nowDate.getMinutes(); var setCookieValue = 1440 - (nowHours*60+nowMin); //¿À´ÃÀÚÁ¤±îÁö¸¸.. //ÄíŰ¼³Á¤ ¹× °¡Á®¿À±â function _jsGetCookie( name ){ var nameOfCookie = name + "="; var x = 0; while ( x <= document.cookie.length ) { var y = (x+nameOfCookie.length); if ( document.cookie.substring( x, y ) == nameOfCookie ) { if ( (endOfCookie=document.cookie.indexOf( ";", y )) == -1 ) endOfCookie = document.cookie.length; return unescape( document.cookie.substring( y, endOfCookie ) ); } x = document.cookie.indexOf( " ", x ) + 1; if ( x == 0 ) break; } return ""; } function _jsSetCookie( name, value, expiredays ) { var todayDate = new Date(); todayDate.setTime( todayDate.getTime() + (1000*60*parseInt(expiredays)) ); document.cookie = name + "=" + escape( value ) + "; path=/; expires=" + todayDate.toGMTString() + ";" } function _jsCloseToday(popid){ _jsSetCookie(popid , "none" , setCookieValue); _jsCloseWindow(); } function _jsCloseWindow(){ window.close() } // ±ÛÀÚ¼ö Á¦ÇÑ;; function _jsByteCheck(input,length) { try { // obj = document.all[id]; var j=0; for(var i=0;i length) { //alert(length+'ÀÚ ÀÌÇÏ·Î ÀÔ·ÂÇϽñ⠹ٶø´Ï´Ù.'); return false; return false; } else { return true; } } catch (e){ return; } } // ÇÑ¿µ±¸ºÐ¾øÀÌ..±ÛÀÚ¼ö function _jsLength(input, length){ if (input.value.length > length) { return false; } else { return true; } } function _jsUploadCheck(obj, type) { var array_images = Array("jpg","gif","png","bmp","jpeg"); var array_script = Array("php", "asp", "jsp", "cgi", "shtml", "php3"); var array_access = Array("mdb", "adp", "mda", "mde", "ade"); var array_movie = Array("asf", "wmv", "mpeg", "mpg"); try { var filename = obj.value.toLowerCase(); var intlen = filename.length; var ext = filename.substr(intlen-3, 3); var bln = false; if(filename.substr(intlen-4,1) == "."){ ext = filename.substr(intlen-3, 3); }else if(filename.substr(intlen-5,1) == "."){ ext = filename.substr(intlen-4, 4); }else if(filename.substr(intlen-6,1) == "."){ ext = filename.substr(intlen-5, 5); } //alert(ext); if (type=="images") { // À̹ÌÁö for (i=0;i0) { //XP plus_width = 27; plus_height = 58; } else { plus_width = 26; plus_height = 50; } var bodywidth = document.body.scrollWidth+plus_width; var bodyheight = document.body.scrollHeight+plus_height; //alert(bodywidth, bodyheight); resizeTo(bodywidth, bodyheight); } //Àӽà FILE¸í; function _jsEditorInitCode(){ curr_date = new Date(); year = curr_date.getYear(); month = curr_date.getMonth(); day = curr_date.getDay(); hours = curr_date.getHours(); mins = curr_date.getMinutes(); secs = curr_date.getSeconds(); return year.toString() + month.toString() + day.toString() + hours.toString() + mins.toString() + secs.toString(); } //ÆÄÀÏ»èÁ¦. function _jsFileUpload(url, limitfilecnt, f){ // var frm = eval(f).toString(); // alert(frm); var frm = eval(f); if ((parseInt(frm.length-1)) < parseInt(limitfilecnt)) { _jsOpen('/board/pb_board_upload.jsp?bbsid='+url+'&f='+f, 'upload', 'width=400,height=150') } else { alert("÷ºÎÆÄÀÏÀº "+limitfilecnt + "°³ ÀÌ»ó ¿Ã¸± ¼ö ¾ø½À´Ï´Ù."); return; } } function _jsFileUpload2(url, type, f){ var frm = eval(f); if (frm.value.length==0) { // ÆÄÀÏÀÌ Àֳ׿ä; _jsOpen('/board/pb_board_upload_one.jsp?bbsid='+url+'&f='+f+'&type='+type, 'upload', 'width=400,height=150') } else { alert("À̵̹î·ÏµÈ ÆÄÀÏÀ» »èÁ¦ ÈÄ ½ÃµµÇϼ¼¿ä."); return; } } function _jsFileDelete(f){ try { var frm = document.frmdelete; if (f.length==1) { alert("÷ºÎµÈ ÆÄÀÏÀÌ ¾ø½À´Ï´Ù."); return; } if (f.selectedIndex<=0) { alert("¼±ÅÃµÈ ÆÄÀÏÀÌ ¾ø½À´Ï´Ù."); return; } selectedfile = f.selectedIndex; //ÆÄÀϼö frm.oldfile.value = f.options[selectedfile].value; if (confirm("»èÁ¦ÇϽðڽÀ´Ï±î?")) { frm.action = "/board/pb_board_upload_ok.jsp"; frm.gbn.value = "delete"; //µî·Ï,¼öÁ¤½Ã ó¸® º°µµ·Î. frm.target = actionfrm; frm.submit(); } // ¸®½ºÆ®ÀÇ À§Ä¡¸¦ ÇÑÄ­¾¿ À§·Î ¿Ã¸°´Ù. for(i = selectedfile; i < f.length-1; i++) { f.options[i].value = f.options[i+1].value; f.options[i].text = f.options[i+1].text; } f.length--; // ±æÀ̸¦ ÁÙ¿©ÁØ´Ù. // _jsFileDelete(f); return; } catch (e) { return;} } function _jsFileDelete2(f, mode){ try { var f2 = document.frm; var frm = document.frmdelete; if (f.value.length==0) { alert("µî·ÏµÈ ÆÄÀÏÀÌ ¾ø½À´Ï´Ù."); return; } frm.oldfile.value = f2.gbn.value+"|"+f.value+"|"+mode; // alert(frm.oldfile.value); if (confirm("»èÁ¦ÇϽðڽÀ´Ï±î?")) { frm.action = "/board/pb_board_upload_one_ok.jsp"; frm.gbn.value = "delete"; //µî·Ï,¼öÁ¤½Ã ó¸® º°µµ·Î. frm.target = actionfrm; frm.submit(); } f.value=""; return; } catch (e) { alert(e); return;} } //DESIGN¿¡ ÇÊ¿äÇÑ ½ºÅ©¸³Æ® function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i '; flash += ''; flash += ''; flash += ''; flash += ''; flash += ''; flash += ' '; flash += ''; document.write(flash); } function _jsEmbedObject(url, width, height, strparam) { this.wmode = "transparent"; this.id = ""; this.quality = "high"; this.menu = "false"; this.allowScriptAccess = "sameDomain"; var object=''; object=''; document.write(object); } /* function _jsLeftMenuInit(code, scode){ try{ if (code > 0){ var obj_img = document.all["leftnavi"+code] ; var img_name = obj_img.name; obj_img.src = domain + "/images/"+imgfolder+"/"+img_name+ "_1.gif"; _jsLeftMenuInitTR(code, scode); } } catch (e) {return;} } function _jsLeftMenuInitTR(code, scode){ try{ if (code > 0){ var obj_tr = document.all["leftnavi"+ code +"_tr"]; if (typeof(obj_tr)=="object") { if (obj_tr.style.display=="none") { obj_tr.style.display = "block"; } var obj_img = document.all["leftnavisub"+scode]; var img_name = obj_img.name; obj_img.src = domain + "/images/"+imgfolder+"/"+img_name+ "_1.gif"; } } } catch (e) { return;} } */ // go page function goPage(code, subp) { var folder if (code!=null){ var url = ""; if (arguments[2]) { url = arguments[2]; } window.location.href= "/"+ code +"/"+subp+".jsp" + url // window.location.href="/menucode.asp?code="+ code +"&subp=" + subp + url; } } function goHome() { window.location.href="/"; } var nowZ = 100; var maxZ = 140; var minZ = 100; function jsZoom(opt) { try { /* var obj = document.getElementById("zoomTable"); */ if (opt=="in") { if (nowZ < maxZ) { nowZ += 10; } else { return; } document.body.style.zoom = nowZ + "%"; } else if (opt=="out") { if (nowZ > minZ) { nowZ -= 10; } else { return; } document.body.style.zoom = nowZ + "%"; } } catch (e) { alert(e); } } /** ÀÌ»çȸĿ¹Â´ÏƼÆË¾÷ */ function fnCmDirPopWin() { if (winPopConcil && !winPopConcil.closed) { return; } var popUrl = "/community/cm_dir_login_check.jsp"; var popNms = "ÀÌ»çȸĿ¹Â´ÏƼ"; var popOpt = "width=350," + "height=300," + "menubar=no," + "toolbar=no," + "status=yes," + "scrollbars=no," + "location=yes," + "directories=no," + "resizable=yes," + "top=50," + "left=150"; var winPopConcil = window.open(popUrl, popNms, popOpt); winPopConcil.focus(); } function fnGPINCheck(gotoUrl) { wWidth = 360; wHight = 120; wX = (window.screen.width - wWidth) / 2; wY = (window.screen.height - wHight) / 2; /* var message = "KERIS¿¡¼­´Â Áֹεî·Ï¹øÈ£ ´ëü ¼ö´ÜÀÎ °ø°ø I-PINÀ» ÀÌ¿ëÇÏ¿©\n" + "º»ÀÎ ¿©ºÎ¸¦ ÆÇ´ÜÇÕ´Ï´Ù. °ø°ø I-PINÀ̶õ ÀÎÅÍ³Ý»ó °³Àνĺ°¹øÈ£\n" + "(Internet Personal Identification Number)·Î Áֹεî·Ï¹øÈ£¸¦\n" + "»ç¿ëÇÏÁö ¾Ê°íµµ º»ÀÎÀÓÀ» È®ÀÎÇÒ ¼ö ÀÖ´Â °³ÀÎÁ¤º¸º¸È£ ¼­ºñ½º\n" + "ÀÔ´Ï´Ù. º» ¼­ºñ½º ÀÌ¿ë½Ã °³ÀÎÁ¤º¸ À¯Ãâ·Î ÀÎÇÑ ÇÇÇØ¸¦ ÃÖ¼ÒÈ­\n" + "ÇÒ ¼ö ÀÖ½À´Ï´Ù."; */ var message = "KERIS¿¡¼­´Â °³ÀÎÁ¤º¸º¸È£¸¦ À§ÇÏ¿© Á¤ºÎÀÇ ±ÇÀåÇ¥ÁØÀÎ °ø°ø I-PINÀ»\n" + "ÀÌ¿ëÇÏ¿© º»ÀÎ ¿©ºÎ¸¦ ÆÇ´ÜÇÕ´Ï´Ù. °ø°ø I-PINÀ̶õ ÀÎÅͳݻó \n" + "°³Àνĺ°¹øÈ£(Internet Personal Identification Number)·Î \n" + "Áֹεî·Ï¹øÈ£¸¦ »ç¿ëÇÏÁö ¾Ê°íµµ º»ÀÓÀÓÀ» È®ÀÎÇÒ ¼ö ÀÖ´Â \n" + "Áֹεî·Ï¹øÈ£ ´ëü ¼ö´ÜÀÔ´Ï´Ù. I-PIN ¹ß±Þ ÈÄ º» ¼­ºñ½º¸¦ \n" + "ÀÌ¿ëÇØ ÁÖ½Ã¸é °¨»çÇϰڽÀ´Ï´Ù."; //alert(message); var confChk = confirm(message); if (!confChk) { return; } var w = window.open( "/G-PIN/GPIN_AuthRequest.jsp?gotoUrl="+gotoUrl, "gPinLoginWin", "directories=no,toolbar=no,left="+wX+",top="+wY+",width="+wWidth+",height="+wHight); w.focus(); }