function TravaForm(url) {

		// xtyu  = usuario
		// xtyd  =  senha
		// xxytr = ID Adv

		var user = document.frmAnda.xtyu.value;
		var pass = document.frmAnda.xtyd.value;
		var ID   = document.frmAnda.xxytr.value;

		if (document.frmAnda.xtyu.value == "") {
				alert('Digite seu nome de usuário.');				
				return false;}

		if (document.frmAnda.xtyd.value == "") {
				alert('Digite sua senha.');				
				return false;}

		window.open("http://www.meuescritorio.com.br/andamentos/sys/action/login.php?id_cli="+ID+"&user="+user+"&pass="+pass);
		//document.location.href = url;
		return false;
}
