helper.js 361 Bytes
if (typeof (nBildertool) === 'undefined')
	nBildertool = {};

nBildertool.extend = function (subClass, baseClass)
{
	function inheritance() {}
	inheritance.prototype = baseClass.prototype;

	subClass.prototype = new inheritance();
	subClass.prototype.constructor = subClass;
	subClass.baseConstructor = baseClass;
	subClass.superClass = baseClass.prototype;
}