/**
 * @version ooTools.js version 1.0
 * @author Nathan Meurrens < nathan@meurrens.org >
 * @author Marc Meurrens < marc@meurrens.org >
 * @copyright Brussels, July 23, 2007 15:13
 * @license LGPL http://creativecommons.org/licenses/LGPL/2.1/
*/

// 1. namespace placeholder
ooTools = {};

// 2. inheritance
/**
 * inheritance
 * @author Kevin Lindsey
 * @version 1.0
 * copyright 2006, Kevin Lindsey
 * < http://www.kevlindev.com/tutorials/javascript/inheritance/ >
*/

/**
* A function used to extend one class with another
* @param {Object} subClass The inheriting class, or subclass
* @param {Object} baseClass The class from which to inherit
*/
ooTools.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;
}

/* function Sub(a,b,c) //e.g.
{
	Sub.baseConstructor.call(this, a,b);
	this.c = c ;
} */

// EoF