function RemoveHeadBlank(strInput){
	while(strInput.indexOf(" ")==0){
		strInput = strInput.replace(" ","");
	}
	return strInput;
}

function stringTrim(obj){
	if(obj==''){
		return ''
	}else{
		return obj.toString().replace(/(^\s*)|(\s*$)/g, "");
	} 
}

function isInt(val){
	var chkValue = true;
	//if(isNaN(val)){ chkValue = false; }
	if(val.toString().indexOf(".",0) > -1){ chkValue = false; }
	return chkValue;
}

function isFloat(val){
	var chkValue = true;
	if(val==''){
		chkValue = false
	}else{
		if(isNaN(val)){ chkValue = false; }
		if(val.toString().indexOf(".",0)==0){chkValue = false;}
	}
	return chkValue;
}
