/* [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','4597',jdecode('La+soci%C3%A9t%C3%A9'),jdecode(''),'/4597.html','true',[],''],
	['PAGE','12301',jdecode('Nos+m%C3%A9tiers'),jdecode(''),'/12301.html','true',[],''],
	['PAGE','8601',jdecode('L%26%23x27%3Boffre+d%26%23x27%3Binfog%C3%A9rance'),jdecode(''),'/8601.html','true',[],''],
	['PAGE','22301',jdecode('ITIL'),jdecode(''),'/22301.html','true',[],''],
	['PAGE','30201',jdecode('R%C3%A9f%C3%A9rences'),jdecode(''),'/30201.html','true',[],''],
	['PAGE','4654',jdecode('Contact'),jdecode(''),'/4654/index.html','true',[ 
		['PAGE','5502',jdecode('Contact+%28volgende+pagina%29'),jdecode(''),'/4654/5502.html','false',[],'']
	],'']];
var siteelementCount=7;
theSitetree.topTemplateName='Ragtime';
theSitetree.paletteFamily='9BA8DA';
theSitetree.keyvisualId='3591';
theSitetree.keyvisualName='kv_3591.jpg';
theSitetree.fontsetId='10737';
theSitetree.graphicsetId='10850';
theSitetree.contentColor='646580';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Ragtime',
				paletteFamily: 	'9BA8DA',
				keyvisualId: 	'3591',
				keyvisualName: 	'kv_3591.jpg',
				fontsetId: 		'10737',
				graphicsetId: 	'10850',
				contentColor: 	'646580',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'9BA8DA',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'8D8C8C',
				e_color: 		'7D87B0',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1001']={
webappId:    '1001',
documentId:  '4654',
internalId:  'aam010in3kvm103dc58462d',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '5502',
internalId:  'aam010in3kvm103dc58462d',
customField: 'followUp'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '4597',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4597',
internalId:  '',
customField: '20100125-175750'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '12301',
internalId:  '',
customField: '20100125-180132'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '8601',
internalId:  '',
customField: '20100125-180224'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '22301',
internalId:  '',
customField: '20100125-175716'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '30201',
internalId:  '',
customField: '20100125-180941'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4654',
internalId:  '',
customField: '20100125-181138'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5502',
internalId:  '',
customField: '20050514-195502'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010IN3KVM';
var companyName   = 'INFOGERANCE+ET+CONSEIL';
var htmlTitle	  = 'PROXIVAL+%3A+Infog%C3%A9rance+et+Conseil';
var metaKeywords  = 'Infog%EF%BF%BDrance%2C+Informatique%2C+Conseil%2C+PME%2C+PMI%2C+Collectivit%EF%BF%BDs+locales%2C+Bourgogne%2C+Rh%EF%BF%BDne-Alpes%2C+Sa%EF%BF%BDne%2C+Loire%2C+71%2C+01%2C+42%2C+69%2C+PMI-DIAG%2C+ITIL%2C+TCO%2C+PGI%2C+ERP%2C+CRM%2C+e-commerce%2C+NTIC%2C+ADIRA%2C+SUPINFO%2C+ITSMF%2C+Gestion+de+parc+informatique%2C+logiciel+de+gestion+de+parc%2C+PROXIVAL.';
var metaContents  = 'Infog%EF%BF%BDrance+et+Conseil+pour+les+PME+et+les+collectivit%EF%BF%BDs+locales%3A+Ain%2C+Rh%EF%BF%BDne%2C+Loire+et+Bourgogne.+Offre+d+infog%EF%BF%BDrance+globale+conforme+%EF%BF%BD+l+ITIL.+Responsable+informatique+%EF%BF%BD+temps+partag%EF%BF%BD.+Gestion+de+parc+informatique.+Conduite+de+projet+PGI%2C+CRM+et+e-commerce+et+ERP.+Etude+des+services+informatiques+m%EF%BF%BDthodes+%3A+PMI-DIAG%2C+TCO%2C+ITIL.+Membre+d+itSMF%2C+des+NTIC+de+Bourgogne%2C+de+Loire+Num%EF%BF%BDrique%2C+de+l+ADIRA%2C+de+SUPINFO+Executive+Club%2C+...';
					                                                                    
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 */					                                                            
