var NUM = "0123456789"; var SALPHA = "abcdefghijklmnopqrstuvwxyz"; var ALPHA = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"+SALPHA; var EMAIL = "!#$%&*+-./=?@^_`{|}"+NUM+ALPHA; var NONIDABLE = "~!@#$%^&*()_+|`-=:;<>?,./¡Ù¡Ø¡Ú¡Û¡Ü¡Ý¡Þ£¦¡ß"; var PASSWORD = "!@.#,$%^*&_-" + ALPHA + NUM; var ERRORMSG = ""; function CheckType(s,spc) { var i; for(i=0; i 0) { return false; } } return true; } function IsChecked(junkform) { var i= 0 ; var check_uid = ''; while (obj = eval("junkform.uid"+ i)) { if (obj.checked) check_uid += obj.value + '|'; i++; } return check_uid; } function CCheckEmail (sEmail) { if (!CheckType(sEmail, EMAIL)) { alert("¸ÞÀÏÁÖ¼Ò¿¡ À߸øµÈ ¹®ÀÚ°¡ ÀÖ½À´Ï´Ù."); return false; } var a = sEmail.indexOf('@'); if ( a <=0 || a == sEmail.length -1 ) { alert("¸ÞÀÏÁÖ¼Ò´Â aaa@bbb.ccc.ddd µîÀÇ ÇüÅ·ΠÀÔ·ÂÇÏ¼Å¾ß ÇÕ´Ï´Ù."); return false; } else { return true; } } function HanMailCheck(email) { if (!CCheckEmail(email.value)) { return false; } else if ((email.value.indexOf("@hanmail.net") > 0 || email.value.indexOf("@daum.net") > 0 )&& !confirm('ÇѸÞÀÏ ÁÖ¼Ò¸¦ »ç¿ë½Ã ÀϺΠ±â´ÉÀ» »ç¿ë ÇÏ½Ç ¼ö ¾ø½À´Ï´Ù.\n\n±×·¡µµ »ç¿ëÇϽðڽÀ´Ï±î?')) { return false; } else { return true; } } function popupWin(url, scrollbar, popup_name) { if (scrollbar == null ) scrollbar_str = ''; else scrollbar_str = ' ,scrollbars=yes '; if (popup_name == null) popup_name = 'popup'; popup = window.open (url , popup_name ,'width=100,height=100,resizable=no,status=0'+scrollbar_str+''); popup.focus(); } function CheckTelNo(telobj) { if (!CheckType(telobj.value, NUM + '-')) { alert('ÀüÈ­¹øÈ£´Â ¼ýÀÚ¿Í - ±âÈ£¸¸ ¿Ã¼ö ÀÖ½À´Ï´Ù'); telobj.focus(); } } function RadioCheck(radioinput) { len = radioinput.length; if (len > 0 ) { for (i = 0; i < len; i++) { if (radioinput[i].checked) return radioinput[i].value; } return false; } else { if (radioinput.checked) return radioinput.value; return false; } } var oImg = new Array(); var img_count = 0; function resizeImage(Imgobj) { oImg[img_count] = Imgobj; setTimeout("resizeImage2('"+img_count+"')",200); img_count++; } function resizeImage2(num) { Imgobj = oImg[num]; if (Imgobj.width > 590) Imgobj.width = 590; setTimeout("resizeImage2('"+num+"')",200); } function isNotOnlyKorean(id_text){ for ( var i=0; i < id_text.length; i++ ) { if ( id_text.charCodeAt(i) < 0xAC00 || id_text.charCodeAt(i) > 0xD7A3){ if (( id_text.charCodeAt(i) < 12593 || id_text.charCodeAt(i) > 12643 ) && ( id_text.charCodeAt(i) != 32)) { return true; } } } return false; } function keydownEngNum() { //keydown½Ã¿¡ ¿µ¾î¿Í ¼ýÀÚ¸¸ ¸Ô´Â °Í. if (!(event.keyCode>=48&&event.keyCode<=57)&&!(event.keyCode>=65&&event.keyCode<=90)&&event.keyCode!=9&&event.keyCode!=8&&event.keyCode!=46&&event.keyCode!=37&&event.keyCode!=39&&event.keyCode!=45) { event.keyCode = 0; event.cancelBubble = true; event.returnValue = false; } } function hasValue(oField) { if (oField.value.replace(/(^\s*)|(\s*$)/g, "") == "") return false; else return true; } function flash(url,w,h,bg,win,vars,base){ var s= ""+ ""+ ""+ ""+ ""+ ""+ ""+ ""+ ""+ ""+ ""; document.write(s); } function load_flash( src, w, h, id ) { if( typeof( id ) == "undefined" ) id = ""; html = ''; html += ''; html += ''; html += ''; html += ''; html += ''; html += ''; html += ''; document.writeln( html ); } // ÀÏÁ¤ÀԷµڿ¡ ´ÙÀ½À¸·Î Àüȯ function moveNext( obj, num ) { val = event.srcElement.value; if( val.length == num ) obj.focus(); }