function _findNearestDOMParent(element, parentNodeName) {
			while (element.nodeName !== parentNodeName) {
				if (element.nodeName === "CONTROL-TREE") {
					break;
				}
				element = element.parentNode;
			}

			return element;
		}
Search for the nearest parent Node.
@param {element} element - HTML DOM element that will be the root of the search
@param {string} parentNodeName - The desired HTML parent element nodeName
@returns {Object} HTML DOM element
@private