/*! Copyright (c) 2007 Brandon Aaron (http://brandonaaron.net)
 * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) 
 * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
 *
 * $LastChangedDate: 2008-05-09 09:24:44 -0500 (Fri, 09 May 2008) $
 * $Rev: 5535 $
 *
 * Version: 1.0.1
 */
(function($){$.fn.batch=function(method){var args=$.makeArray(arguments).slice(1),results=[];this.each(function(){results.push($(this)[method].apply($(this),args));});return results;};$.batch={version:"1.0.1",registerPlugin:function(){$.each(arguments,function(index,plugin){var method=plugin.constructor==Array&&plugin[0]||plugin,newMethod=plugin.constructor==Array&&plugin[1]||plugin+"s";if($.fn[method]&&!$.fn[newMethod])$.fn[newMethod]=function(){return this.batch.apply(this,[method].concat($.makeArray(arguments)));};});}};$.batch.registerPlugin('attr',['css','styles'],'offset','width','height','html','text','val');})(jQuery);