/* [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','17801',jdecode('Page+d%26%23x27%3Baccueil'),jdecode(''),'/17801.html','true',[],''],
	['PAGE','18501',jdecode('Si%C3%A8ge+Social+de+Pless%C3%A9'),jdecode(''),'/18501.html','true',[],''],
	['PAGE','14901',jdecode('Site+de+G%C3%A9men%C3%A9-Penfao'),jdecode(''),'/14901.html','true',[],''],
	['PAGE','5143',jdecode('Plomberie+-+Sanitaire'),jdecode(''),'/5143.html','true',[],''],
	['PAGE','20901',jdecode('Chauffage'),jdecode(''),'/20901/index.html','true',[ 
		['PAGE','5164',jdecode('Choix+de+l%26%23x27%3B%C3%A9nergie'),jdecode(''),'/20901/5164.html','true',[],''],
		['PAGE','5206',jdecode('Choix+de+la+chaudi%C3%A8re'),jdecode(''),'/20901/5206.html','true',[],''],
		['PAGE','23601',jdecode('Cr%C3%A9dit+d%26%23x27%3Bimp%C3%B4t'),jdecode(''),'/20901/23601.html','true',[],'']
	],''],
	['PAGE','10701',jdecode('Energies+Renouvelables'),jdecode(''),'/10701/index.html','true',[ 
		['PAGE','10722',jdecode('L%26%23x27%3B%C3%A9nergie+solaire'),jdecode(''),'/10701/10722.html','true',[],''],
		['PAGE','10785',jdecode('L%26%23x27%3Ba%C3%A9rothermie'),jdecode(''),'/10701/10785.html','true',[],''],
		['PAGE','10806',jdecode('La+g%C3%A9othermie'),jdecode(''),'/10701/10806.html','true',[],''],
		['PAGE','10827',jdecode('L%26%23x27%3B%C3%A9nergie+bois'),jdecode(''),'/10701/10827.html','true',[],''],
		['PAGE','23622',jdecode('Cr%C3%A9dit+d%26%23x27%3Bimp%C3%B4t'),jdecode(''),'/10701/23622.html','true',[],'']
	],''],
	['PAGE','10848',jdecode('Electricit%C3%A9'),jdecode(''),'/10848/index.html','true',[ 
		['PAGE','10953',jdecode('Aspiration+centralis%C3%A9e'),jdecode(''),'/10848/10953.html','true',[],'']
	],''],
	['PAGE','10869',jdecode('V.+M.+C.'),jdecode(''),'/10869/index.html','true',[ 
		['PAGE','10890',jdecode('V.M.C.+simple+flux'),jdecode(''),'/10869/10890.html','true',[],''],
		['PAGE','10911',jdecode('V.M.C.+double+flux'),jdecode(''),'/10869/10911.html','true',[],''],
		['PAGE','10932',jdecode('V.M.C.+Hygro+r%C3%A9glable'),jdecode(''),'/10869/10932.html','true',[],'']
	],''],
	['PAGE','10974',jdecode('R%C3%A9cup%C3%A9rateur+d%26%23x27%3Beau'),jdecode(''),'/10974/index.html','true',[ 
		['PAGE','39601',jdecode('Cr%C3%A9dit+d%26%23x27%3Bimp%C3%B4t'),jdecode(''),'/10974/39601.html','true',[],'']
	],''],
	['PAGE','14922',jdecode('Electrom%C3%A9nager'),jdecode(''),'/14922.html','true',[],''],
	['PAGE','14943',jdecode('Nos+partenaires'),jdecode(''),'/14943.html','true',[],''],
	['PAGE','23201',jdecode('Nous+contacter'),jdecode(''),'/23201.html','true',[],'']];
var siteelementCount=25;
theSitetree.topTemplateName='Global';
theSitetree.paletteFamily='333399';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='85';
theSitetree.graphicsetId='105';
theSitetree.contentColor='000066';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Global',
				paletteFamily: 	'333399',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'85',
				graphicsetId: 	'105',
				contentColor: 	'000066',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'242E8A',
				b_color: 		'FF9900',
				c_color: 		'000000',
				d_color: 		'EAEAEA',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14901',
internalId:  '',
customField: '20080624-161158'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5206',
internalId:  '',
customField: '20080527-150053'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '18501',
internalId:  '',
customField: '20080625-083548'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '23622',
internalId:  '',
customField: '20080526-120458'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5143',
internalId:  '',
customField: '20080527-144057'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '20901',
internalId:  '',
customField: '20080624-151202'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '10701',
internalId:  '',
customField: '20080526-112643'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '10722',
internalId:  '',
customField: '20080723-122646'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '23201',
internalId:  '',
customField: '20080522-164846'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '23601',
internalId:  '',
customField: '20080526-120814'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '10785',
internalId:  '',
customField: '20080526-120017'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '10806',
internalId:  '',
customField: '20080526-115929'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '10827',
internalId:  '',
customField: '20080526-114913'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '10848',
internalId:  '',
customField: '20080526-150442'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5164',
internalId:  '',
customField: '20080624-161525'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '10869',
internalId:  '',
customField: '20080526-121734'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '10890',
internalId:  '',
customField: '20080522-113500'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '10911',
internalId:  '',
customField: '20080522-113439'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '10932',
internalId:  '',
customField: '20080526-151209'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '10953',
internalId:  '',
customField: '20080526-150600'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14922',
internalId:  '',
customField: '20080527-123809'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '10974',
internalId:  '',
customField: '20080526-151705'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '17801',
internalId:  '',
customField: '20080527-104428'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14943',
internalId:  '',
customField: '20080526-160343'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '39601',
internalId:  '',
customField: '20080526-151835'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '23201',
internalId:  '2830469',
customField: 'fr:FR:'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '17801',
internalId:  '1006',
customField: '1006'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010INLTOL';
var companyName   = 'SARL+ROLLAIS';
var htmlTitle	  = 'SARL+ROLLAIS+plomberie+sanitaire+chauffage+%C3%A9lectricit%C3%A9+%C3%A9nergies+renouvelables';
var metaKeywords  = 'HEADplombier%2FHEAD+HEADplesse%2FHEAD+HEADsarl_rollais%2FHEAD+HEADrollais_joel%2FHEAD++HEADguemene-penfao%2FHEAD+HEADplomberie%2FHEAD+HEADsanitaire%2FHEAD+HEADchauffage%2FHEAD+HEADelectricit%C3%A9%2FHEAD+HEADenergie_solaire%2FHEAD+HEADaerothermie%2FHEAD+HEADgeothermie%2FHEAD+HEADenergie_bois%2FHEAD+HEADrecuperation_d_eau%2FHEAD+HEADelectricien%2FHEAD';
var metaContents  = 'HEADplombier%2FHEAD+HEADplesse%2FHEAD+HEADsarl_rollais%2FHEAD++HEADguemene-penfao%2FHEAD+HEADplomberie-sanitaire%2FHEAD+HEADchauffage%2FHEAD+HEADenergie_solaire%2FHEAD+HEADaerothermie%2FHEAD+HEADgeothermie%2FHEAD+HEADenergie_bois%2FHEAD+HEADrecuperation_d_eau%2FHEAD+HEADelectricien%2FHEAD';
					                                                                    
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 */					                                                            

