function checkFormPolec()
{
	var wzor = /^[0-9a-z._-]+(@|\(at\))+[0-9a-z._-]+\.[a-z]{2,4}$/i;
	if ( !wzor.test( document.getElementById('email_odbiorcy').value ) || document.getElementById('email_odbiorcy').value.lastIndexOf("@") != document.getElementById('email_odbiorcy').value.indexOf("@") )
	{
		alert( "Adres email nie jest prawidłowy!" );
		document.getElementById('email_odbiorcy').focus();
		return false;
	}

	// Wymagana jest tresc z obrazka
	if( document.getElementById("captcha").value == '' )
	{
		alert("Prosze podać tekst z obrazka!");
		document.getElementById('captcha').focus();
		return false;
	}

	document.getElementById('formPolec').submit();
}

