function kontrola_srch()
{
	var f = document.getElementById('searchform');
	if(f.slovo.value.trim() == "") return false;
	else return true;
}

String.prototype.trim = function(){return this.replace(/^\s*|\s*$/g,'');}