	///
	/// Check valid email [English half-width] if that email is valid will return true if not return false;
	/// 
	function CheckEmail(argv) {
		 var goodChar = "1234567890qwertyuiop[]asdfghjklzxcvbnm.@-_QWERTYUIOPASDFGHJKLZXCVBNM";
		for(i=0; i < argv.length ;i++){
			if(goodChar.indexOf(argv.charAt(i))<0){
				return (false);
			}	
		} 
		if (document.images) {
			var re = /(@.*@)|(\.\.)|(^\.)|(^@)|(@$)|(\.$)|(@\.)/;
			var re_two = /^.+\@(\[?)[a-zA-Z0-9\-\.]+\.([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$/;
			if (!argv.match(re) && argv.match(re_two)) {
				return (-1);		
			} 
		}
	}
	///
	/// Check that field is number function [half-width number only] if  that field is numer will return true otherwise will return false;
	///
	function CheckNumber(argv) {
		for(i=0;i<argv.length;i++){
			if (isNaN(argv.charAt(i))){
				return false;
			}
		}
		return true;
	}
	///
	/// Check Charecter Full-width, Half-width or Mixed If All charecter is half-width return "thin" , If All charecter is full-width return "fat" otherwise "mixed"
	///
	function CheckChar(argv){
		var flat = 0;
		var fat = 0;
		for (i=0;i<argv.length;i++) {
			preStr = argv.charAt(i); 
			chrCode = preStr.charCodeAt(0);			
			if ((chrCode >= 33 && chrCode <= 126) || (chrCode >= 65377 && chrCode <= 65437)) {// This is a length of half-width charecter
				flat++;
			} else {
				fat++;
			}
		}
		if (flat == argv.length) {
			return "thin";
		}
		if (fat == argv.length) {
			return "fat";
		} else {
			return "mixed";
		}
	}
	///
	/// Check ASCII Charecter [English half-width all] if all charecter is asscii will return true otherwise will return false;
	///
	function CheckANSIChar(argv) {
		for (i=0;i<argv.length ;i++ ){
			if (argv.charAt(i).charCodeAt(0) >= 0 && argv.charAt(i).charCodeAt(0) <= 255) { // preStr = argv.charAt(i); 
				// Nothing
			} else {
				return false;
			}
		}
		return true;
	}
	///
	/// Check if data is exist will return true otherwise will return false;
	///
	function CheckDataExist(argv) {
		if (argv != "") {
			return true;
		}
		return false;
	}
	///
	/// Trim [tab, space, carrriage return] from string at the front and the tail of the word specified
	///
	function Trim(str)
	{
		str=str.replace(/^(\s+)/, "");
		str=str.replace(/(\s+)$/, "");
		return str;
	}
	///
	/// Print the error blank message
	///
	function ErrBlank(field) {
		alert("Error : "+field+"\n\nをご記入ください。");
	}
	///
	/// Print the error not  number message
	///
	function ErrNotNumber(field) {
		alert("Error : "+field+"\n\n数字をご記入ください。");
	}
	///
	/// Print you must enter half-width charecter 
	///
	function ErrHalf_Width(field) {
		alert("Error : "+field+"\n\n半角数字で入力してください。");
	}
	///
	/// Print you must enter full-width charecter 
	///
	function ErrFull_Width(field) {
		alert("Error : "+field+"\n\n全角文字で入力してください。");
	}
	///
	/// Print email is not in valid format
	///
	function ErrEmail(field) {
		alert("Error : "+field+"\n\nemail not valid");
	}