/* 	::::: AEN CSS Framework support for :hover and :focus with jQuery :::::
	AEN <http://aenui.com/>
	
	Usage example: $('li').jhover() and $('li').jfocus()
	
	MIT License
*/

(function($) {

	$.fn.jhover = function() {

		return this.each(function(){

			var $element = $(this);

			// :hover
			$element.hover(function() {
				$(this).addClass('jhover');
			}, function() {
				$(this).removeClass('jhover');
			});
			
			

		});

	};
	
	$.fn.jfocus = function() {

		return this.each(function(){

			var $element = $(this);
			
			// :focus
			$element.focus(function() {
				$(this).addClass('jfocus');
			}, function() {
				$(this).removeClass('jfocus');
			});
			
			

		});

	};

})(jQuery);
