(function($){

	$.fn.autoselect = function() { 	

		return this.each(function() {
			$(this).click(function() {
				$(this).select();
			});
		});

	};

})(oldJQuery);
