(function() {
  var __bind = function(func, context) {
    return function(){ return func.apply(context, arguments); };
  };
  jQuery(document).ready(__bind(function($) {
    var style;
    style = readCookie('style') || 'dark';
    $.stylesheetInit();
    $.stylesheetSwitch(style);
    return document.id('siteContainer').addEvent('click', __bind(function(e) {
      return e.target.id === 'stylesheet_toggler' ? $.stylesheetToggle() : null;
    }, this));
  }, this));
})();

