function dataCzas()
{
	var calendar = new Date();
	var day = calendar.getDay();
	var month = calendar.getMonth();
	var date = calendar.getDate();
	var year = calendar.getYear();
	
	var hours = calendar.getHours();
	var minutes = calendar.getMinutes();
	var seconds = calendar.getSeconds();
	if (hours<=9)
		hours="0"+hours;
	if (minutes<=9)
		minutes="0"+minutes;
	if (seconds<=9)
		seconds="0"+seconds;
	if (year < 1000)
		year+=1900
	cent = parseInt(year/100);
	g = year % 19;
	k = parseInt((cent - 17)/25);
	i = (cent - parseInt(cent/4) - parseInt((cent - k)/3) + 19*g + 15) % 30;
	i = i - parseInt(i/28)*(1 - parseInt(i/28)*parseInt(29/(i+1))*parseInt((21-g)/11));
	j = (year + parseInt(year/4) + i + 2 - cent + parseInt(cent/4)) % 7;
	l = i - j;
	emonth = 3 + parseInt((l + 40)/44);
	edate = l + 28 - 31*parseInt((emonth/4));
	emonth--;
	var dayname = new Array ("niedziela","poniedziałek", "wtorek", "środa", "czwartek", "piątek", "sobota" );
	var monthname = new Array ("stycznia","lutego","marca","kwietnia","maja","czerwca","lipca","sierpnia","września","października","listopada","grudnia" );
	
	ciagDataCzas = dayname[day] + ", "+ date + " " + monthname[month] + " " + year + " r.,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;" + hours + ":" + minutes + ":" + seconds;
	
	
	document.getElementById('data').innerHTML = ciagDataCzas
	t=setTimeout('dataCzas()',500)
}

function szukaj()
{
if(szukaj.value == '')
     {
       alert('Nie mam czego szukać ;)');
       return false;
     }
	return true;
}     
