JQVMap.prototype.isSelected = function(cc) { return this.selectIndex(cc) >= 0; };
info at phpclasses dot org