// ++ ++ 
function buildIncludes(collectedVars)
	{
	
	// ++ Build local version of path ++
	//var fullPath = rootPath + assetsPath;

	// ++ Set name of global CSS file and path here ++
	// ++ NOTE: Path is from inside assets directory ++ 
	var cssFilePath = fullPath + "code/global_styles.css";
	// ---------------------
	
	// ++ Set name of global vars file and path here ++
	// ++ NOTE: Path is from inside assets directory ++ 
	var globalVarsFilePath = fullPath + "code/global_vars.js";
	// ---------------------
	
	// ++ Set name of global detection file and path here ++
	// ++ NOTE: Path is from inside assets directory ++ 
	var detectionFilePath = fullPath + "code/detection.js";
	// ---------------------

	// ++ Set name of global page build file and path here ++
	// ++ NOTE: Path is from inside assets directory ++ 
	var pageBuildFilePath = fullPath + "code/pageBuild.js";
	// ---------------------

	// ++ Set name of global page build file and path here ++
	// ++ NOTE: Path is from inside assets directory ++ 
	var globalFunctionsFilePath = fullPath + "code/global_functions.js";
	// ---------------------

	
	// ++ Build CSS include with appropriate path to global_styles.css ++
	// ++ NOTE: If file name and/or path (in assets) change, must update here as well ++
	var cssInclude = '<link';
	cssInclude += ' rel="';
	cssInclude += 'stylesheet"';
	cssInclude += ' href="';
	cssInclude += cssFilePath;
	cssInclude += '">';
	
	document.write(cssInclude);
		
	// ++ Debug ++ 
	// window.alert(cssInclude);
	// ------------
	
	
	// ++ Build Global Vars include with appropriate path to global_vars.js ++
	// ++ NOTE: If file name and/or path (in assets) change, must update here as well ++
	var globalVarsInclude = '<script';
	globalVarsInclude += ' type="';
	globalVarsInclude += 'text/javascript"';
	globalVarsInclude +=  ' src="';
	globalVarsInclude += globalVarsFilePath;
	globalVarsInclude += '">';
	globalVarsInclude += '</';
	globalVarsInclude += 'script>';
	
	document.write(globalVarsInclude);
	
	// ++ Debug ++ 
	//window.alert(globalVarsInclude);
	// ------------
	
	
	// ++ Build Detection include with appropriate path to detection.js ++
	// ++ NOTE: If file name and/or path (in assets) change, must update here as well ++
	 var detectionInclude = '<script';
	detectionInclude += ' type="';
	detectionInclude += 'text/javascript"';
	detectionInclude +=  ' src="';
	detectionInclude += detectionFilePath;
	detectionInclude += '">';
	detectionInclude += '</';
	detectionInclude += 'script>'; 
	
	document.write(detectionInclude);
	
	// ++ Debug ++ 
	//window.alert(detectionInclude);
	// ------------
	
	
	// ++ Build page build include with appropriate path to pageBuild.js ++
	// ++ NOTE: If file name and/or path (in assets) change, must update here as well ++
	var pageBuildInclude = '<script';
	pageBuildInclude += ' type="';
	pageBuildInclude += 'text/javascript"';
	pageBuildInclude +=  ' src="';
	pageBuildInclude += pageBuildFilePath;
	pageBuildInclude += '">';
	pageBuildInclude += '</';
	pageBuildInclude += 'script>';
	// ------------
	
	document.write(pageBuildInclude);
	
	// ++ Debug ++ 
	//window.alert(pageBuildInclude);
	// ------------
	
		// ++ Build page build include with appropriate path to pageBuild.js ++
	// ++ NOTE: If file name and/or path (in assets) change, must update here as well ++
	var globalFunctionInclude = '<script';
	globalFunctionInclude += ' type="';
	globalFunctionInclude += 'text/javascript"';
	globalFunctionInclude +=  ' src="';
	globalFunctionInclude += globalFunctionsFilePath;
	globalFunctionInclude += '">';
	globalFunctionInclude += '</';
	globalFunctionInclude += 'script>';
	// ------------
	
	document.write(globalFunctionInclude);
	
	// ++ Debug ++ 
	//window.alert(globalFunctionInclude);
	// ------------
		
	}
