/* [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','4529',jdecode('Home'),jdecode(''),'/4529.html','true',[],''],
	['PAGE','28447',jdecode('About+IE-Lobbying.com'),jdecode(''),'/28447.html','true',[],''],
	['PAGE','4823',jdecode('About+IE-Lobbying+Network'),jdecode(''),'/4823.html','true',[],''],
	['PAGE','4850',jdecode('Services'),jdecode(''),'/4850/index.html','true',[ 
		['PAGE','29847',jdecode('Context'),jdecode(''),'/4850/29847.html','true',[],''],
		['PAGE','29868',jdecode('Monitoring'),jdecode(''),'/4850/29868.html','true',[],''],
		['PAGE','29910',jdecode('Studies+and+Analysis'),jdecode(''),'/4850/29910.html','true',[],''],
		['PAGE','5085',jdecode('E-Communication'),jdecode(''),'/4850/5085.html','true',[],''],
		['PAGE','25547',jdecode('E-Marketing'),jdecode(''),'/4850/25547.html','true',[],''],
		['PAGE','25568',jdecode('E-Advertising'),jdecode(''),'/4850/25568.html','true',[],'']
	],''],
	['PAGE','5166',jdecode('Team'),jdecode(''),'/5166/index.html','true',[ 
		['PAGE','5193',jdecode('Consultants'),jdecode(''),'/5166/5193.html','true',[],'']
	],''],
	['PAGE','30947',jdecode('Glossary'),jdecode(''),'/30947/index.html','true',[ 
		['PAGE','30968',jdecode('E-Lobbying'),jdecode(''),'/30947/30968.html','true',[],''],
		['PAGE','31647',jdecode('Information+Society'),jdecode(''),'/30947/31647.html','true',[],''],
		['PAGE','31668',jdecode('Knowledge+Economy'),jdecode(''),'/30947/31668.html','true',[],'']
	],''],
	['PAGE','5247',jdecode('Contact'),jdecode(''),'/5247/index.html','true',[ 
		['PAGE','18848',jdecode('Contact+%28follow+up+page%29'),jdecode(''),'/5247/18848.html','false',[],'']
	],''],
	['PAGE','5274',jdecode('Links'),jdecode(''),'/5274.html','true',[],'']];
var siteelementCount=19;
theSitetree.topTemplateName='Impulse';
theSitetree.paletteFamily='84AACA';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10413';
theSitetree.graphicsetId='10679';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='84AACA';
var theTemplate={
				name: 			'Impulse',
				paletteFamily: 	'84AACA',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10413',
				graphicsetId: 	'10679',
				contentColor: 	'FFFFFF',
				contentBGColor: '84AACA',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'517695',
				e_color: 		'4A6C8B',
				f_color: 		'2F6999',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1006']={
webappId:    '1006',
documentId:  '4529',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4529',
internalId:  '',
customField: '20081113-152003'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4823',
internalId:  '',
customField: '20081030-202022'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '5247',
internalId:  'aam010invohw10df3d870a5',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '18848',
internalId:  'aam010invohw10df3d870a5',
customField: 'followUp'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4850',
internalId:  '',
customField: '20081026-113830'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '25547',
internalId:  '',
customField: '20081115-115042'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '25568',
internalId:  '',
customField: '20081115-115516'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5247',
internalId:  '',
customField: '20060928-115309'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5274',
internalId:  '',
customField: '20081025-135021'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5085',
internalId:  '',
customField: '20081115-114655'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5166',
internalId:  '',
customField: '20081025-140017'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5193',
internalId:  '',
customField: '20081115-120431'
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '4529',
internalId:  '8213863',
customField: '1501'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '18848',
internalId:  '',
customField: '20060928-115410'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '28447',
internalId:  '',
customField: '20081025-151559'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '29847',
internalId:  '',
customField: '20081030-201928'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '29868',
internalId:  '',
customField: '20081026-191954'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '29910',
internalId:  '',
customField: '20081026-191804'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '30947',
internalId:  '',
customField: '20081026-193129'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '30968',
internalId:  '',
customField: '20081026-193351'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '31647',
internalId:  '',
customField: '20081027-172415'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '31668',
internalId:  '',
customField: '20081027-172424'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010INVOHW';
var companyName   = 'IE-Lobbying';
var htmlTitle	  = 'IE-Lobbying.com';
var metaKeywords  = 'Europe%2C+Brussels%2C+Web+Agency%2C+e-Consultancy%2C+Online+marketing%2C+Online+communication%2C+Online+advertising%2C+SEO%2C+SEM%2C+SMO';
var metaContents  = 'IE-Lobbying.com+is+a+Brussels-based+strategic+communication+consultancy+providing+online+communication%2C+marketing+and+advertising+services+to+European+organisations.';
					                                                                    
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 */					                                                            
