variables.version = "3.0";
variables.svnBuild = "37";
application.ohsuNav.version = variables.version;
application.ohsuNav.svnBuild = variables.svnBuild;
// Load the app config
application.ohsuNav.appConfig = getAppConfig(getAppName());
var retValue = 0;
var appConfig = getAppConfig();
// Set the registered URLs openInNewWindow status
if ( StructKeyExists(appConfig,"registeredURLs") AND StructKeyExists(appConfig.registeredURLs,"openInNewWindow") AND IsBoolean(appConfig.registeredURLs.openInNewWindow) )
retValue = appConfig.registeredURLs.openInNewWindow;
return retValue;
var retValue = "";
var appConfig = getAppConfig();
// Set the registeredURLs excludedLocalDomains status
if ( StructKeyExists(appConfig,"registeredURLs") AND StructKeyExists(appConfig.registeredURLs,"excludedDomains") AND LEN(TRIM(appConfig.registeredURLs.excludedDomains)) )
retValue = appConfig.registeredURLs.excludedDomains;
return retValue;