// JavaScript Document

function title(t){
	document.title = document.title + t	;
}

function MaximoCaracteres(field,MaxLength) { 
	obj = document.getElementById(field); 
	if (MaxLength !=0) {
		if (obj.value.length > MaxLength)  {
			obj.value = obj.value.substring(0, MaxLength);
		}
	document.getElementById("cont").innerHTML = MaxLength - obj.value.length;
	}
}