/**
 * Binds a function to a specific scope in which it will be executed
 * @param obj  The scope-object
 * @return A function-wrapper that will be call in the scope of obj
 */
Function.prototype.bind = function(obj) {
	var method = this,
		temp = function() {
			return method.apply(obj, arguments);
		};
	return temp;
}



//YUI Basic
var yDom = YAHOO.util.Dom;
var yEvent = YAHOO.util.Event;