//This script Identifies variables that
//are used in different scripts throughout the
//web site.
//
//The variable 'pagedepth' is required on the calling
//page.

var depth;
var scriptPath;
var contentScript;
var styleScript;
var inheritStyle;
var tilepath;
var header_flash_path;
var header_image_path;
var image_path_only;
var Tscroll_path_to_files;
var page_path;
//ShowMessage is used to supress the status bar menu message
//0=Off, 1=On (default)
var showMessage=0;



//Build the depth variable based on the pagedepth
//identified in the calling page
depth="";
for (var i=0; i<pagedepth; i++) {
	depth=depth+"../";
}

//Update the script paths by attaching the appropriate depth
scriptPath=depth+"Scripts/";
contentScript=depth+"Scripts/autocast-content.js";
styleScript=depth+"Scripts/autocast-style.js";
inheritStyle=0;
tilepath=depth+"images/tiles/";
header_flash_path=depth+"Header/";
header_image_path=depth+"images/stretchbar.jpg";
image_path_only=depth+"images/";
Tscroll_path_to_files=depth+"scroller/";
page_path=depth;
