Element.Events.tab = {
    base: 'keydown', 
    condition: function(e){ 
        return (e.code==9 && !e.shift);
    }
};

Element.Events.shiftTab = {
	    base: 'keydown', 
	    condition: function(e){ 
	        return (e.code==9 && e.shift);
	    }
	};

Element.Events.tabUp = {
    base: 'keyup', 
    condition: function(e){ 
		return (e.code==9 && !e.shift);
    }
};


Element.Events.plus = {
	base: 'keydown', 
	condition: function(e){ 
		return (e.code==107);
	}
};

Element.Events.minus = {
		base: 'keydown', 
		condition: function(e){ 
			return (e.code==109);
		}
	};

Element.Events.esc = {
		base: 'keydown', 
		condition: function(e){ 
			return (e.key == "esc");
		}
	};

Element.Events.calendarEsc = {
		base: 'keydown', 
		condition: function(e){ 
			return (e.key == "esc");
		}
	};


Element.Events.enterDown = {
		base: 'keydown', 
		condition: function(e){ 
			return (e.key == "enter");
		}
	};

Element.Events.leftmousedown = {
		base: 'mousedown', 
		condition: function(e){ 
			return (!e.rightClick);
		}
	};

Element.Events.leftmouseup = {
		base: 'mouseup', 
		condition: function(e){ 
			return (!e.rightClick);
		}
	};

Element.Events.enter = {
		base: 'keyup', 
		condition: function(e){ 
			return (e.key == "enter");
		}
	};

/*Element.Events.numeric = {
		base: 'keydown', 
		condition: function(e){ 
			return (e.code==107);
		}
	};*/
