function confirmWin(uzenet,igaz,hamis,akcio) {
	var x = window.confirm(uzenet);
	var rendeles = akcio;
	if (x) {
		if (rendeles != null) {
			document.forms.rendeles.submit();
		} else {
			window.location = igaz;
		}
	} else if (hamis != null) {
		window.alert(hamis);
	}
}

function hiba(uzenet) {
	window.alert(uzenet);
}

function jelszo(uzenet,jelszo) {
	var password;
	var pass1=jelszo;
	password=prompt(uzenet,' ');
}
function whil() {
	while(prompt(uzenet, 'HERE') != 'jelszo'){
      alert('That was an incorrect response, please try again');
    }
	
}
