function _isElementInViewport(oDomElement) {
		var mRect;
		if (!oDomElement) {
			return false;
		}
		mRect = oDomElement.getBoundingClientRect();
		return (
			mRect.top >= 0 &&
			mRect.left >= 0 &&
			mRect.bottom <= (window.innerHeight || document.documentElement.clientHeight) &&
			mRect.right <= (window.innerWidth || document.documentElement.clientWidth)
		);
	}
/**
	 * Determines if a DOM element is inside the viewport.
	 */
Determines if a DOM element is inside the viewport.
Determines if a DOM element is inside the viewport .
function _isElementInViewport(oDomElement) {
		var mRect;
		if (!oDomElement) {
			return false;
		}
		mRect = oDomElement.getBoundingClientRect();
		return (
			mRect.top >= 0 &&
			mRect.left >= 0 &&
			mRect.bottom <= (window.innerHeight || document.documentElement.clientHeight) &&
			mRect.right <= (window.innerWidth || document.documentElement.clientWidth)
		);
	}
function _isElementInViewport ( oDomElement ) { var mRect ; if ( ! oDomElement ) { return false ; } mRect = oDomElement . getBoundingClientRect ( ) ; return ( mRect . top >= 0 && mRect . left >= 0 && mRect . bottom <= ( window . innerHeight || document . documentElement . clientHeight ) && mRect . right <= ( window . innerWidth || document . documentElement . clientWidth ) ) ; }
Determines if a DOM element is inside the viewport.
Determines if a DOM element is inside the viewport .