    function radiocheck(obj){
        var chk = 0;
        for (var i=0; i<obj.length; i++) {
            if(obj[i].checked) chk++;
        }if(chk != 1) {
            alert("ÅõÇ¥Ç×¸ñÀ» ¼±ÅÃÇØ ÁÖ¼¼¿ä.");
            obj[0].focus();
	    return false;
        }
        return true;
    }

// location change
    function go_url(jumpurl) {
             location.href = jumpurl;
    }

    // change back ground color
    function change_bg(obj_name,bg_value) {
         obj_name.style.backgroundColor=bg_value;
    }

    // popup
    function popup(winname,wid,hei,popurl,popresize) {
         return window.open(popurl,winname,"width="+wid+",height="+hei+",resizable="+popresize+",scrollbars=yes,dependent=yes");
    }

    // popup
    function OpenWindow(url) {
         open(url,"noticewindow","menubar=no,toolbar=yes,location=no,directories=no,status=no,scrollbars=yes,resizable=no,width=620,height=500");
    }

    // input tag¿¡ »ç¿ë onkeyup = autojump(this,6) 6ÀÚ¸®±îÁö ÀÔ·ÂÇÏ¸é ´Ù¸§ input tag·Î ÀÌµ¿ÇÑ´Ù.
    function autojump(obj, sizeofstr){
        var kk;
        kk = obj.value.length;
        if (kk==sizeofstr){
                var tt,j;
                tt = obj.form.length;
                j=tt;
                for (var i=0;i<tt;i++){
                        if (obj.form.elements[i].name == obj.name) {
                                j=i+1;i=tt;
                                if (j==tt) {j--;}
                                obj.form.elements[j].focus();
                        }
                }
        }
    }

    // ¼ýÀÚ¸¸
    function digit_confirm(a) {
        var allowchar="0123456789";
        for (b=0; b<a.length; b++) if (-1 == allowchar.indexOf(a.charAt(b))) return false;
        return true;
    }
    // ¾ËÆÄ“Ê ¼ýÀÚ¸¸
    function alphadigit_confirm(a) {
        var allowchar="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
        for (b=0; b<a.length; b++) if (-1 == allowchar.indexOf(a.charAt(b))) return false;
        return true;
    }
    // ¿µ¹®ÀÌ³ª ÇÑ±Û¸¸
    function hanalpha_confirm(a) {
	with(Math) {
   	    for (b = 0; b < a.length; b++) {
                 c = a.charCodeAt(b);
                 if((c >= 97 && c <= 122) || (c >= 65 && c <= 90) || (c == 32) || (c >= 0xAC00 && c <= 0xD7A3)) continue;
                 else return false;
             }
         }
         return true;
    }
    // ÀÌ¸ÞÀÏ ±ÔÄ¢
    function email_confirm(a) {
        var allowchar="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789@._-";
        b = 0;c = 0;d = 0; e=0;
        if (a.length == 0) return false;
        for (b=0; b<a.length; b++) {
                if ( -1 == allowchar.indexOf(a.charAt(b)) ) return false;
                else if ('@' == a.charAt(b)) {c++; d=b;}
                else if ('.' == a.charAt(b)) e++;
        }
        if (c!=1 || e==0 || d==0 || d==(a.length-1)) return false;
        return true;
    }
    // ÁÖ¹Îµî·Ï¹øÈ£ Ã¼Å©
    function social_confirm(a) {
        if( a.charAt(6) == 1 || a.charAt(6) == 2 || a.charAt(6) == 3 || a.charAt(6) == 4)
            if( a.charAt(12) == (( 11 - ((a.charAt(0)*2+a.charAt(1)*3+a.charAt(2)*4+a.charAt(3)*5+a.charAt(4)*6+a.charAt(5)*7+a.charAt(6)*8+a.charAt(7)*9+a.charAt(8)*2+a.charAt(9)*3+a.charAt(10)*4+a.charAt(11)*5)% 11)))%10) return true;
        return false;
    }

    // ÀÔ·Â¾øÀ½ Ã¼Å© & ¾È³»
    function empty_chk(obj,lable) {
        if( obj.value == '' ) {
            alert(lable + ' ÀÔ·ÂÇÏ½Ê½Ã¿À.');
	   obj.focus();
	   return true;
        }
        return false;
    }

    // ÃÖ¼Ò±æÀÌ & ¾È³»
    function len_chk(obj,lable, num) {
        if( obj.value.length < num) {
            alert(lable + ' ' + num + ' ±ÛÀÚ ÀÌ»ó ÀÔ·ÂÇÏ¿©¾ß ÇÕ´Ï´Ù.');
	   obj.focus();
            return false;
        }
        return true;
    }
    // ¼ýÀÚ¸¸ & ¾È³»
    function num_chk(obj,lable) {
        if (digit_confirm(obj.value)) return true;
        else {
            alert(lable + ' ¼ýÀÚ¸¸ ÀÔ·ÂÇÏ½Ê½Ã¿À.');
            obj.focus();
            return false;
        }
    }
    // ¾ËÆÄ“Ê ¼ýÀÚ¸¸ & ¾È³»
    function alphadigit_chk(obj,lable) {
        if (alphadigit_confirm(obj.value)) return true;
        alert(lable + ' ¿µ¹®°ú ¼ýÀÚ¸¸ ÀÔ·ÂÇÏ½Ê½Ã¿À.');
        obj.focus();
        return false;
    }
    // ÇÑ±Û ¿µ¹®¸¸ & ¾È³»
    function hanalpha_chk(obj,lable) {
        if (hanalpha_confirm(obj.value)) return true;
        alert(lable + ' ÇÑ±Û°ú ¿µ¹®¸¸ ÀÔ·ÂÇÏ½Ê½Ã¿À.');
        obj.focus();
        return false;
    }
    // ÁÖ¹Îµî·Ï ¹øÈ£ & ¾È³»
    function soc_chk(obj1,obj2) {
        if (obj1.value.length!=6 || !digit_confirm(obj1.value)) {
            alert("ÁÖ¹Îµî·Ï¹øÈ£´Â '6ÀÚ¸®¼ýÀÚ'-'7ÀÚ¸®¼ýÀÚ' ÀÔ´Ï´Ù.");
            obj1.focus();
            return false;
        }else if(obj2.value.length!=7 || !digit_confirm(obj2.value)) {
            alert("ÁÖ¹Îµî·Ï¹øÈ£´Â '6ÀÚ¸®¼ýÀÚ'-'7ÀÚ¸®¼ýÀÚ' ÀÔ´Ï´Ù.");
            obj2.focus();
            return false;
        }else if(!social_confirm(obj1.value + obj2.value)) {
            alert("ÁÖ¹Îµî·Ï¹øÈ£¿¡ ¿À·ù°¡ ÀÖ½À´Ï´Ù. ´Ù½Ã È®ÀÎÇÏ¿© ÁÖ½Ê½Ã¿À.");
            obj1.focus();
            return false;
        }
        return true;
    }
    function pass_check(pass)
    {
    	chkpassWND=window.open("","hWin","titlebar=yes,width=200,height=50,scrollbars=no");
	chkpassWND.document.open();
	chkpassWND.document.write("<form name=\"chkform\">");
	chkpassWND.document.write("<input type=hidden name=pass value=pass");
	chkpassWND.document.write("ÆÐ½º¿öµå¸¦ ÀÔ·ÂÇÏ¼¼¿ä");
	chkpassWND.document.write("<table border=0 align=center>",
		"<tr><td width=80 align=right>ÆÐ½º¿öµå : <td>",
		"<td width=80><input type=password name=passwd></td>",
		"<td width=40><input type=button onclick='return pass_chk(this.form.passwd.value,this.form.pass.value);'></td></tr>",
		"</table>");
    }
    function pass_chk(pass,input_pass)
    {
    	if(pass==input_pass)
		return true;
	else
	{
		alert('ÆÐ½º¿öµå°¡ Æ²¸³´Ï´Ù');
		return false;
	}
    }

