////////////////////////////////////////////////////////////////////////////////////
//
// Walidacja formularzy
//
////////////////////////////////////////////////////////////////////////////////////


function val_form()
{

    if (document.realizacja.imie_i_nazwisko1.value == '')
    {
        alert ('Podaj imiê i nazwisko.');
        return false;
    }

    else if (document.realizacja.telefon1.value == '')
    {
        alert ('Podaj telefon.');
        return false;
    }

    else if (document.realizacja.email1.value == '')
    {
        alert ('Podaj adres email.');
        return false;
    }

    else if (document.realizacja.ulica2.value == '')
    {
        alert ('Podaj ulicê.');
        return false;
    }

    else if (document.realizacja.miasto2.value == '')
    {
        alert ('Podaj miasto.');
        return false;
    }

    else if (document.realizacja.kod_pocztowy2.value == '')
    {
        alert ('Podaj kod pocztowy.');
        return false;
    }


    
    else
        return true;
}


