function updateprice () {
	var f = document.forms['kompjegyrendeles'];
	var e = f.elements;
	var p = 0;
	p += price1list[e['gepkocsiteljeshossza'].selectedIndex];
	p += price2list[e['soforokszama'].selectedIndex];
	if (e['visszautideje'].selectedIndex != 0) p *= 2;
	e['ar'].value = p + ' EUR';
}

function replacePassword (old) {
//	old.type='password'; old.value='';
//	var neo = document.createElement ('input');
	if (old.type == 'password') return;
	var neo = old.cloneNode(false);
	neo.type = 'password';
//	neo.setAttribute ('name',old.getAttribute('name'));
//	neo.setAttribute ('style',old.getAttribute('style'));
	neo.value = '';	
//	neo.onClick = function() { };
//	neo.onFocus = void();
	old.parentNode.replaceChild (neo,old);
	setTimeout ("document.getElementById('password').focus();", 10);
//	neo.focus ();
}
