function check_form(form)
{
    if(form.txtUsername.value=='')
    {
        alert("Wypełnij wszystkie pola");
        form.txtUsername.focus();
        return false;
    }
    return true;
}
