code: function getSpecificMap(map, array){
  		var returnMap;
  		var arrayCopy = array.splice(0);
  
  		//if first item in array is "current" or "subnav" it makes the function a bit more efficient
  		//it restricts any title searches to just offspring of the current page
  		if (array[0] === 'current' || array[0] === 'subnav'){
  			arrayCopy.shift();
  			arrayCopy = pageMap.location.concat(link);
  		}
  
  		for (var i = 0; i < arrayCopy.length; i++){
  			var searchTerm = arrayCopy[i];
  			var searchMap = typeof returnMap !== 'undefined' ? returnMap : map;
  
  			//Output an error if neither a string or an interval provided
  			if (checkSearchTerm(searchTerm)){
  
  				if (is_string(searchTerm)){
  					//if item is a string, do a getTitleMap function on the search term using the last map
  					returnMap = getTitleMap(searchMap, searchTerm);
  
  				} else if(is_numeric(searchTerm) && isset(searchMap.subnav)) {
  					//if item is a number, return the map at the specified index of the last map in array
  					returnMap = searchMap.subnav[parseInt(searchTerm)];
  				} else {
  					returnMap = false;
  					break;
  				}
  			} else {
  				break;
  			}
  		}
  
  		if (returnMap){
  			return returnMap;
  		} else {
  			return false;
  		}
  
  	}
docs: function that accepts an array to search for specific sections of the nav map array accepts both numbers and titles function not to be used in regular code