function objfn(fn, obj)
  {
  this.fn = fn;
  this.obj = obj;
  }

objfn.prototype.run = function()
  {
  if (this.obj == null)
    {
    return this.fn.apply(this, arguments);
    }else
    {
    return this.obj[this.fn].apply(this.obj, arguments);
    }
  }
