function filterStaticAreaContent($Refs, aScopes) {
			var oStaticArea = window.document.getElementById("sap-ui-static");
			if (!oStaticArea) {
				return $Refs;
			}

			var aScopesInStaticArea = [];
			for (var i = 0; i < aScopes.length; i++) {
				if (jQuery.contains(oStaticArea, aScopes[i])) {
					aScopesInStaticArea.push(aScopes[i]);
				}
			}

			return $Refs.filter(function() {
				if (aScopesInStaticArea.length && isContained(aScopesInStaticArea, this)) {
					return true;
				}
				return !jQuery.contains(oStaticArea, this);
			});
		}
// Filters all elements in the given jQuery object which are in the static UIArea and which are not in the given scopes.
Filters all elements in the given jQuery object which are in the static UIArea and which are not in the given scopes.
Filters all elements in the given jQuery object which are in the static UIArea and which are not in the given scopes .
function filterStaticAreaContent($Refs, aScopes) {
			var oStaticArea = window.document.getElementById("sap-ui-static");
			if (!oStaticArea) {
				return $Refs;
			}
			var aScopesInStaticArea = [];
			for (var i = 0; i < aScopes.length; i++) {
				if (jQuery.contains(oStaticArea, aScopes[i])) {
					aScopesInStaticArea.push(aScopes[i]);
				}
			}
			return $Refs.filter(function() {
				if (aScopesInStaticArea.length && isContained(aScopesInStaticArea, this)) {
					return true;
				}
				return !jQuery.contains(oStaticArea, this);
			});
		}
function filterStaticAreaContent ( $Refs , aScopes ) { var oStaticArea = window . document . getElementById ( "sap-ui-static" ) ; if ( ! oStaticArea ) { return $Refs ; } var aScopesInStaticArea = [ ] ; for ( var i = 0 ; i < aScopes . length ; i ++ ) { if ( jQuery . contains ( oStaticArea , aScopes [ i ] ) ) { aScopesInStaticArea . push ( aScopes [ i ] ) ; } } return $Refs . filter ( function ( ) { if ( aScopesInStaticArea . length && isContained ( aScopesInStaticArea , this ) ) { return true ; } return ! jQuery . contains ( oStaticArea , this ) ; } ) ; }
Filters all elements in the given jQuery object which are in the static UIArea and which are not in the given scopes.
Filters all elements in the given jQuery object which are in the static UIArea and which are not in the given scopes .