code: function makeSettings() {
          var i;
          settings = $.extend({}, $.data(element, colorbox));
          
  		for (i in settings) {
  			if ($.isFunction(settings[i]) && i.slice(0, 2) !== 'on') { // checks to make sure the function isn't one of the callbacks, they will be handled at the appropriate time.
  			    settings[i] = settings[i].call(element);
  			}
  		}
          
  		settings.rel = settings.rel || element.rel || 'nofollow';
  		settings.href = settings.href || $(element).attr('href');
  		settings.title = settings.title || element.title;
          
          if (typeof settings.href === "string") {
              settings.href = $.trim(settings.href);
          }
  	}
docs: Assigns function results to their respective properties