/** * jQuery Generic Plugin Module * Version 0.1 * Copyright (c) 2011 Cyntax Technologies - http://cyntaxtech.com * Licensed under the Cyntax Open Technology License * http://code.cyntax.com/licenses/cyntax-open-technology */ (function(a){a.jQueryPlugin=function(b){a.fn[b]=function(c){var d=Array.prototype.slice.call(arguments,1);if(this.length){return this.each(function(){var e=a.data(this,b)||a.data(this,b,(new cyntax.plugins[b](this,c))._init());if(typeof c==="string"){c=c.replace(/^_/,"");if(e[c]){e[c].apply(e,d)}}})}}}})(jQuery);var cyntax={plugins:{}}