code: function ( CategoryId ) { 
  				for ( var Counter = 0; Counter < _PinCategories.length; Counter++ )
  				{
  					if ( _PinCategories [ Counter].CategoryId === CategoryId )
  					{
  						return _PinCategories [ Counter];
  					}
  				}
  				return undefined;
  			}
docs: /*
  --- getCategory ( CategoryId ) method ---
  
  This method returns the category with the given id or undefined when an bad CategoryId is given.
  Parameters :
  - CategoryId : the unique identifier of the category to search.
  Return :
  - The category at the given index.
  - undefined when the category is not found.