/*
	Copyright (c) 2009, Scott & White Hospital All Rights Reserved.
 */

dojo.provide("sw._base.globalVar");
/**
 * Global Variables most are maintained for backwards compatability.
 * Deprecated: use swRequest object to store Global Variables.
 */
pageBase = swRequest.context.base;
pageSiteName = swRequest.context.site;
pageFullPath = swRequest.context.path; /* "http://web-dev-66/web/InSite/iwcontent/private/BCS/html/intra-BCS.jsp" */
pageURL = swRequest.context.url; /* "/iwcontent/private/BCS/html/intra-BCS.jsp" */
pageSiteScope = swRequest.context.scope;
pageSiteSuite = swRequest.context.suite;
pageSiteSearch = swRequest.context.search;
defaultLayout = swRequest.style.layout;
defaultFormat = swRequest.style.format;
defaultFontFace = swRequest.style.font;
defaultTest = swRequest.style.test;
defaultSize = swRequest.style.size;
currentTheme = swRequest.style.theme;
startPane = swRequest.style.startPane;
endPane = swRequest.style.endPane;
currentUserId = swRequest.userId;
pageRootURL = pageFullPath.substring(0, pageFullPath.indexOf("/",pageFullPath.indexOf("//")+2)); /* "http://web-dev-66" */