http://www.pseliger.de/jsExtendedApi/jsApi.Array.contains.js
    http://www.pseliger.de/jsExtendedApi/jsApi.Array.contains.dev.js


    is used by library:
    - jsApi.Array.shuffle.js


    source code:

//  -----   feel free to use this stuff   ---   play with it   ---   copy as You  like   -----
//  -----   but leave this authors 2 lines untouched:   pseliger@gmx.net   [june 2003]   -----
//
//  extended javascript-api-methods       :
//  * jsApi-extension-name / file-name    : "jsApi.Array.contains.dev.js"
//  * original download-location          : "http://www.pseliger.de/jsExtendedApi/jsApi.Array.contains.dev.js"
//
//  first public release:    june 27-2003 - returns [true] in case the given object already exists within the array otherwise the return value is [false];
//

  Array.prototype.contains = function(obj) {
    var i, listed = false;
    for (i=0; i<this.length; i++) {
      if (this[i] === obj) {
        listed = true;
        break;
      }
    }
    return listed;
  };