require(["dojo/fx/Toggler", "dojo/fx", "dojo/dom", "dojo/on", "dojo/domReady!"],
function(Toggler, coreFx, dom, on){
  var toggler = new Toggler({
    node: "kontener_1",
    showFunc: coreFx.wipeIn,
    hideFunc: coreFx.wipeOut,
    showDuration: 800,
    hideDuration: 800
  });
  on(dom.byId("przycisk_ukryj"), "click", function(){
    toggler.hide();
  });
  on(dom.byId("przycisk_pokaz"), "click", function(){
    toggler.show();
  });
});
















