function MaxLength(obj, maxlength) {
	if(obj.value.length >= maxlength) {
		obj.focus();
		return false;
	} 
	else {
		return true;
	}
}