function otworz(url, szerokosc, wysokosc) {
	x = (screen.width/2)-(szerokosc/2); // ustalam współrzędne poziome
	y = (screen.height/2)-(wysokosc/2); // ustalam współrzędne pionowe
	window.open(url,"launch","height="+wysokosc+",width="+szerokosc+",top="+y+",left="+x);
}
function zatwierdz(a)
{
	document.getElementById('akcja').value=a;
	document.xx.submit();
}
function check_form() {
	var error_message = "Wyst±piły błędy podczas przetwarzania formularza\n";
	var error_found = false;
	var keywords = document.getElementById('slowo').value;
	if ( ((keywords == '') || (keywords.length < 2))) {
		error_message = error_message + "* Proszę podać przynajmniej jedno wyrażenie\n";
		error_found = true;
	}
	if (error_found == true) {
		alert(error_message);
		return false;
	} else {
		return true;
	}
}
function check_formm() {
	var error_message = "Wyst±piły błędy podczas przetwarzania formularza\n";
	var error_found = false;
	var keywords = document.getElementById('slowo').value;
	if ( ((keywords == '') || (keywords.length < 2))) {
		error_message = error_message + "* Proszę podać przynajmniej jedno wyrażenie\n";
		error_found = true;
	}
	if (error_found == true) {
		alert(error_message);
		return false;
	} else {
		return true;
	}
}
function bubu(){
	zm = document.getElementById("slowoo");
	zm.value = '';
}


