// JavaScript Document

	function ValidateForm(f)

	{
		var name = f.kon_name.value;
		var email = f.kon_email.value;
		var content = f.kon_content.value;

  if(name == null || name == '') {

      alert("Proszę podać imię i nazwisko!");

	    return false;

  }

	if(email == null || email == '') {

    alert("Proszę podać e-mail!");

    return false;

  }

  if(email == ""||!(/^[\w\.-]+@([\w-]+\.)*[a-z]{2,4}$/.test(email))) {

      alert("Niepoprawny e-mail!");

      return false;

  }

  if(content == null || content == '') {

      alert("Proszę podać treść wiadomości!");

	    return false;

  }


	return true;

	}







$(document).ready(function(){
    $('a[rel="lightbox"]').lightbox();
    $('table tr:odd').find('td').css({"background-color":"white"});
});

