/* [nodename, id, name, navigationtext, href, isnavigation, childs[], templatename] */

if (typeof(decodeURIComponent) == 'undefined') {
  decodeURIComponent = function(s) {
    return unescape(s);
  }
}

function jdecode(s) {
    s = s.replace(/\+/g, "%20")
    return decodeURIComponent(s);
}

var POS_NODENAME=0;
var POS_ID=1;
var POS_NAME=2;
var POS_NAVIGATIONTEXT=3;
var POS_HREF=4;
var POS_ISNAVIGATION=5;
var POS_CHILDS=6;
var POS_TEMPLATENAME=7;
var theSitetree=[ 
	['PAGE','301',jdecode('Home'),jdecode(''),'/index.html','true',[],''],
	['PAGE','352',jdecode('Services'),jdecode(''),'/352/index.html','true',[ 
		['PAGE','373',jdecode('Consulting'),jdecode(''),'/Services/Consulting.html','true',[],''],
		['PAGE','394',jdecode('Training'),jdecode(''),'/Services/Training.html','true',[],''],
		['PAGE','415',jdecode('Project+Management'),jdecode(''),'/Services/ProjectManagement.html','true',[],''],
		['PAGE','8601',jdecode('IT+Support'),jdecode(''),'/Services/ItSupport.html','true',[],'']
	],''],
	['PAGE','436',jdecode('Products'),jdecode(''),'/Products/index.html','true',[ 
		['PAGE','8622',jdecode('The+CORE'),jdecode(''),'/Products/CORE.html','true',[],''],
		['PAGE','52001',jdecode('InSight'),jdecode(''),'/Products/InSight.html   ','true',[],''],
		['PAGE','36801',jdecode('Proposal+Module'),jdecode(''),'/Products/Proposal.html','true',[],''],
		['PAGE','49301',jdecode('Compliance+Module'),jdecode(''),'/Products/Compliance.html   ','true',[],''],
		['PAGE','21501',jdecode('GOST+Module'),jdecode(''),'/Products/kwest.html   ','true',[],''],
		['PAGE','8664',jdecode('Future+Modules'),jdecode(''),'/Products/Future.html  ','true',[],'']
	],''],
	['PAGE','8790',jdecode('News'),jdecode(''),'/News.html','true',[],''],
	['PAGE','457',jdecode('Events'),jdecode(''),'/Events/index.html','true',[ 
		['PAGE','17901',jdecode('Add+an+Event'),jdecode(''),'/Events/AddEvent.html','true',[],'']
	],''],
	['PAGE','8811',jdecode('Careers'),jdecode(''),'/Careers.html','true',[],''],
	['PAGE','8769',jdecode('About+Us'),jdecode(''),'/AboutUs/index.html','true',[ 
		['PAGE','38701',jdecode('Technology+Overview'),jdecode(''),'/AboutUs/TechOverview.html','true',[],'']
	],''],
	['PAGE','8832',jdecode('Contact+Us'),jdecode(''),'/8832.html','true',[],'']];
var siteelementCount=20;
theSitetree.topTemplateName='Aeskulap';
theSitetree.paletteFamily='012253';
theSitetree.keyvisualId='2496';
theSitetree.keyvisualName='labor.jpg';
theSitetree.fontsetId='433';
theSitetree.graphicsetId='483';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Aeskulap',
				paletteFamily: 	'012253',
				keyvisualId: 	'2496',
				keyvisualName: 	'labor.jpg',
				fontsetId: 		'433',
				graphicsetId: 	'483',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'FFFFFF',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '301',
internalId:  '1006',
customField: '1006'
};
webappMappings['7008']=webappMappings['7008-526']={
webappId:    '7008',
documentId:  '8832',
internalId:  '526',
customField: 'language:en;country:US;'
};
webappMappings['7008']=webappMappings['7008-527']={
webappId:    '7008',
documentId:  '17901',
internalId:  '527',
customField: 'language:en;country:US;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '301',
internalId:  '',
customField: '20080715-195612'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '352',
internalId:  '',
customField: '20080715-195628'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '373',
internalId:  '',
customField: '20080511-221141'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '394',
internalId:  '',
customField: '20080506-225805'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '415',
internalId:  '',
customField: '20080511-221244'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8601',
internalId:  '',
customField: '20080506-225931'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '436',
internalId:  '',
customField: '20080715-195710'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8622',
internalId:  '',
customField: '20080715-221102'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21501',
internalId:  '',
customField: '20080715-221922'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '36801',
internalId:  '',
customField: '20080715-221421'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8664',
internalId:  '',
customField: '20080715-222039'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8790',
internalId:  '',
customField: '20080715-222322'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '457',
internalId:  '',
customField: '20080309-165832'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17901',
internalId:  '',
customField: '20071212-011042'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8811',
internalId:  '',
customField: '20080111-005845'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8769',
internalId:  '',
customField: '20080512-180402'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '38701',
internalId:  '',
customField: '20080512-181945'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '8832',
internalId:  '',
customField: '20080512-182033'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49301',
internalId:  '',
customField: '20080715-221839'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '52001',
internalId:  '',
customField: '20080715-215524'
};
var canonHostname = 'cmworker02.yourhostingaccount.com';
var accountId     = 'AENDU0INX3MX';
var companyName   = 'M++O++D++E++R++A++S';
var htmlTitle	  = 'M%C5%8CDERAS';
var metaKeywords  = 'MODERAS+SPECIALIZES+IN+ELECTRONIC+RESEARCH+AND+DEFENSE+CONTRACTOR+ADMINISTRATION+SOFTWARE+AND+SERVICES+WE+PROVIDE+TRAINING%2C+CONSULTING%2C+PROJECT+MANAGEMENT+AND+IT+SUPPORT+AS+WELL+AS+MODULAR+SOFTWARE+SOLUTIONS+';
var metaContents  = 'MODERAS+SPECIALIZES+IN+ELECTRONIC+RESEARCH+AND+DEFENSE+CONTRACTOR+ADMINISTRATION+SOFTWARE+AND+SERVICES+WE+PROVIDE+TRAINING%2C+CONSULTING%2C+PROJECT+MANAGEMENT+AND+IT+SUPPORT+AS+WELL+AS+MODULAR+SOFTWARE+SOLUTIONS+';
					                                                                    
theSitetree.getById = function(id, ar) {												
							if (typeof(ar) == 'undefined')                              
								ar = this;                                              
							for (var i=0; i < ar.length; i++) {                         
								if (ar[i][POS_ID] == id)                                
									return ar[i];                                       
								if (ar[i][POS_CHILDS].length > 0) {                     
									var result=this.getById(id, ar[i][POS_CHILDS]);     
									if (result != null)                                 
										return result;                                  
								}									                    
							}                                                           
							return null;                                                
					  };                                                                
					                                                                    
theSitetree.getParentById = function(id, ar) {                                        
						if (typeof(ar) == 'undefined')                              	
							ar = this;                                             		
						for (var i=0; i < ar.length; i++) {                        		
							for (var j = 0; j < ar[i][POS_CHILDS].length; j++) {   		
								if (ar[i][POS_CHILDS][j][POS_ID] == id) {          		
									// child found                                 		
									return ar[i];                                  		
								}                                                  		
								var result=this.getParentById(id, ar[i][POS_CHILDS]);   
								if (result != null)                                 	
									return result;                                  	
							}                                                       	
						}                                                           	
						return null;                                                	
					 }								                                    
					                                                                    
theSitetree.getName = function(id) {                                                  
						var elem = this.getById(id);                                    
						if (elem != null)                                               
							return elem[POS_NAME];                                      
						return null;	                                                
					  };			                                                    
theSitetree.getNavigationText = function(id) {                                        
						var elem = this.getById(id);                                    
						if (elem != null)                                               
							return elem[POS_NAVIGATIONTEXT];                            
						return null;	                                                
					  };			                                                    
					                                                                    
theSitetree.getHREF = function(id) {                                                  
						var elem = this.getById(id);                                    
						if (elem != null)                                               
							return elem[POS_HREF];                                      
						return null;	                                                
					  };			                                                    
					                                                                    
theSitetree.getIsNavigation = function(id) {                                          
						var elem = this.getById(id);                                    
						if (elem != null)                                               
							return elem[POS_ISNAVIGATION];                              
						return null;	                                                
					  };			                                                    
					                                                                    
theSitetree.getTemplateName = function(id, lastTemplateName, ar) {             		
	                                                                                 
	if (typeof(lastTemplateName) == 'undefined')                                     
		lastTemplateName = this.topTemplateName;	                                 
	if (typeof(ar) == 'undefined')                                                   
		ar = this;                                                                   
		                                                                             
	for (var i=0; i < ar.length; i++) {                                              
		var actTemplateName = ar[i][POS_TEMPLATENAME];                               
		                                                                             
		if (actTemplateName == '')                                                   
			actTemplateName = lastTemplateName;		                                 
		                                                                             
		if (ar[i][POS_ID] == id) {                                			         
			return actTemplateName;                                                  
		}	                                                                         
		                                                                             
		if (ar[i][POS_CHILDS].length > 0) {                                          
			var result=this.getTemplateName(id, actTemplateName, ar[i][POS_CHILDS]); 
			if (result != null)                                                      
				return result;                                                       
		}									                                         
	}                                                                                
	return null;                                                                     
	};                                                                               
theSitetree.getByXx = function(lookup, xx, ar) {									 
    if (typeof(ar) == 'undefined')												 
    	ar = this;																	 
    for (var i=0; i < ar.length; i++) {										     
        if (ar[i][xx] == lookup)													 
        	return ar[i];															 
        if (ar[i][POS_CHILDS].length > 0) {										 
        	var result=this.getByXx(lookup, xx, ar[i][POS_CHILDS]);					 
            if (result != null)													 
                return result;													 
        }																			 
    }																				 
    return null;																	 
};																				 
function gotoPage(lookup) {														 
    var page = theSitetree.getHREF(lookup);										 
    if (!page) {																	 
  		var testFor = [ POS_NAME, POS_NAVIGATIONTEXT ];							 
            for (var i=0 ; i < testFor.length ; i++) {							 
                    var p = theSitetree.getByXx(lookup, testFor[i]);				 
                    if (p != null) {												 
                            page = p[POS_HREF];									 
                            break;												 
                    }																 
            }																		 
    }																				 
 document.location.href = (new URL(__path_prefix__ + page, true, true)).toString();
}
/* EOF */					                                                            
