/**
 * ÒÀÀµjs:jQuery.js
 */
if(typeof window.com == "undefined"){
	window.com = {};
}
if(typeof window.com.mapbar == "undefined"){
	window.com.mapbar = {};
}
if(typeof window.com.mapbar.object == "undefined"){
	window.com.mapbar.object = {};
}

(function(package){
	jQuery.extend(package, {
		createClass : function(superClass, newMethod){
			var parent = typeof superClass == "function" ? jQuery.extend({}, superClass.prototype) : superClass;
			var newClass = function(){
				if(jQuery.isFunction(this.init)){
					this.init.apply(this, arguments);
				}else if(jQuery.isFunction(newClass.init)){
					newClass._super.init.apply(this, arguments);
				}
			};
			newClass._super = parent;
			jQuery.extend(newClass.prototype, parent, newMethod);
			return newClass;
		}
	});
})(com.mapbar.object);