damlev').default;
var levenshtein = (function () {
  var row2 = [];
  return function (s1, s2) {
    if (s1 === s2) {
      return 0;
    } else {
      var s1_len = s1.length,
        s2_len = s2.length;
      if (s1_len && s2_len) {
        var i1 = 0,
          i2 = 0,
          a, b, c, c2, row = row2;
        while (i1 < s1_len)
          row[i1] = ++i1;
        while (i2 < s2_len) {
          c2 = s2.charCodeAt(i2);
          a = i2;
          ++i2;
          b = i2;
          for (i1 = 0; i1 < s1_len; ++i1) {
            c = a + (s1.charCodeAt(i1) === c2? 0 : 1);
            a = row[i1];
            b = b < a? (b < c? b + 1 : c) : (a < c? a + 1 : c);
            row[i1] = b;
          }
        }
        return b;
      } else {
        return s1_len + s2_len;
      }
    }
  };
})();

function bktree (term, options) {
  options = options || {};
  if (options.transposition) this.stringCompare = damlev;
  else this.stringCompare = levenshtein;
  this.options = options;

  if (term instanceof Array) {
    var tree = new bktree(term.pop, this.options);
    tree.addTerms(term);
    return tree;
  }
  this.term = term;
  this.children = {};
}

bktree.prototype.addTerms = function (newTerms) {
  var len = newTerms.length;
  for (ii = 0; ii < len; ++ii) {
    this._addTerm(newTerms[ii]);
  }
};

bktree.prototype._addTerm = function (newTerm) {
  var dist = this.stringCompare(
    this.options.path? this.term[this.options.path] : this.term, 
    this.options.path? newTerm[this.options.path] : newTerm
  );
  if ('undefined'!== typeof this.children[dist]) {
    this.children[dist]._addTerm(newTerm);
  } else {
    this.children[dist] = new bktree(newTerm, this.options);
  }
};

bktree.prototype.query = function (queryTerm, maxDist, k) {
  var k = k || null;
  tempResults = [];
  this._query(queryTerm, maxDist, null, tempResults);

  tempResults.sort(function (a, b) {
    return (a.d - b.d);
  });

  var results = [];
  var len = tempResults.length;
  if (null!== k) {
    len = Math.min(k, tempResults.length);
  }
  for (var ii = 0; ii < len; ++ii) {
    results.push(this.options.details? tempResults[ii] : tempResults[ii].t);
  }
  return results;
};

bktree.prototype._query = function (queryTerm, maxDist, d, results) {
  var dist = this.stringCompare(
    this.options.path? this.term[this.options.path] : this.term,
    queryTerm);
  if (dist <= maxDist) {
    results.push({ t: this.term, d: dist });
  }

  if (null === d) {
    d = dist;
  }

  var min = (dist - maxDist);
  var max = (dist + maxDist);
  for (var ii = min; ii <= max; ++ii) {
    if ('undefined'!== typeof this.children[ii]) {
      this.children[ii]._query(queryTerm, maxDist, d, results);
    }
  }
};

module.exports = bktree;

I recently booked 9 events thru their "Pin It” & "Bridal Events” and paid for all back in June. Their first event was scheduled in July and they never sent me the final information for the event. When I inquired about it, they informed me that they had cancelled all of the bridal events due to not enough interest and they where sorry I had not been notified, they would refund my money.
I explained that something else had come up that conflicted with 2 of the Pin it events and I would like to cancel. They assured me that they would refund all 9 events but as the contract stated they had 30 days to do so. Of course I waited and the refund never came. I have emailed several other times inquiring with absolutely no response.
I will be taking them to small claims court as well as filing get with BBB The sad thing is that Sunny Gainey, the event coordinator, message me thru FB messenger asking me if I would be interested. They are specifically seeking vendors out, making small talk & being super friendly. They are definitely preying on people.
Employee Spotlight
Greg Gavula
Culligan Certified Master Technician
Syracuse, NY
Greg Gavula is a Culligan Certified Master service technician at our Syracuse, NY location. Greg started working for Culligan in August of 1991. Greg graduated from master technician school in 1997. If you need service for your water treatment equipment in the Syracuse area, chances are you have met Greg.
Originally from Concordville, PA, Greg moved to Syracuse here in August of 1991 from a two year stay on Adak Island, Alaska. Greg had 8 years of industrial water treatment experience at the Atlantic Refinery in Philadelphia and enjoyed what he was doing. He chose Culligan because it was a household name and he wanted to work for a company with a great history and an even better future.
Greg resides in Cazenovia with his wife and two sons 17 and 20. Greg is an avid outdoorsman, enjoying hunting and fishing. He also enjoys RC airplane, RC helicopter flying and construction. When the weather cooperates his favorite pastime is target shooting.
Greg has this to say about Culligan. “Every day offers me something new. Be it the customers I meet, the places I go, or the challenges I face. Never a dull moment. I have watched their family’s grow and know that Culligan and I have made a difference in their lives. I am also lucky to be surrounded by many talented coworkers who share the same vision as I do.”Portionally perfect thanks to Dr. Greco!
Dr. Greco is THE best plastic surgeon in the southeast, hands down. His dedication to perfection and attention to his patients and their needs/desires set him apart from other plastic surgeons and creates consistently beautiful results. Dr. Greco is a surgeon AND an artist. I could not be happier with the enhancements/improvements he has made to my body. I have referred several friends and even some strangers to Dr. Greco and will continue to do so. He really is a rare find.
5 out of 5 stars
Was this review helpful? {{ voteCountOthers +'other' + (voteCountOthers == 1? '' :'s') }} found this helpfulStartups financing dilemma explained.
Allergan (former Actavis) is restructuring its operations with the divestment of its generics business to Teva for approximately USD 41 billion in cash and stock ($33.75 billion in cash and Teva shares valued at $6.75 billion, giving it a 10% stake in Teva).
But it’s not done. According to an interview with the Financial Times, the CEO, Brent Saunders, is eager to sign another mega deal with the proceeds from the sale mentioned above. Allergan can then be put on the list of serial deal makers.
In the generics market, Teva will stay one step ahead of Novartis Sandoz division (estimated proforma 2014 sales of USD 15.7 billion for Teva-Allergan vs. USD 8.5 billion for Novartis Sandoz division).
In this context, Teva will probably drop its pursuit of rival Mylan, which in turn will be able to focus on buying Perrigo.
An excellent webcast took place yesterday.
The main take-home message: companies really should include the new health care consumer as a stakeholder. The patient has now more power than ever. He/she is more informed, more connected, more commited but also more demanding.
They explained the issues in trying to estimate the performance of R&D. Some ratios like R&D in % of sales as well as the % of new products launched over the last two years can be used but unfortunately they are not capturing the reality.
They worked