/* [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','4598',jdecode('Home'),jdecode(''),'/4598.html','true',[],''],
	['PAGE','6103',jdecode('About+us'),jdecode(''),'/6103.html','true',[],''],
	['PAGE','6157',jdecode('Business+Strategy'),jdecode(''),'/6157.html','true',[],''],
	['PAGE','6184',jdecode('Channel+Development'),jdecode(''),'/6184/index.html','true',[ 
		['PAGE','23663',jdecode('Listening+to+the+Channel'),jdecode(''),'/6184/23663.html','true',[],''],
		['PAGE','23690',jdecode('Channel+of+the+Future'),jdecode(''),'/6184/23690.html','true',[],'']
	],''],
	['PAGE','23717',jdecode('Sales+Force+Effectiveness'),jdecode(''),'/23717.html','true',[],''],
	['PAGE','23744',jdecode('Market+Share+Analysis'),jdecode(''),'/23744.html','true',[],''],
	['PAGE','13303',jdecode('Credibility'),jdecode(''),'/13303.html','true',[],''],
	['PAGE','6211',jdecode('Contact'),jdecode(''),'/6211/index.html','true',[ 
		['PAGE','8602',jdecode('Contact+%28follow+up+page%29'),jdecode(''),'/6211/8602.html','false',[],'']
	],''],
	['PAGE','34101',jdecode('Blog'),jdecode(''),'/34101.html','true',[],'']];
var siteelementCount=12;
theSitetree.topTemplateName='Steps';
theSitetree.paletteFamily='315881';
theSitetree.keyvisualId='2287';
theSitetree.keyvisualName='blanko.jpg';
theSitetree.fontsetId='367';
theSitetree.graphicsetId='419';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='315881';
var theTemplate={
				name: 			'Steps',
				paletteFamily: 	'315881',
				keyvisualId: 	'2287',
				keyvisualName: 	'blanko.jpg',
				fontsetId: 		'367',
				graphicsetId: 	'419',
				contentColor: 	'FFFFFF',
				contentBGColor: '315881',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'315881',
				b_color: 		'2985B5',
				c_color: 		'3366CC',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1006']={
webappId:    '1006',
documentId:  '4598',
internalId:  '1006',
customField: '1006'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '6211',
internalId:  'aam010in2z9wfe8bcf7ee4',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '8602',
internalId:  'aam010in2z9wfe8bcf7ee4',
customField: 'followUp'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4598',
internalId:  '',
customField: '20100309-182149'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '6103',
internalId:  '',
customField: '20080507-104346'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '6157',
internalId:  '',
customField: '20080506-184133'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '6184',
internalId:  '',
customField: '20080506-184235'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '23663',
internalId:  '',
customField: '20080506-184350'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '23690',
internalId:  '',
customField: '20080506-184638'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '23717',
internalId:  '',
customField: '20080506-184915'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '23744',
internalId:  '',
customField: '20080506-185018'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '13303',
internalId:  '',
customField: '20100106-184442'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '6211',
internalId:  '',
customField: '20070807-141855'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '8602',
internalId:  '',
customField: '20040823-152204'
};
webappMappings['3030']={
webappId:    '3030',
documentId:  '34101',
internalId:  '34101',
customField: 'language:en;country:GB;'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '34101',
internalId:  '',
customField: '20100129-163731'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010IN2Z9W';
var companyName   = 'Applying+Logic+to+Business';
var htmlTitle	  = 'Me4U%3A+Business+and+Channel+Expertise+par+excellence';
var metaKeywords  = 'strategy%2C+telecommunications%2C+communications%2C+data+communications%2C+channels%2C+resellers%2C+VARs%2C+distributors%2C+systems+integrators%2C+routes-to-market%2C+business+plans%2C+business+improvement%2C+competitive%2C+competitive+displacement%2C+market+analysis%2C+channel+recruitment%2C+partner+recruitment%2C+partner+programs%2C+analytical%2C+value+proposition%2C+business+models%2C+business+tools%2C+market+research%2C+research+study%2C+business+development%2C+channel+marketing%2C+performance+improvement%2C+channel+sales%2C+partner+sales%2C+indirect+sales%2C+mobility%2C+security%2C+supply+chain%2C+SMB%2C+Enterprise%2C+convergence%2C+VOIP%2C+UK%2C+EMEA%2C+Europe%2C+partner-to-partner+networks%2C+P2P+networks%2C+Me4U+blog.+';
var metaContents  = 'channel+and+routes-to-market+expertise.';
					                                                                    
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 */					                                                            
