//////////////////////////////////////// CONSTRUCTOR
function Delegate(obj)
{
	this.parent	= obj;
}
//////////////////////////////////////// PUBLIC METHODS
Delegate.prototype.create = function(func)
{
	var method 	= func
	var obj		= this.parent;
	//alert(func);
	return function(){ return method.call(obj) };
}
//////////////////////////////////////// PRIVATE METHODS