/* [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('Accueil'),jdecode(''),'/4597.html','true',[],''],
	['PAGE','296235',jdecode('Nouveaut%C3%A9s'),jdecode(''),'/296235.html','true',[],''],
	['PAGE','156378',jdecode('Nos+produits'),jdecode(''),'/156378/index.html','true',[ 
		['PAGE','4789',jdecode('Mobilier+de+laboratoire'),jdecode(''),'/156378/4789.html','true',[],''],
		['PAGE','213426',jdecode('Syst%C3%A8mes+d%26%23x27%3Baspiration'),jdecode(''),'/156378/213426.html','true',[],''],
		['PAGE','52702',jdecode('Sorbonnes+%C3%A0+rejet'),jdecode(''),'/156378/52702.html','true',[],''],
		['PAGE','257735',jdecode('Sorbonnes+%C3%A0+recirculation'),jdecode(''),'/156378/257735.html','true',[],''],
		['PAGE','332735',jdecode('Hottes+%C3%A0+rejet+ext%C3%A9rieur'),jdecode(''),'/156378/332735.html','true',[],''],
		['PAGE','264335',jdecode('Aspirations+autonome'),jdecode(''),'/156378/264335.html','true',[],''],
		['PAGE','101103',jdecode('Si%C3%A8ges'),jdecode(''),'/156378/101103.html','true',[],''],
		['PAGE','279135',jdecode('Armoires+de+s%C3%A9curit%C3%A9'),jdecode(''),'/156378/279135.html','true',[],''],
		['PAGE','309735',jdecode('Stockage+inflammables+'),jdecode(''),'/156378/309735.html','true',[],''],
		['PAGE','306135',jdecode('Ventilation'),jdecode(''),'/156378/306135.html','true',[],''],
		['PAGE','315735',jdecode('Douches+de+s%C3%A9curit%C3%A9'),jdecode(''),'/156378/315735.html','true',[],'']
	],''],
	['PAGE','248035',jdecode('Catalogues'),jdecode(''),'/248035.html','true',[],''],
	['PAGE','265435',jdecode('Guides+de+choix'),jdecode(''),'/265435.html','true',[],''],
	['PAGE','278156',jdecode('Comment+commander'),jdecode(''),'/278156.html','true',[],''],
	['PAGE','245535',jdecode('vid%C3%A9os+et+photos'),jdecode(''),'/245535.html','true',[],''],
	['PAGE','261635',jdecode('Nous+contacter+...'),jdecode(''),'/261635.html','true',[],''],
	['PAGE','148203',jdecode('Fiches+techniques'),jdecode(''),'/148203.html','true',[],''],
	['PAGE','4897',jdecode('+Nos+coordonn%C3%A9es'),jdecode(''),'/4897.html','true',[],''],
	['PAGE','68583',jdecode('Conditions+de+ventes'),jdecode(''),'/68583.html','true',[],''],
	['PAGE','357835',jdecode('Nouvelle+page'),jdecode(''),'/357835.html','true',[],'']];
var siteelementCount=23;
theSitetree.topTemplateName='Amaze';
theSitetree.paletteFamily='0A2447';
theSitetree.keyvisualId='2414';
theSitetree.keyvisualName='commerz.jpg';
theSitetree.fontsetId='399';
theSitetree.graphicsetId='444';
theSitetree.contentColor='AAFF00';
theSitetree.contentBGColor='0A2447';
var theTemplate={
				name: 			'Amaze',
				paletteFamily: 	'0A2447',
				keyvisualId: 	'2414',
				keyvisualName: 	'commerz.jpg',
				fontsetId: 		'399',
				graphicsetId: 	'444',
				contentColor: 	'AAFF00',
				contentBGColor: '0A2447',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'0A2447',
				b_color: 		'081B35',
				c_color: 		'3268E2',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['5000']={
webappId:    '5000',
documentId:  '248035',
internalId:  '',
customField: '20120120-161626'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '4597',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '332735',
internalId:  '',
customField: '20110829-143251'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4597',
internalId:  '',
customField: '20120119-113507'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '156378',
internalId:  '',
customField: '20120119-114237'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '261635',
internalId:  '',
customField: '20080504-184614'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4789',
internalId:  '',
customField: '20120119-155340'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '213426',
internalId:  '',
customField: '20110829-143027'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '52702',
internalId:  '',
customField: '20120119-114728'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '265435',
internalId:  '',
customField: '20120119-141905'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '264335',
internalId:  '',
customField: '20110829-143535'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '257735',
internalId:  '',
customField: '20120119-160146'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '261635',
internalId:  '11929698',
customField: 'fr:FR:'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '101103',
internalId:  '',
customField: '20110829-143612'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '309735',
internalId:  '',
customField: '20120119-114829'
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '4597',
internalId:  '5827648',
customField: '1501'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '306135',
internalId:  '',
customField: '20120119-114923'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '278156',
internalId:  '',
customField: '20120119-115426'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '148203',
internalId:  '',
customField: '20110829-144448'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4897',
internalId:  '',
customField: '20120119-141804'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '245535',
internalId:  '',
customField: '20110829-144401'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '68583',
internalId:  '',
customField: '20120119-115559'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '279135',
internalId:  '',
customField: '20110829-143653'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '357835',
internalId:  '',
customField: '20110711-194530'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '296235',
internalId:  '',
customField: '20111011-170759'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '315735',
internalId:  '',
customField: '20120119-115021'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010IN3W8N';
var companyName   = 'AFC+Labo';
var htmlTitle	  = 'afclabo';
var metaKeywords  = 'mobilier%2Cpaillasse%2Cmeuble%2Claboratoire%2Csecurite%2Carmoire%2Chotte%2Csorbonne%2Cstockage%2Csiege%2Ckitlab%2Ckit+lab%2Ckor%2Casecos%2Cconception%2Ctrionyx%2Chotte+a+filtre%2Cwattohm%2Csorbonne%2Carmoire+de+securite%2Cacide%2Cbase%2Cinflammable%2Cventilateur%2Caspiration%2Cdouche+securite%2C+';
var metaContents  = 'Amenagement%2C+fourniture+et+conception+de+laboratoires+scientifiques+et+industriels.+Etude+d+implantation+et+installation.';
					                                                                    
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 */					                                                            

