

function Delegate(obj, func) {
	var f = function()
		{
			this.target = arguments.callee.target;
			this.func = arguments.callee.func;
			
			return this.func.apply(this.target, arguments);
		};
	
	f.target = obj;
	f.func = func;
	
	return f;
};

