/**
	Projeto - Form Validation Library (Projeto-formVal-lib) v: 0.1
	Developer(s):
		+ Diogo Silva (seu.email@hellointeractive.com.br)
*/

// Aplica digit-counter em TextAreas
function taCounter(taObjId, limit, outputObjId) {
	taObj = $(taObjId);
	outputObj = $(outputObjId);
	taObj.onkeypress = function() {
		if(this.value.length>=limit){
			this.value = this.value.substring(0,this.value.length-1);
			return false;
		}
	}
	taObj.onkeyup = function() {
		if(outputObj)
			outputObj.firstChild.nodeValue = this.value.length;
		if(this.value.length>=limit) return false;
	}

	return true;
}


function validaForm() {
	
	return true;
}