function abre(site,nome,xw,xh,wscroll) {
	var xwidth = xw;
	var xheight = xh;
	var xtop = ((screen.height - xheight) / 2);
	var xleft = ((screen.width - xwidth) / 2);
	window.open('' + site + '','' + nome + '','width=' + xwidth + ',height=' + xheight + ',top=' + xtop + ',left=' + xleft + ',scrollbars=' + wscroll + ',toolbar=no,location=no,status=no,menubar=no,resizable=no')
}
function validaCPF(obj) {
	var resultado = isCPFCNPJ(obj.value,1);
	if (resultado) {
		return true;
	} else {
		alert('CPF incorreto. Por favor preencha novamente.');
		obj.value='';
		obj.focus();
		return false;
	}
	return false;
}
