function checkFocus(oElement, assert) {
		var $ActiveElement = jQuery(document.activeElement);
		var $Element = jQuery(oElement);

		assert.ok($Element[0] === document.activeElement, "Focus is on: " + $ActiveElement.attr("id") + ", should be on: " + $Element.attr("id"));

		return $ActiveElement;
	}
Check whether an element is focused.
@param {jQuery|HTMLElement} oElement The element to check.
@param {Object} assert QUnit assert object.
@returns {jQuery} A jQuery object containing the active element.