
if (Zn.browser.html == undefined) Zn.browser.html = {};

Zn.browser.html.visibility = {};

// TODO: Document!!
//
Zn.browser.html.visibility.WithDisplay =
  new Zn.Mixin (
      {
        show: function() {  this.style.display = 'block' },
        hide: function() {  this.style.display = 'none' }
      }
    );


// TODO: Document!!
//
Zn.browser.html.visibility.WithVisibility =
  new Zn.Mixin (
      {
        show: function() { this.style.visibility = 'visible' },
        hide: function() { this.style.display = 'hidden' }
      }
    );

