/* [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('Accueil'),jdecode(''),'/4599.html','true',[],''],
	['PAGE','17807',jdecode('Editorial'),jdecode(''),'/17807.html','true',[],''],
	['PAGE','4930',jdecode('L%26%23x27%3Bentreprise'),jdecode(''),'/4930.html','true',[],''],
	['PAGE','4984',jdecode('Nos+produits'),jdecode(''),'/4984/index.html','true',[ 
		['PAGE','84936',jdecode('Informations+diverses'),jdecode(''),'/4984/84936.html','true',[],''],
		['PAGE','124201',jdecode('T%C3%B4les'),jdecode(''),'/4984/124201.html','true',[],''],
		['PAGE','123201',jdecode('Tubes'),jdecode(''),'/4984/123201.html','true',[],''],
		['PAGE','120801',jdecode('Produits+longs'),jdecode(''),'/4984/120801.html','true',[],'']
	],''],
	['PAGE','129101',jdecode('REACH'),jdecode(''),'/129101.html','true',[],''],
	['PAGE','12767',jdecode('Nous+contacter'),jdecode(''),'/12767/index.html','true',[ 
		['PAGE','95701',jdecode('Si%C3%A8ge+social'),jdecode(''),'/12767/95701.html','true',[],''],
		['PAGE','96205',jdecode('Si%C3%A8ge+social+%28volgende+pagina%29'),jdecode(''),'/12767/96205.html','false',[],''],
		['PAGE','59803',jdecode('Nord'),jdecode(''),'/12767/59803/index.html','true',[ 
			['PAGE','89202',jdecode('Nord+%28volgende+pagina%29'),jdecode(''),'/12767/59803/89202.html','false',[],'']
		],''],
		['PAGE','59992',jdecode('Ile-de-France'),jdecode(''),'/12767/59992/index.html','true',[ 
			['PAGE','90102',jdecode('Ile+de+France+%28volgende+pagina%29'),jdecode(''),'/12767/59992/90102.html','false',[],'']
		],''],
		['PAGE','59830',jdecode('Centre'),jdecode(''),'/12767/59830/index.html','true',[ 
			['PAGE','94505',jdecode('Centre+%28volgende+pagina%29'),jdecode(''),'/12767/59830/94505.html','false',[],'']
		],''],
		['PAGE','59857',jdecode('Rh%C3%B4ne-Alpes'),jdecode(''),'/12767/59857/index.html','true',[ 
			['PAGE','90602',jdecode('Rhone-Alpes+%28volgende+pagina%29'),jdecode(''),'/12767/59857/90602.html','false',[],'']
		],''],
		['PAGE','59884',jdecode('M%C3%A9diterran%C3%A9e'),jdecode(''),'/12767/59884/index.html','true',[ 
			['PAGE','90702',jdecode('Mediterran%C3%A9e+%28volgende+pagina%29'),jdecode(''),'/12767/59884/90702.html','false',[],'']
		],''],
		['PAGE','59965',jdecode('Aquitaine'),jdecode(''),'/12767/59965/index.html','true',[ 
			['PAGE','91002',jdecode('Aquitaine+%28volgende+pagina%29'),jdecode(''),'/12767/59965/91002.html','false',[],'']
		],''],
		['PAGE','59911',jdecode('Ouest'),jdecode(''),'/12767/59911/index.html','true',[ 
			['PAGE','90802',jdecode('Ouest+%28volgende+pagina%29'),jdecode(''),'/12767/59911/90802.html','false',[],'']
		],''],
		['PAGE','59938',jdecode('Alsace'),jdecode(''),'/12767/59938/index.html','true',[ 
			['PAGE','91202',jdecode('Est+%28volgende+pagina%29'),jdecode(''),'/12767/59938/91202.html','false',[],'']
		],''],
		['PAGE','19829',jdecode('M%C3%A9diterran%C3%A9e+%28volgende+pagina%29'),jdecode(''),'/12767/19829.html','false',[],''],
		['PAGE','20202',jdecode('Rh%C3%B4ne-Alpes+%28volgende+pagina%29'),jdecode(''),'/12767/20202.html','false',[],'']
	],''],
	['PAGE','119101',jdecode('C.+G.+V.'),jdecode(''),'/119101.html','true',[],''],
	['PAGE','125501',jdecode('Archives'),jdecode(''),'/125501/index.html','true',[ 
		['PAGE','108902',jdecode('Tubes'),jdecode(''),'/125501/108902.html','true',[],''],
		['PAGE','110402',jdecode('T%C3%B4les'),jdecode(''),'/125501/110402.html','true',[],''],
		['PAGE','111002',jdecode('Barres'),jdecode(''),'/125501/111002.html','true',[],''],
		['PAGE','111502',jdecode('Brides'),jdecode(''),'/125501/111502.html','true',[],''],
		['PAGE','112302',jdecode('Raccords'),jdecode(''),'/125501/112302.html','true',[],'']
	],'']];
var siteelementCount=37;
theSitetree.topTemplateName='Universal';
theSitetree.paletteFamily='1D186D';
theSitetree.keyvisualId='1659';
theSitetree.keyvisualName='transport.jpg';
theSitetree.fontsetId='274';
theSitetree.graphicsetId='339';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Universal',
				paletteFamily: 	'1D186D',
				keyvisualId: 	'1659',
				keyvisualName: 	'transport.jpg',
				fontsetId: 		'274',
				graphicsetId: 	'339',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'1D186D',
				b_color: 		'A0A0A0',
				c_color: 		'000000',
				d_color: 		'CDCDD4',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1006']={
webappId:    '1006',
documentId:  '4599',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '4599',
internalId:  '5667165',
customField: '1501'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '19829',
internalId:  'aam010in3ax7105c3ead15c',
customField: 'followUp'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '59992',
internalId:  'aam010in3ax710606182b31',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '20202',
internalId:  'aam010in3ax7105c3f4ae6d',
customField: 'followUp'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '59803',
internalId:  'aam010in3ax710602621364',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '89202',
internalId:  'aam010in3ax710602621364',
customField: 'followUp'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '90102',
internalId:  'aam010in3ax710606182b31',
customField: 'followUp'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '59830',
internalId:  'aam010in3ax7106079a67dc',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '94505',
internalId:  'aam010in3ax7106079a67dc',
customField: 'followUp'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '59857',
internalId:  'aam010in3ax7106062717f6',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '90602',
internalId:  'aam010in3ax7106062717f6',
customField: 'followUp'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '59884',
internalId:  'aam010in3ax710606293c48',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '90702',
internalId:  'aam010in3ax710606293c48',
customField: 'followUp'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '59911',
internalId:  'aam010in3ax7106062e3824',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '90802',
internalId:  'aam010in3ax7106062e3824',
customField: 'followUp'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '59938',
internalId:  'aam010in3ax710606373168',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '91202',
internalId:  'aam010in3ax710606373168',
customField: 'followUp'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '59965',
internalId:  'aam010in3ax710606347e1e',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '91002',
internalId:  'aam010in3ax710606347e1e',
customField: 'followUp'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '95701',
internalId:  'aam010in3ax71060b9f0e5c',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '96205',
internalId:  'aam010in3ax71060b9f0e5c',
customField: 'followUp'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '108902',
internalId:  '106645c661b',
customField: 'g.12lfnbave.2n17e6v7e1ga8.6rn80'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '110402',
internalId:  '1066d2b75da',
customField: 'g.12lfnbb0o.vd7ibtci560c.6rn80'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '111002',
internalId:  '1066d49526d',
customField: 'Barres'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '111502',
internalId:  '1066d528718',
customField: 'Brides'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '112302',
internalId:  '1066d623f8b',
customField: 'g.12lfnbb1q.cqsg0vr3s9ik.6rn80'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4599',
internalId:  '',
customField: '20090325-095741'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '17807',
internalId:  '',
customField: '20090608-151350'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '119101',
internalId:  '',
customField: '20090320-103254'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4930',
internalId:  '',
customField: '20090608-154028'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '12767',
internalId:  '',
customField: '20050831-104007'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4984',
internalId:  '',
customField: '20090331-103354'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '95701',
internalId:  '',
customField: '20100722-100126'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '84936',
internalId:  '',
customField: '20050829-133716'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '108902',
internalId:  '',
customField: '20090324-154511'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '110402',
internalId:  '',
customField: '20090324-152737'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '111002',
internalId:  '',
customField: '20051122-102830'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '111502',
internalId:  '',
customField: '20051122-102906'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '112302',
internalId:  '',
customField: '20051122-102440'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '96205',
internalId:  '',
customField: '20050831-102005'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '59803',
internalId:  '',
customField: '20051005-091908'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '89202',
internalId:  '',
customField: '20050829-151653'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '59992',
internalId:  '',
customField: '20090608-154330'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '90102',
internalId:  '',
customField: '20050830-083439'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '59830',
internalId:  '',
customField: '20090608-155418'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '94505',
internalId:  '',
customField: '20050830-153631'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '59857',
internalId:  '',
customField: '20090608-154643'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '90602',
internalId:  '',
customField: '20050830-085057'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '59884',
internalId:  '',
customField: '20100722-100400'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '90702',
internalId:  '',
customField: '20050830-085317'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '59965',
internalId:  '',
customField: '20090608-155721'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '91002',
internalId:  '',
customField: '20050830-090535'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '59911',
internalId:  '',
customField: '20090608-155221'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '90802',
internalId:  '',
customField: '20050830-085844'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '59938',
internalId:  '',
customField: '20090608-155031'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '91202',
internalId:  '',
customField: '20050830-090832'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '19829',
internalId:  '',
customField: '20050817-121010'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '20202',
internalId:  '',
customField: '20050817-122056'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '120801',
internalId:  '',
customField: '20090324-155821'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '123201',
internalId:  '',
customField: '20090325-084004'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '124201',
internalId:  '',
customField: '20090331-102631'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '125501',
internalId:  '',
customField: '20090325-093450'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '129101',
internalId:  '',
customField: '20090609-153454'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010IN3AX7';
var companyName   = 'SAPIM+Inox+%3A+la+Tradition+du+Service.';
var htmlTitle	  = 'Bienvenue+sur+le+site+de+SAPIM+Inox';
var metaKeywords  = 'acierinoxydabledistributeurservicenuanceindustrie';
var metaContents  = '';
					                                                                    
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 */					                                                            

