/* This is the master javascript file that manages the dynamic javascripts that are called into a
 * page dependent upon what context the page occurs in.
 */
// First check that the head include file is present and it has the enabled flag set to true
if ((window.isSCHeadIncluded != undefined) && (isSCHeadIncluded == true)) {
	
	// Loop through the array of Include objects and write each javascript include to the page.
	for (var a=0; a<includeArray.length; a++ ){
		if ((includeArray[a].isEnabled) && (includeArray[a].codePath != null)) {
			// write the script tag to the page to include the js code
			document.write('<script type="text/javascript" src="' + BASE_PATH + includeArray[a].codePath + '"><\/script>');
		}
	}
}



