code: function(array, key, defaultValue)
  	{
  		var value = (array != null) ? array[key] : null;
  
  		if (value == null)
  		{
  			value = defaultValue;			
  		}
  		
  		return value;
  	}
docs: Function: getValue
  
  Returns the value for the given key in the given associative array or
  the given default value if the value is null.
  
  Parameters:
  
  array - Associative array that contains the value for the key.
  key - Key whose value should be returned.
  defaultValue - Value to be returned if the value for the given
  key is null.