

<!--
setTimeout(function() {
$(document).ready(function() {
    var working = false;
/*    $("#seroweError").hide();
    
    var opts = {
        dataType: 'json',
        beforeSubmit: function(data,form,opt) {
            if(working) return false;
            working = true;
            $("#seroweError").hide();
            $("#seroweWiatrak").show();
        }, success: function(re,st) {
            working = false;
            $("#seroweWiatrak").hide();
            if(re.status == true) {
                window.location = re.url;
            } else {
              //var ind = parseInt(re.status);
                $("#seroweDescr").html(re.msg);
            $("#seroweError").show();
            }
        }, error: function() {
            working = false;
            $("#seroweWiatrak").hide();
            $("#seroweDescr").html("Przepraszamy, wystÄ…piĹ‚y<br />problemy techniczne");
            $("#seroweError").show();
        }
    };
    $("form").ajaxForm({ beforeSubmit: function() { return false; } });
    $("form #go").click(function() {
        $($(this).parents("form")[0]).ajaxSubmit(opts);
        return false;
    });*/
});
},1);
$(document).ready(
function(){
/*
if ($("input[type=file]").length > 0) {
$("input[type=file]").filestyle({ 
    image: "/_img/dodajUpload.gif",
    imageheight : 32,
    imagewidth : 64,
    width : 210
});
$("input.file").next().css('margin','50px 0px 0px 20px');
$('div.standAloneLogin form').submit(
     function(){
      loginUrl = $('div.standAloneLogin form').attr('action');
      usrLog = $('div.standAloneLogin form input[name=user]').val();
      passLog = $('div.standAloneLogin form input[name=pass]').val();
      $.post(loginUrl, {user: usrLog, pass: passLog},
      function(login){
       if (login.result == false) {
        alert(login.msg);
       } else {
         window.location.href = unescape(window.location.pathname);
       }
      }, "json");
      return false;
    });
}//koniec if*/
if ($("#przepis_na input").length > 0) {
$("#przepis_na input").click(function(){
   if ($("#przepis_na input:checked").length > 2) {
   alert('MoĹĽna wybraÄ‡ maksymalnie dwie opcje.');
   if ($(this).next("label").hasClass("checked")) $(this).next("label").removeClass("checked").addClass("unchecked");
   return false;
   }
 });
 
 $("#przepis_na input[@type='checkbox'] + label").cssCheckbox();
}
});
//-->
