<!--

var from = escape(document.referrer);
var query = location.search;
var colorDepth = window.screen.colorDepth;			
var res = window.screen.width + "," + window.screen.height;
var strona = location.href;
document.write("<img src='statystyka/zlicz.php?referer=" + from + "&query=" + query + "&kolory=" + colorDepth + "&rozdzielczosc=" + res + "&strona=" + strona +  "' align='middle' style='display:none'>");

function sprawdz() {
	if (document.formularz.imie.value.length == 0) 
		{
			alert("Prosimy o wypełnienie pola imię.\n");
			document.formularz.imie.focus();
			return false;
		}
	if (document.formularz.nazwisko.value.length == 0) 
		{
			alert("Prosimy o wypełnienie pola nazwisko.\n");
			document.formularz.nazwisko.focus();
			return false;
		}
	if (document.formularz.odpowiedz.value.length == 0) 
		{
			alert("Prosimy o wybranie sposobu odpowiedzi na Państwa zapytanie.\n");
			document.formularz.odpowiedz.focus();
			return false;
		}
	if (document.formularz.zapytanie.value.length == 0) 
		{
			alert("Prosimy o wypełnienie pola zapytanie.\n");
			document.formularz.zapytanie.focus();
			return false;
		}
	if(document.formularz.odpowiedz.value == "przez e-mail")
		{
			if (document.formularz.email.value.length == 0) 
				{
					alert("Prosimy o wypełnienie pola e-mail.\n");
					document.formularz.email.focus();
					return false;
				}
		}
	if(document.formularz.odpowiedz.value == "telefonicznie")
		{
			if (document.formularz.telefon.value.length == 0) 
				{
					alert("Prosimy o wypełnienie pola telefon.\n");
					document.formularz.telefon.focus();
					return false;
				}
		}
	if(document.formularz.odpowiedz.value == "faxem")
		{
			if (document.formularz.fax.value.length == 0) 
				{
					alert("Prosimy o wypełnienie pola fax.\n");
					document.formularz.fax.focus();
					return false;
				}
		}
	alert("Dziękujemy za zainteresowanie nasz± ofert±.\nWkrótce skontaktujemy się z Państwem.\n");		
	return true; 

}

var okno = null;
function powieksz(width, height, url) {
	borderless=false;
	ScrWidth = 640; ScrHeight = 480;
	if (window.screen) {ScrWidth = window.screen.width; ScrHeight = window.screen.height}
	PosX = Math.round((ScrWidth - width)/2);
	PosY = Math.round((ScrHeight - height)/2);
	if (okno != null && !document.layers) {okno.close();}
	if (borderless && !document.layers) {
		okno = window.open("", "splash", "fullscreen=1,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0");
		okno.resizeTo(w, s);
		okno.moveTo(PosX, PosY);
	}
	else
		okno = window.open("", "splash", "menubar=no,toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizable=no,copyhistory=no,width=" + width + ",height=" + height + ",left=" + PosX + ",top=" + PosY);

	okno.document.open();
	okno.document.clear();
	okno.document.write("<HTML><HEAD><title>LIDER Sp. z o.o. - Referencje</title></HEAD><body leftmargin=0 topmargin=0 rightmargin=0 bottommargin=0 marginwidth=0 marginheight=0><a href='javascript:window.close()'><img src="+url+" alt='Kliknij gdziekolwiek aby zamkn±ć to okno.' border='0'></a></BODY></HTML>");
	okno.document.close();
	okno.focus();	
}
// -->
