code: function array2booleanMap(array)
  {
  	var i,map,numElements;
  	
  	if (Array.isArray(array) === true)
  	{
  		map = {};
  		numElements = array.length;
  		
  		for (i=0; i<numElements; i++)
  		{
  			map[ array[i] ] = true;
  		}
  		
  		return map;
  	}
  	
  	// Unknown input -- return
  	return array;
  }
docs: /*
  Convert an Array to a boolean-value Map.
  
  ["asdf1","asdf2"]
  
  to
  
  { asdf1:true, asdf2:true }