	/**
	 * Sorgt fuer Definition einer Klasse als Unterklasse.
	 *
	 * Die ist ein Umgang fuer prototype.js 1.5.1. Mit 1.6.0 sollte
	 * es einen schoeneren Weg fuer Umgang mit den Klassenhierarchien 
	 * geben.
	 *
	 * @param aSuperclass Die Oberklasse.
	 * @return Die Unterklasse.
	 */
	Class.createSubclass = function(aSuperclass) {
		var theSubclass = Class.create();
		Object.extend(theSubclass.prototype, aSuperclass.prototype);
		theSubclass.superclass = aSuperclass.prototype;
		return theSubclass;
	}
	
	String.prototype.trim = function() {
		return this.replace(/^\s+|\s+$/g, "");
	}
	
	String.prototype.ltrim = function() {
		return this.replace(/^\s+/, "");
	}
	
	String.prototype.rtrim = function() {
		return this.replace(/\s+$/, "");
	}