function search()
{
	var s = document.getElementById('sstr').value;
	location.assign('index.php?name=szukaj&subname='+encodeURI(s)+'&value=0');
}
