code: function isElementInList(str, list) {
  	if (typeof str === 'string' && typeof list == 'object' && list.indexOf) {
  		var strUpper = str.toUpperCase();
  		return list.indexOf(strUpper) !== -1;
  	} else {
  		return false;
  	}
  }
docs: /*
  This function tests whether the upper case version of a given string is
  present in the supplied list
  @param str The String to test.
  @param list The list of Values, have to be upper cased
  @return True if the check was successfull, false otherwise