/* [nodename, id, name, navigationtext, href, isnavigation, childs[], templatename] */

function jdecode(s) {
    s = s.replace(/\+/g, "%20")
    return unescape(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','901',jdecode('Home'),jdecode(''),'/901.html','true',[],''],
	['PAGE','952',jdecode('Services'),jdecode(''),'/952/index.html','true',[ 
		['PAGE','15101',jdecode('International+Business'),jdecode(''),'/952/15101.html','true',[],''],
		['PAGE','1015',jdecode('Public+Relations'),jdecode(''),'/952/1015.html','true',[],''],
		['PAGE','1036',jdecode('Marketing+%26+Multimedia'),jdecode(''),'/952/1036.html','true',[],''],
		['PAGE','1057',jdecode('Writing+%26+Design'),jdecode(''),'/952/1057.html','true',[],''],
		['PAGE','973',jdecode('Business+Facilitation'),jdecode(''),'/952/973.html','true',[],'']
	],''],
	['PAGE','1078',jdecode('About+Us'),jdecode(''),'/1078.html','true',[],''],
	['PAGE','1099',jdecode('Contact'),jdecode(''),'/1099.html','true',[],'']];
var siteelementCount=9;
theSitetree.topTemplateName='Commander';
theSitetree.paletteFamily='2B25A2';
theSitetree.keyvisualId='2388';
theSitetree.keyvisualName='mobiltelefon.jpg';
theSitetree.fontsetId='393';
theSitetree.graphicsetId='439';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='E0E0E0';
var theTemplate={
				name: 			'Commander',
				paletteFamily: 	'2B25A2',
				keyvisualId: 	'2388',
				keyvisualName: 	'mobiltelefon.jpg',
				fontsetId: 		'393',
				graphicsetId: 	'439',
				contentColor: 	'000000',
				contentBGColor: 'E0E0E0',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'E0E0E0',
				b_color: 		'5762CA',
				c_color: 		'A1A4D2',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1006']={
webappId:    '1006',
documentId:  '901',
internalId:  '1006',
customField: '1006'
};
var canonHostname = 'cm4all.aplus.net';
var accountId     = 'AAPLU0IN3Q4N';
var companyName   = 'SouthForce+Communications';
var htmlTitle	  = 'SouthForce+Communications%2C+Inc.%2C+SouthForce+International%2C+LLC+-+Atlanta%2C+Georgia%2C+USA+-+International+Business+Matchmaking%2C+Public+Relations%2C+Media+Relations%2C+Marketing%2C+Multimedia%2C+Document+Design%2C+Project+Management%2C+Corporate+Communications%2C+Intercult';
var metaKeywords  = 'Atlanta%2C+Georgia%2C+international+business+matchmaking%2C+project+management%2C+business+facilitation%2C+communications+consulting%2C+communications+consultants%2C+internal+communications%2C+corporate+communications%2C+external+communications%2C+community+relations%2C+employee+relations%2C+grassroots+campaigning%2C+political+campaigning%2C+political+strategy%2C+strategy+development%2C+public+relations%2C+media+relations%2C+press+relations%2C+Information%2C+information+design%2C+intercultural+communication%2C+document+design%2C+document+planning%2C+marketer%2C+marketing+consultant%2C+marketing%2C+channel+marketing%2C+interactive+marketing%2C+target+marketing%2C+branding%2C+brand+development%2C+brand+management%2C+advertising%2C+promotions%2C+event+planning%2C+broadcast+communications%2C+strategic+planning%2C+crisis+management%2C+TV+production%2C+radio+production%2C+webcasts%2C+webcasting%2C+videoconferencing%2C+video%2C+video+production%2C+audio%2C+audio+production%2C+podcasts%2C+podcasting%2C+blogging%2C+blogs%2C+sports%2C+politics%2C+law%2C+technology%2C+entertainment%2C+education%2C+travel%2C+health%2C+autos%2C+writing%2C+technical+writing%2C+speech+writing%2C+script+writing%2C+proposal+writing%2C+grant+writing%2C+copywriting%2C+creative+writing%2C+news+writing%2C+report+writing%2C+ghost+writing%2C+presentations%2C+web+writing%2C+writers%2C+editing%2C+editors%2C+search+engine+optimation%2C+SEO%2C+eCommerce%2C+graphics+design%2C+photography%2C+web+design%2C+instruction%2C+training%2C+evaluating%2C+research%2C+change+management%2C+troubleshooting%2C+organizational+assessments%2C+process+mapping%2C+technology+planning%2C+usability%2C+usability+testing%2C+China%2C+China+business%2C+business+development%2C+USA%2C+America%2C+United+Kingdom%2C+Europe%2C+Africa%2C+Asia';
var metaContents  = 'SouthForce+Communications+Inc+and+SouthForce+International+LLC.%2C+offer+a+wide+range+of+consulting+and+hands-on+business+matchmaking+and+communication+services+in+the+USA%2C+China%2C+Europe%2C+Asia+and+Africa.+SouthForce+Communications+and+SouthForce+International+--+Connecting+businesses%2C+markets%2C+and+people.';
					                                                                    
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;                                                                     
	};                                                                               
/* EOF */					                                                            
