function __goTo(firstPart, secondPart, aElement, tInput) {

	// '/vistem/de/', '/?action=iV-new', 'goToVistem', 'npvistem')

	var a = document.getElementById(aElement);
	var s = document.getElementById(tInput);

	if ((!a) || (!s)) { alert('Element fehlt'); return false; }

	if ((!s.value) || (s.value.length = 0)) { alert('Kein Inhalt'); return false; }

	var dest = firstPart + s.value + secondPart;

	// alert(dest);

	if (a.href == dest) { return true; }

	a.href = dest;

	a.onclick();

	return false;

	

}


function update_personen(type) {


	var f = document.forms['myForm'];

	var nl = f.elements['iP.RAnschrift_abweichend'];
	if (!nl) { return; }

	var i = 0;
	var j = 0;
	var k = 0;
	var d = null;
	var a = null;


	if (type == 2) {
		d = document.getElementById('pr1');

		if (d) { 

			d.style.display = ((nl.checked) ? 'inline' : 'none');

				// j += parseInt(nl[i].value);
		}

		return;
	}

	d = document.getElementById('pr1');

	if (d) { d.style.display = ((nl.checked) ? 'inline' : 'none'); }

	return;


}




