(function(Gear) {

	var _BODY = Gear.DOC.getElementsByTagName('body')[0],
		_isPreventing = false;

	Gear.ContextMenu = {
		prevent: function() {
			if (_isPreventing) { return; }

			_BODY.setAttribute('oncontextmenu', 'return false;');
			_isPreventing = true;
		},
		allow: function() {
			if (!_isPreventing) { return; }

			_BODY.removeAttribute('oncontextmenu');
			_isPreventing = false;
		}
	};

}(Gear));
@@ -30,16 +30,23 @@
  = Gear.
+Global.
 DOC.getE

Fix reference to document