(function(a){this.version="(beta)(0.0.1)";a.jCache=a.jCache||{};this.maxSize=10;this.keys=new Array();this.cache_length=0;this.items=new Array();this.setItem=function(c,b){if(typeof(b)!="undefined"){if(typeof(this.items[c])=="undefined"){this.cache_length++}this.keys.push(c);this.items[c]=b;if(this.cache_length>this.maxSize){this.removeOldestItem()}}return b};this.removeItem=function(c){var b;if(typeof(this.items[c])!="undefined"){this.cache_length--;var b=this.items[c];delete this.items[c]}return b};this.getItem=function(b){return this.items[b]};this.hasItem=function(b){return typeof(this.items[b])!="undefined"};this.removeOldestItem=function(){this.removeItem(this.keys.shift())};this.clear=function(){var b=this.cache_length;this.keys=new Array();this.cache_length=0;this.items=new Array();return b};a.jCache=this;return a})(jQuery);