jQuery.scope = function(target,func){ return function() {return func.apply(target,arguments);}}; 

/***************************************
 * object clone
 ***************************************/
jQuery.cloneObject = function(source,isDeep) {
	if(isDeep){
		return $.extend(true,{},source);
	}
	return $.extend({},source);
}	
