<!--

//¼ýÀÚ Ã¼Å©
function isNumber() {
 	if ((event.keyCode<48)||(event.keyCode>57)){
  		alert("¼ýÀÚ·Î¸¸ ÀÔ·ÂÀÌ °¡´ÉÇÕ´Ï´Ù!");
  		event.returnValue=false;
 	}
}


function check_num(numchar) {
	len = numchar.value.length ;
	ch = numchar.value.charAt(len - 1) ;
		
	if ( ( ch < '0' ) || ( ch > '9') ) {
		str = numchar.value ;
		for ( i = 0 ; i < len ; i ++ ) 
			numchar.value = str.substr(0, len - 1) ;
	}
	
}

//****************************************************************************
//¼ýÀÚ¸¸ ÀÔ·Â¹Þ°Ô ÇÑ´Ù.
//****************************************************************************
function IsInteger(st) {
    if (!IsEmpty(st)){
       for (j=0; j<st.length; j++){
         if (((st.substring(j, j+1) < "0") || (st.substring(j, j+1) > "9")))
	     return false;
       }
    } else {
       return false ;
    }
    return true ;
}

function IsEmpty(toCheck) {
     var chkstr = toCheck + "";
     var is_Space = true ;
     if ( ( chkstr == "") || ( chkstr == null ) )
	   return false ;
     for ( j = 0 ; is_Space &&  ( j < chkstr.length ) ; j++){
	     if( chkstr.substring( j , j+1 ) != " " )
    	       is_Space = false ;
     }
     return ( is_Space );
}
//-->
