/* 
 *
 * hcs core v1.0 jQuery plugin
 * tested for jquery 1.4.2 
 *
 * Copyright 2010, Hartman Computer Solutions
 * http://www.h-c-s.nl/
 *
 * Dependencies: jQuery Core
 *
 */

(function(c){var e=1.0;var d=typeof c.hcs=="function";if(!d||c.hcs.constructorVersion<e){var a=c.extend({},c.hcs);var b=c.hcs=c.fn.hcs=function(){if(this.length==0){throw"No jQuery object was provided. For global functions use $.hcs instead!"}if(this.data("hcs")==null){var f=new c.hcs.fn.init(this);this.data("hcs",f);return f}else{return this.data("hcs")}};c.extend(b,a);b.fn=b.prototype=c.extend(b.fn,{jQuery:[],init:function(f){this.jQuery=f;return this}});b.extend=b.fn.extend=function(){var k=(typeof arguments[0]=="boolean"||typeof arguments[0]=="number")?arguments[0]:false;var f=arguments.length;var h=k?1:0;for(;h<f;h++){if(typeof arguments[h]==="object"){for(var g in arguments[h]){if(k!==false){if(!this[g]||k===true||this[g].version==undefined||(k>this[g].version)){this[g]=arguments[h][g];if(k!==true){this[g].version=k}}}else{if(!this[g]){this[g]=arguments[h][g]}}}}}};b.constructorVersion=b.fn.constructorVersion=e;b.fn.init.prototype=b.fn}})(jQuery);
