<!--
	function userid_check(){
		ids = document.the_form.mem_id.value
		if(id_filter(ids) == false){
			alert("»ç¿ëÀÚ ¾ÆÀÌµð´Â ¿µ¹® ¾ËÆÄºª°ú ¼ýÀÚÀÇ Á¶ÇÕÀ¸·Î¸¸ »ç¿ë°¡´ÉÇÏ¸ç 4~12ÀÚ ±îÁö »ç¿ëÇÒ¼ö ÀÖ½À´Ï´Ù.");
			document.the_form.mem_id.focus();
			return;
		}
		else
		window.open('/member/id_check.asp?id='+ids,'','scrollbars=no,menubar=no,left=200,top=200,width=424,height=212')
	}

	function id_filter(strUserName){ 
		var bRetNo; 
		bRetNo = true; 
		if((strUserName.length == 0) || (IsUserName(strUserName) == false)){
			bRetNo = false; 
		}
		return bRetNo; 
	} 

	function IsUserName(strUserName){
		var nIndex;
		var chrCurrent;
		var ascChrCurrent;
		var strInvalid;
		var bReturn;
		bReturn = true;
		for(nIndex = 0; nIndex < strUserName.length; nIndex++){ 
			ascChrCurrent = strUserName.charAt(nIndex);
			if((ascChrCurrent>='0' && ascChrCurrent<='9' ) || (ascChrCurrent>='a' && ascChrCurrent<='z') || (ascChrCurrent>='A' && ascChrCurrent<='Z')){
				bReturn = true;
			}
			else{
				bReturn = false;
				break;
			}
		}
		if(bReturn && ((strUserName.length < 4) || ( strUserName.length > 12 ))){
			bReturn = false;
		}
		return bReturn;
	} 
//-->