// Set relative path to root of Web site from directory of current
// page.  This global variable is referenced in other scripts to
// automatically adjust directory paths, rather than requiring a
// different version of the code for each directory level.

// For example, from a subdirectory just below the root directory,
// the relative path would be "../".

var WebRoot = null;   // relative path to root from calling page

function SetRoot(RootPath) {
	WebRoot = RootPath;
}

