//   This string should be changed throughout this file if it is changed:

     var siteDirectory = "\\actintime";


//*  This file contains sitewide global definitions for all pages

//   These variables are for extracting the path to get the rootDirectory
    var rootDirectory = "";  
    var filePathName = location.pathname;

        
/*  
    The following conditional statements take into account that the user
    may be viewing the files from a local directory rather than a web server
*/
    
    if(location.protocol == "file:") {
    
    	tempfileName = filePathName.replace(/.*\\actintime/,"\\actintime");	
   	
    	fileName = tempfileName.split("\\");	
    	
    }
    
    if(location.protocol == "http:") {
    
    	tempfileName = filePathName.replace(/.*\/actintime/,"\/actintime");	
    	
    	fileName = tempfileName.split("\/");	
    	
    }   

    
// The rootDirectory is translated into a relative path
    
    for(var i=0; i < fileName.length-3; i++) {
    
    	rootDirectory += "../";
    
    }
    
    
    var isUsingScreenReader = "false";

