$(document).ready(function(){
	
	$(".lightbox").lightbox();
	
});

function CheckMail() {
	$("#FormMess").text("");
	if($("#imnaz").val()=='') return ShowError("Proszę wpisać swoje imię.");
	if($("#email").val()=='') return ShowError("Proszę wpisać swój email.");
	if($("#temat").val()=='') return ShowError("Proszę wpisać temat wiadomości.");
	if($("#tresc").val()=='') return ShowError("Proszę wpisać treść wiadomości.");
	return true;
}

function ShowError(txt) {
	$("#FormMess").text(txt);
	$("#FormMess").css({'color':'red','font-weight':'bold'});
	return false;
}
