// 未入力チェック
function IsNullCheck( aValue ) 
{
  if (aValue == "") {
      return(false);
  }
  return(true);
}

// 数値チェック
function IsNumCheck( aValue ) 
{
    return(!(isNaN(aValue)));
}

// 文字数チェック
function IsStrlenCheck( aValue, iLen ) 
{
    var len;
        
    len = aValue.length;
    if(iLen < len){
        return(false);
    }
    return(true);
}

// 半角英数字チェック
function IsSingleByteCheck( aValue ) 
{
    var i,len, result;
    
    len = aValue.length;
    // 
    for(i=0; i<len; i++){
        result = /\W/.test(aValue.charAt(i));
        if(result){
            return(false);
        }
    }
    return(true);
}

// 文字列の比較
function IsStrCmp( aValue1, aValue2 ) 
{
    if( aValue1 == aValue2){
         return(true);
    }
    return(false);
}

// E-mail アドレスかどうかのチェック
function IsEmailAdress( aValue ) 
{
    var result;
    // 文字列に @ があるかないか
    result = /@/.test(aValue);
    return(result);
}

