function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
  return false;
}

function showhide(id,prefixo){
	if (document.getElementById){
		obj = document.getElementById(id);
		if (obj.style.display == "none"){
			obj.style.display = "";
		} else {
			obj.style.display = "none";
		}
	}
	for (i = 1; i <= 6; i++ ) {
		if ( document.getElementById(prefixo + i) ) {
			obj2 = document.getElementById(prefixo + i);
			if ( prefixo + i != id && obj2.style.display == "") {
				obj2.style.display = "none";
			}
		}
	}
	return false;
}

function contaLetras(campo, contador, limite) {
	if (campo.value.length > limite) {
		campo.value = campo.value.substring(0, limite);
	} else {
		contador.value = limite - campo.value.length;
	}
}
function ShowHide(bloco) {
	jQuery("#" + bloco).animate({ 
		"height": "toggle"
	}, { duration: 200 });
}

