
function maxLength(obj, max)
{
	maxLength_buffer = obj.value
	if(max < obj.value.length)
	obj.onkeyup = function() { obj.value = maxLength_buffer; } 
}
