function checkLegnth(objId, length, objName) {
	
	var txtObj = document.getElementById(objId);
	
	if (txtObj.value.length > length) {
		alert(objName + "内容不得超过" + length + "个字！");
		return false;
	}
	
	return true;
}