/* [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','4599',jdecode('Qui+sommes-nous+%3F'),jdecode(''),'/4599.html','true',[],''],
	['PAGE','94102',jdecode('Notre+offre'),jdecode(''),'/94102.html','true',[],''],
	['PAGE','4710',jdecode('Intraentreprises'),jdecode(''),'/4710/index.html','true',[ 
		['PAGE','7502',jdecode('Techniques+de+l%26%23x27%3Bart+oratoire'),jdecode(''),'/4710/7502.html','true',[],''],
		['PAGE','43802',jdecode('How+to+be+convincing+in+English'),jdecode(''),'/4710/43802.html','true',[],''],
		['PAGE','7529',jdecode('Art+oratoire+et+art+dramatique'),jdecode(''),'/4710/7529.html','true',[],''],
		['PAGE','7583',jdecode('N%C3%A9gociation+intuitive'),jdecode(''),'/4710/7583.html','true',[],''],
		['PAGE','93377',jdecode('Managment+intuitif'),jdecode(''),'/4710/93377.html','true',[],''],
		['PAGE','21302',jdecode('Art+oratoire+et+m%C3%A9dia'),jdecode(''),'/4710/21302.html','true',[],''],
		['PAGE','111301',jdecode('Savoir+%C3%AAtre+en+conseil'),jdecode(''),'/4710/111301.html','true',[],'']
	],''],
	['PAGE','4791',jdecode('Interentreprises'),jdecode(''),'/4791.html','true',[],''],
	['PAGE','7902',jdecode('Cours+particuliers'),jdecode(''),'/7902.html','true',[],''],
	['PAGE','116601',jdecode('Suivis'),jdecode(''),'/116601.html','true',[],''],
	['PAGE','4683',jdecode('L%26%23x27%3B%C3%A9quipe'),jdecode(''),'/4683.html','true',[],''],
	['PAGE','9502',jdecode('Livre'),jdecode(''),'/9502.html','true',[],''],
	['PAGE','4818',jdecode('R%C3%A9f%C3%A9rences'),jdecode(''),'/4818.html','true',[],'']];
var siteelementCount=16;
theSitetree.topTemplateName='Seifenblase';
theSitetree.paletteFamily='C8E2FF';
theSitetree.keyvisualId='2353';
theSitetree.keyvisualName='blanko.jpg';
theSitetree.fontsetId='379';
theSitetree.graphicsetId='427';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Seifenblase',
				paletteFamily: 	'C8E2FF',
				keyvisualId: 	'2353',
				keyvisualName: 	'blanko.jpg',
				fontsetId: 		'379',
				graphicsetId: 	'427',
				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: 		'6666CC',
				e_color: 		'3333CC',
				f_color: 		'9999CC',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1006']={
webappId:    '1006',
documentId:  '4599',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4599',
internalId:  '',
customField: '20110711-150411'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4791',
internalId:  '',
customField: '20120102-161240'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4683',
internalId:  '',
customField: '20100331-094328'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '94102',
internalId:  '',
customField: '20110106-103249'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4710',
internalId:  '',
customField: '20101115-173544'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '7502',
internalId:  '',
customField: '20110106-103122'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '43802',
internalId:  '',
customField: '20101231-171725'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '7529',
internalId:  '',
customField: '20101231-172058'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '7583',
internalId:  '',
customField: '20101231-172150'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '93377',
internalId:  '',
customField: '20101231-172347'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '21302',
internalId:  '',
customField: '20101231-172428'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '7902',
internalId:  '',
customField: '20101115-173936'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '9502',
internalId:  '',
customField: '20101231-172843'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4818',
internalId:  '',
customField: '20101231-173051'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '111301',
internalId:  '',
customField: '20101231-172512'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '116601',
internalId:  '',
customField: '20110106-103207'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010INER0A';
var companyName   = 'St%C3%A9phane+Andr%C3%A9+Conseil';
var htmlTitle	  = 'Formation+%C3%A0+l+art+oratoire%2C+comment+am%C3%A9liorer+sa+prise+de+parole+en+public';
var metaKeywords  = 'art+oratoire%2C+comment+ameliorer+art+oratoire%2C+comment+ameliorer+sa+prise+de+parole+en+public%2C+technique+art+oratoire%2C+cours+particulier+a+la+prise+de+parole%2C+formation+a+l+art+oratoire%2C+formation+a+la+negociation+intuitive%2C+coaching%2C+formation+a+la+prise+de+parole+en+public%2C+formation+prise+parole+public%2C+negociation+intuitive%2C+formation+media+training';
var metaContents  = 'St%EF%BF%BDphane+Andr%EF%BF%BD+Conseil+forme+des+orateurs+%EF%BF%BD+la+prise+de+parole+en+public.+Accessible+%EF%BF%BD+tous+nous+proposons+des+s%EF%BF%BDminaires+ou+des+cours+particuliers+%EF%BF%BD+l+art+oratoire.';
					                                                                    
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 */					                                                            

