/* [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','501',jdecode('Accueil'),jdecode(''),'/501.html','true',[],''],
	['PAGE','552',jdecode('Demande+de+devis'),jdecode(''),'/552.html','true',[],''],
	['PAGE','22901',jdecode('Expert+comptable'),jdecode(''),'/22901.html','true',[],''],
	['PAGE','16301',jdecode('Piscine'),jdecode(''),'/16301.html','true',[],''],
	['PAGE','17601',jdecode('Photovolta%C3%AFque'),jdecode(''),'/17601.html','true',[],''],
	['PAGE','22922',jdecode('Climatisation'),jdecode(''),'/22922.html','true',[],''],
	['PAGE','22943',jdecode('Pompe+%C3%A0+chaleur'),jdecode(''),'/22943.html','true',[],''],
	['PAGE','22964',jdecode('Chauffe-eau+solaire'),jdecode(''),'/22964.html','true',[],''],
	['PAGE','22985',jdecode('Nettoyage'),jdecode(''),'/22985.html','true',[],''],
	['PAGE','23006',jdecode('Gardiennage+-+S%C3%A9curit%C3%A9'),jdecode(''),'/23006.html','true',[],''],
	['PAGE','23027',jdecode('Peinture'),jdecode(''),'/23027.html','true',[],''],
	['PAGE','23048',jdecode('Habitat'),jdecode(''),'/23048.html','true',[],''],
	['PAGE','34401',jdecode('Cuisine+am%C3%A9nag%C3%A9e'),jdecode(''),'/34401.html','true',[],''],
	['PAGE','23069',jdecode('Imprimerie'),jdecode(''),'/23069.html','true',[],''],
	['PAGE','17622',jdecode('Audit+-+conseils'),jdecode(''),'/17622.html','true',[],''],
	['PAGE','28701',jdecode('Mobilier+de+bureaux'),jdecode(''),'/28701.html','true',[],''],
	['PAGE','32401',jdecode('E.mailing'),jdecode(''),'/32401.html','true',[],''],
	['PAGE','34001',jdecode('Call+center'),jdecode(''),'/34001.html','true',[],''],
	['PAGE','32422',jdecode('R%C3%A9f%C3%A9rencement'),jdecode(''),'/32422.html','true',[],''],
	['PAGE','38501',jdecode('Positionnement'),jdecode(''),'/38501.html','true',[],''],
	['PAGE','8601',jdecode('4+raisons+de+nous+choisir'),jdecode(''),'/8601.html','true',[],''],
	['PAGE','20701',jdecode('Inscription+Prestataires'),jdecode(''),'/20701.html','true',[],''],
	['PAGE','13401',jdecode('Qui+sommes-nous'),jdecode(''),'/13401.html','true',[],''],
	['PAGE','14801',jdecode('Mentions+l%C3%A9gales'),jdecode(''),'/14801/index.html','true',[ 
		['PAGE','8222',jdecode('Qualit%C3%A9'),jdecode(''),'/14801/8222.html','true',[],'']
	],''],
	['PAGE','60901',jdecode('Sites+partenaires'),jdecode(''),'/60901.html','true',[],''],
	['PAGE','41101',jdecode('Contact'),jdecode(''),'/41101.html','true',[],'']];
var siteelementCount=27;
theSitetree.topTemplateName='Steps';
theSitetree.paletteFamily='315881';
theSitetree.keyvisualId='2272';
theSitetree.keyvisualName='industry.jpg';
theSitetree.fontsetId='368';
theSitetree.graphicsetId='419';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='315881';
var theTemplate={
				name: 			'Steps',
				paletteFamily: 	'315881',
				keyvisualId: 	'2272',
				keyvisualName: 	'industry.jpg',
				fontsetId: 		'368',
				graphicsetId: 	'419',
				contentColor: 	'FFFFFF',
				contentBGColor: '315881',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'315881',
				b_color: 		'2985B5',
				c_color: 		'3366CC',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Times New Roman, Times, serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['5000']={
webappId:    '5000',
documentId:  '501',
internalId:  '',
customField: '20111026-105611'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '552',
internalId:  '',
customField: '20100607-091232'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '552',
internalId:  '5902299',
customField: 'fr:FR:'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '13401',
internalId:  '',
customField: '20100528-090129'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '8601',
internalId:  '',
customField: '20090914-005918'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '8222',
internalId:  '',
customField: '20090914-011150'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14801',
internalId:  '',
customField: '20090914-015432'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '16301',
internalId:  '',
customField: '20091019-111535'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '16301',
internalId:  '6026801',
customField: 'fr:FR:'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '17601',
internalId:  '',
customField: '20100828-131603'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '17622',
internalId:  '',
customField: '20090926-203652'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '17622',
internalId:  '6028134',
customField: 'fr:FR:'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '17601',
internalId:  '6036708',
customField: 'fr:FR:'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '20701',
internalId:  '',
customField: '20100722-200610'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '20701',
internalId:  '6055199',
customField: 'fr:FR:'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '22901',
internalId:  '',
customField: '20100607-001813'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '22901',
internalId:  '5902299',
customField: 'fr:FR:'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '22922',
internalId:  '',
customField: '20100828-132051'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '22922',
internalId:  '6036708',
customField: 'fr:FR:'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '22943',
internalId:  '',
customField: '20100828-140719'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '22943',
internalId:  '5902299',
customField: 'fr:FR:'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '22964',
internalId:  '',
customField: '20091004-111110'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '22964',
internalId:  '6036708',
customField: 'fr:FR:'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '22985',
internalId:  '',
customField: '20100607-000355'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '22985',
internalId:  '6068306',
customField: 'fr:FR:'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '23006',
internalId:  '',
customField: '20100607-001251'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '23006',
internalId:  '6068818',
customField: 'fr:FR:'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '23027',
internalId:  '',
customField: '20091019-111953'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '23027',
internalId:  '6068402',
customField: 'fr:FR:'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '23048',
internalId:  '',
customField: '20091019-111925'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '23048',
internalId:  '6068532',
customField: 'fr:FR:'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '23069',
internalId:  '',
customField: '20091019-111853'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '23069',
internalId:  '6069012',
customField: 'fr:FR:'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '501',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '34001',
internalId:  '',
customField: '20111001-182146'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '28701',
internalId:  '',
customField: '20091019-111801'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '28701',
internalId:  '6156793',
customField: 'fr:FR:'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '34401',
internalId:  '',
customField: '20100607-085120'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '32422',
internalId:  '',
customField: '20100527-115412'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '32401',
internalId:  '',
customField: '20100502-103141'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '34401',
internalId:  '6068532',
customField: 'fr:FR:'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '34001',
internalId:  '7226102',
customField: 'fr:FR:'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '38501',
internalId:  '',
customField: '20100527-142041'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '38501',
internalId:  '7274491',
customField: 'fr:FR:'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41101',
internalId:  '',
customField: '20100530-101504'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '60901',
internalId:  '',
customField: '20111026-110312'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010INZDMQ';
var companyName   = 'Devis+Prestataire';
var htmlTitle	  = 'Devis+Prestataire';
var metaKeywords  = 'devis+prestataire%2C+devis%2Cdevis+gratuit%2Cfourniture+de+devis%2C+demande+de+devis%2C+fourniture+de+leads%2C+ressources+et+marketing%2C+leads%2C+solaire%2C+energie+solaire%2C+climatisation%2C+electricite+solaire%2C+eclairage+solaire%2C+module+solaire%2C+photovoltaique%2C+securite%2C+gardiennage%2C+surveillance%2C+expert+comptable%2C+demenagement%2C+parquet%2C+parquet+exotique%2C+extincteur%2C+devis+solaire%2C+devis+cuisine%2Cdevis+energie+solaire%2C+devis+climatisation%2C+devis+electricite+solaire%2C+devis+eclairage+solaire%2C+devis+module+solaire%2C+devis+photovoltaique%2C+devis+securite%2C+devis+gardiennage%2C+devis+surveillance%2C+devis+expert+comptable%2C+devis+demenagement%2C+devis+parquet%2C+devis+parquet+exotique%2C+devis+extincteur%2C+e.mailing%2C+emailing%2C+referencement%2Creferencement+internet%2Creferencement+de+site%2Creferencement+site%2Creferencement+site+internet%2Creferencement+de+site+internet%2Cressources+et+marketing%2Creferencement+web%2C';
var metaContents  = 'Devis+Prestataire+%3A+service+de+fourniture+de+demandes+de+devis+pour+les+artisans+et+prestataires+de+service.';
					                                                                    
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 */					                                                            

