
Array.prototype.inArray = function(value)// Returns true if the passed value is found in the
// array.  Returns false if it is not.
{
    var i;
    for (i = 0; i < this.length; i++) {
        // Matches identical (===), not just similar (==).
        if (this[i] === value) { return true; }
    }
    return false;
};

Array.prototype.findPlace = function(textstring)// Returns place of an textstring in an array
{
    var i;
    for (i = 0; i < this.length; i++) {
        // Matches identical (===), not just similar (==).
        if (this[i] === textstring) { return i; }
    }
    return 10000; // just something
};
