function (sLink) {
			if (sLink[0] === "#") {
				sLink = document.location.href.substring(0,document.location.href.search("demoapps\.html")) + sLink;
			}
			return sLink;
		}
function (sLink) {
			if (sLink[0] === "#") {
				sLink = document.location.href.substring(0,document.location.href.search("demoapps\.html")) + sLink;
			}
			return sLink;
		}
function ( sLink ) { if ( sLink [ 0 ] === "#" ) { sLink = document . location . href . substring ( 0 , document . location . href . search ( "demoapps\.html" ) ) + sLink ; } return sLink ; }
Formats a library namespace to link to the API reference if it starts with sap.

@public
@param {string} sNamespace value to be formatted
@returns {string} formatted link
Formats a library namespace to link to the API reference if it starts with sap .
Add a link to the index page