if(typeof(Controls) == 'undefined')
	var Controls = {};
if(typeof(Controls.Delegates) == 'undefined'){
	Controls.Delegates = {};
	
	Controls.Delegates.CreateDelegate = function(instance, method) {
		return function() {
			return method.apply(instance, arguments);
		}
	}
}
