/* [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','6201',jdecode('Home'),jdecode(''),'/6201.html','true',[],''],
	['PAGE','6252',jdecode('About+Us'),jdecode(''),'/6252/index.html','true',[ 
		['PAGE','6273',jdecode('Management+Team'),jdecode(''),'/6252/6273.html','true',[],''],
		['PAGE','16801',jdecode('Careers'),jdecode(''),'/6252/16801.html','true',[],'']
	],''],
	['PAGE','6315',jdecode('Services'),jdecode(''),'/6315/index.html','true',[ 
		['PAGE','6336',jdecode('Technical+Assistance'),jdecode(''),'/6315/6336.html','true',[],''],
		['PAGE','16401',jdecode('Performance+Monitoring+and+Evaluation'),jdecode(''),'/6315/16401.html','true',[],''],
		['PAGE','16422',jdecode('Strategic+Planning+and+Organizational+Review'),jdecode(''),'/6315/16422.html','true',[],''],
		['PAGE','16443',jdecode('Technical%2C+Administrative+and+Management+Support'),jdecode(''),'/6315/16443.html','true',[],'']
	],''],
	['PAGE','16464',jdecode('Clients'),jdecode(''),'/16464.html','true',[],''],
	['PAGE','6567',jdecode('Sample+Projects'),jdecode(''),'/6567/index.html','true',[ 
		['PAGE','20301',jdecode('Eval.+of+Africa+Trade+Hubs'),jdecode(''),'/6567/20301.html','true',[],''],
		['PAGE','20322',jdecode('Azerbaijan+Expenditure+Profile'),jdecode(''),'/6567/20322.html','true',[],''],
		['PAGE','20343',jdecode('RIA+Organizational+Review'),jdecode(''),'/6567/20343.html','true',[],''],
		['PAGE','20364',jdecode('RIA+Airport+Operating+Manual'),jdecode(''),'/6567/20364.html','true',[],'']
	],''],
	['PAGE','6588',jdecode('Sitemap'),jdecode(''),'/6588.html','true',[],''],
	['PAGE','6609',jdecode('Contact+Us'),jdecode(''),'/6609.html','true',[],'']];
var siteelementCount=17;
theSitetree.topTemplateName='Profile';
theSitetree.paletteFamily='333333';
theSitetree.keyvisualId='1269';
theSitetree.keyvisualName='edv_frau.jpg';
theSitetree.fontsetId='190';
theSitetree.graphicsetId='226';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Profile',
				paletteFamily: 	'333333',
				keyvisualId: 	'1269',
				keyvisualName: 	'edv_frau.jpg',
				fontsetId: 		'190',
				graphicsetId: 	'226',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'333333',
				b_color: 		'999999',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6201',
internalId:  '',
customField: '20080417-091927'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6315',
internalId:  '',
customField: '20080725-035203'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6252',
internalId:  '',
customField: '20080410-112547'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6273',
internalId:  '',
customField: '20080410-013836'
};
webappMappings['1501']=webappMappings['1501-7352600']={
webappId:    '1501',
documentId:  '6201',
internalId:  '7352600',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6336',
internalId:  '',
customField: '20080410-012759'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20322',
internalId:  '',
customField: '20080404-175026'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20343',
internalId:  '',
customField: '20080404-175111'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20301',
internalId:  '',
customField: '20080404-174014'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16801',
internalId:  '',
customField: '20080415-145637'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16401',
internalId:  '',
customField: '20080410-013306'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16422',
internalId:  '',
customField: '20080404-100945'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16443',
internalId:  '',
customField: '20080404-100945'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16464',
internalId:  '',
customField: '20080417-092302'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6567',
internalId:  '',
customField: '20080410-011435'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6588',
internalId:  '',
customField: '20080404-174923'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '6609',
internalId:  '',
customField: '20080410-122101'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '6201',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20364',
internalId:  '',
customField: '20080404-175149'
};
var canonHostname = 'cmworker02.yourhostingaccount.com';
var accountId     = 'AENDU0IN27UW';
var companyName   = 'Global+Business+Solutions%2C+Inc.';
var htmlTitle	  = 'Global+Business+Solutions%2C+Inc.';
var metaKeywords  = 'BPR%2C+BPI%2C+management%2C+consulting';
var metaContents  = 'Global+Business+Solutions%2C+Inc.%2C+Business+Process+Reengineering%2C+Technical+Assistance%2C+Management+Consulting%2C+Business+Process+Improvement';
					                                                                    
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 */					                                                            
