code: function getBidiLayout() {
  		var _bidiLayout = localStorage.getItem(bidiLayoutStorage);
  		if (_bidiLayout && (_bidiLayout === "rtl" || _bidiLayout === "ltr" || _bidiLayout === "auto")) {	//$NON-NLS-0$ //$NON-NLS-1$ //$NON-NLS-2$
  			return _bidiLayout;
  		}
  		return "ltr";	//$NON-NLS-0$
  	}
docs: returns bidiLayout value set in globalization settings.
  @returns {String} text direction.