function validForm(f) {
	if (f.str.value.length<=0)
		alert("Пожалуйста, введите строку запроса!"); 
	else 
		f.submit(); 
}
