code: function(ary, item, i, l) {
          if (ary.indexOf) return ary.indexOf(item)
          for (i = 0, l = ary.length; i < l; i++) if (ary[i] === item) return i
          return -1
      }
docs: this code exists for ie8... for more background see:
  http://www.flickr.com/photos/westcoastlogic/5955365742/in/photostream