/* [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('Cano%C3%ABCamping+plage'),jdecode(''),'/501.html','true',[],''],
	['PAGE','24822',jdecode('Photo+plage'),jdecode(''),'/24822.html','true',[],''],
	['PAGE','24843',jdecode('Photo+port+cano%C3%AB%2Fkayak'),jdecode(''),'/24843.html','true',[],''],
	['PAGE','24864',jdecode('TARIF+%26+r%C3%A9ductions+2010%21'),jdecode(''),'/24864/index.html','true',[ 
		['PAGE','94301',jdecode('HANDICAP%C3%A9s+Total+-20%25'),jdecode(''),'/24864/94301.html','true',[],''],
		['PAGE','85243',jdecode('3+nuits+%3D+facture+-10%25+'),jdecode(''),'/24864/85243.html','true',[],''],
		['PAGE','85264',jdecode('7+nuits+%3D+6+pay%C3%A9+'),jdecode(''),'/24864/85264.html','true',[],''],
		['PAGE','85285',jdecode('14+nights+%3D+11+payed'),jdecode(''),'/24864/85285.html','true',[],''],
		['PAGE','85306',jdecode('21+nachten+%3D+16+betaald'),jdecode(''),'/24864/85306.html','true',[],''],
		['PAGE','85327',jdecode('28+N%C3%A4chte+%3D+21+bezahlt'),jdecode(''),'/24864/85327.html','true',[],''],
		['PAGE','86501',jdecode('1+mois+%3D+facture+-30%25'),jdecode(''),'/24864/86501.html','true',[],''],
		['PAGE','86522',jdecode('2+mois+%3D+facture+-35%25'),jdecode(''),'/24864/86522.html','true',[],''],
		['PAGE','86543',jdecode('3+mois+%3D+facture-40%25'),jdecode(''),'/24864/86543.html','true',[],''],
		['PAGE','100101',jdecode('Offres+%26+prix+SNACK'),jdecode(''),'/24864/100101.html','true',[],''],
		['PAGE','100122',jdecode('Offres+%26+prix+BAR'),jdecode(''),'/24864/100122.html','true',[],''],
		['PAGE','100143',jdecode('Offres+%26+prix+MAGAZIN'),jdecode(''),'/24864/100143.html','true',[],''],
		['PAGE','100164',jdecode('Offres+%26+prix+d%C3%A9p%C3%B4t+PAIN'),jdecode(''),'/24864/100164.html','true',[],''],
		['PAGE','100185',jdecode('Offres+%26+prix+d%C3%A9p%C3%B4t+GAZ'),jdecode(''),'/24864/100185.html','true',[],''],
		['PAGE','100206',jdecode('Offres+%26+prix+GLACE%2FEis'),jdecode(''),'/24864/100206.html','true',[],''],
		['PAGE','100227',jdecode('Offres+%26+prix+LOISIRS'),jdecode(''),'/24864/100227.html','true',[],''],
		['PAGE','100248',jdecode('Wifi-%2FWLAN-Hotspots+gratuits'),jdecode(''),'/24864/100248.html','true',[],''],
		['PAGE','100269',jdecode('BORNE+INTERNET+gratuit'),jdecode(''),'/24864/100269.html','true',[],''],
		['PAGE','100290',jdecode('Babyfoot+gratuit'),jdecode(''),'/24864/100290.html','true',[],''],
		['PAGE','100311',jdecode('PingPong+gratuit'),jdecode(''),'/24864/100311.html','true',[],''],
		['PAGE','100332',jdecode('Minigolf'),jdecode(''),'/24864/100332.html','true',[],''],
		['PAGE','100353',jdecode('Location+v%C3%A9l%C3%B2'),jdecode(''),'/24864/100353.html','true',[],''],
		['PAGE','100374',jdecode('Location+cano%C3%AB'),jdecode(''),'/24864/100374.html','true',[],'']
	],''],
	['PAGE','12501',jdecode('OFFRES+SPECIALS+2010%21'),jdecode(''),'/12501/index.html','true',[ 
		['PAGE','84401',jdecode('CCI%2F%28Acsi+welcome%29%2FEFCO'),jdecode(''),'/12501/84401.html','true',[],''],
		['PAGE','85201',jdecode('ANCV'),jdecode(''),'/12501/85201.html','true',[],''],
		['PAGE','85222',jdecode('IPA+'),jdecode(''),'/12501/85222.html','true',[],''],
		['PAGE','97843',jdecode('FFCC+-20%25'),jdecode(''),'/12501/97843.html','true',[],''],
		['PAGE','98501',jdecode('DCC+-20%25'),jdecode(''),'/12501/98501.html','true',[],''],
		['PAGE','98522',jdecode('NKC+-20%25'),jdecode(''),'/12501/98522.html','true',[],''],
		['PAGE','97864',jdecode('Club+del+PleinAir+-20%25'),jdecode(''),'/12501/97864.html','true',[],''],
		['PAGE','97885',jdecode('Camping-bon+-15%25'),jdecode(''),'/12501/97885.html','true',[],''],
		['PAGE','87401',jdecode('HANDICAP%C3%A9s+-20%25'),jdecode(''),'/12501/87401.html','true',[],''],
		['PAGE','87001',jdecode('Groupe+%3E14+personnes'),jdecode(''),'/12501/87001.html','true',[],''],
		['PAGE','74501',jdecode('Prix+%22grand+MERCI%22+Fidelit%C3%A9'),jdecode(''),'/12501/74501.html','true',[],'']
	],''],
	['PAGE','24801',jdecode('Bienvenu+Campingcars%2FPrix'),jdecode(''),'/24801/index.html','true',[ 
		['PAGE','97801',jdecode('Stop+Acceuil+Camping-Car+'),jdecode(''),'/24801/97801.html','true',[],''],
		['PAGE','97822',jdecode('NKC'),jdecode(''),'/24801/97822.html','true',[],'']
	],''],
	['PAGE','100395',jdecode('PRIX+machine+%C3%A0+laver+%3D+3%E2%82%AC'),jdecode(''),'/100395.html','true',[],''],
	['PAGE','100416',jdecode('PRIX+s%C3%AAche+linge+%3D+3%E2%82%AC'),jdecode(''),'/100416.html','true',[],''],
	['PAGE','24885',jdecode('Formulaire%2FContact'),jdecode(''),'/24885.html','true',[],''],
	['PAGE','75201',jdecode('Links'),jdecode(''),'/75201.html','true',[],'']];
var siteelementCount=46;
theSitetree.topTemplateName='Family';
theSitetree.paletteFamily='F5D7B8';
theSitetree.keyvisualId='3826';
theSitetree.keyvisualName='kv_3826.jpg';
theSitetree.fontsetId='10484';
theSitetree.graphicsetId='11019';
theSitetree.contentColor='A00000';
theSitetree.contentBGColor='F5D7B8';
var theTemplate={
				name: 			'Family',
				paletteFamily: 	'F5D7B8',
				keyvisualId: 	'3826',
				keyvisualName: 	'kv_3826.jpg',
				fontsetId: 		'10484',
				graphicsetId: 	'11019',
				contentColor: 	'A00000',
				contentBGColor: 'F5D7B8',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'AEAEAF',
				e_color: 		'AEAEAF',
				f_color: 		'AEAEAF',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['5000']={
webappId:    '5000',
documentId:  '501',
internalId:  '',
customField: '20100724-082512'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '501',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '12501',
internalId:  '',
customField: '20100609-124652'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '24801',
internalId:  '',
customField: '20100619-081905'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '24822',
internalId:  '',
customField: '20100724-082426'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '24843',
internalId:  '',
customField: '20100724-082644'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '24864',
internalId:  '',
customField: '20100724-102704'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '24885',
internalId:  '',
customField: '20100606-151741'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '24885',
internalId:  '4708529',
customField: 'fr:FR:'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '74501',
internalId:  '',
customField: '20100609-124746'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '75201',
internalId:  '',
customField: '20100606-151908'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '85201',
internalId:  '',
customField: '20100607-170646'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '84401',
internalId:  '',
customField: '20100606-204813'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '85222',
internalId:  '',
customField: '20100609-143710'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '85243',
internalId:  '',
customField: '20100724-083419'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '85264',
internalId:  '',
customField: '20100724-102813'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '85285',
internalId:  '',
customField: '20100724-103039'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '85306',
internalId:  '',
customField: '20100724-103215'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '85327',
internalId:  '',
customField: '20100724-103335'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '86501',
internalId:  '',
customField: '20100724-103413'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '86522',
internalId:  '',
customField: '20100724-103449'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '86543',
internalId:  '',
customField: '20100724-103631'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '87001',
internalId:  '',
customField: '20100724-081921'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '87401',
internalId:  '',
customField: '20100724-082013'
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '501',
internalId:  '7329909',
customField: '1501'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '94301',
internalId:  '',
customField: '20100724-083543'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '97801',
internalId:  '',
customField: '20100619-091443'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '97822',
internalId:  '',
customField: '20100619-091443'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '97843',
internalId:  '',
customField: '20100619-091443'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '97864',
internalId:  '',
customField: '20100619-091443'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '97885',
internalId:  '',
customField: '20100619-091443'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '98501',
internalId:  '',
customField: '20100619-093811'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '98522',
internalId:  '',
customField: '20100619-093811'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '100101',
internalId:  '',
customField: '20100724-104344'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '100122',
internalId:  '',
customField: '20100619-104510'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '100143',
internalId:  '',
customField: '20100619-104510'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '100164',
internalId:  '',
customField: '20100619-104510'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '100185',
internalId:  '',
customField: '20100619-104510'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '100206',
internalId:  '',
customField: '20100619-104510'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '100227',
internalId:  '',
customField: '20100619-104510'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '100248',
internalId:  '',
customField: '20100619-104510'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '100269',
internalId:  '',
customField: '20100619-104510'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '100290',
internalId:  '',
customField: '20100619-104510'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '100311',
internalId:  '',
customField: '20100619-104510'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '100332',
internalId:  '',
customField: '20100619-104510'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '100353',
internalId:  '',
customField: '20100619-104510'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '100374',
internalId:  '',
customField: '20100619-104510'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '100395',
internalId:  '',
customField: '20100619-104510'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '100416',
internalId:  '',
customField: '20100619-104510'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010INLX6G';
var companyName   = 'Cano%C3%AB+Camping+La+Courtine+pour+la+nature';
var htmlTitle	  = 'Cano%C3%ABCamping+La+Courtine+pour+la+Nature';
var metaKeywords  = '';
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 */					                                                            
