anchor.diff:          $("#editorhelp").css('visibility','visible');
         }
         break;
  +    case 67: // c
  +      if ($("#fancybox-wrap").is(":visible")) {
  +        $.fancybox.close();
  +      } else {
  +        show_catalog();
  +      }      
  +      break;
       case 83: // s
         if (event.ctrlKey){
           event.preventDefault();
  
positive.code:     console.log(event.keyCode);
    });
  });
  
negative.code:       center: true
      });
    }
    var show_catalog = function() {
      $.fancybox.showActivity();
  	  $.ajax({
  		  type		: "GET",
  		  cache	: false,
  		  url		: "/list_catalogs",
  		  success: function(data) {
  			  $.fancybox({
            content: data
          });
  		  }
  	  });
    };
    resize_slots();
    $(window).resize(function() {resize_slots()});
    $(window).keydown(function(event){
  