/* [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','4560',jdecode('Home'),jdecode(''),'/4560.html','true',[],''],
	['PAGE','23530',jdecode('LE+COCON'),jdecode(''),'/23530/index.html','true',[ 
		['PAGE','23557',jdecode('Equipement'),jdecode(''),'/23530/23557.html','true',[],''],
		['PAGE','23584',jdecode('Services'),jdecode(''),'/23530/23584.html','true',[],''],
		['PAGE','23611',jdecode('Tarifs'),jdecode(''),'/23530/23611.html','true',[],''],
		['PAGE','102777',jdecode('Galerie+Photos'),jdecode(''),'/23530/102777.html','true',[],''],
		['PAGE','146822',jdecode('Etat+Descriptif+'),jdecode(''),'/23530/146822.html','true',[],'']
	],''],
	['PAGE','114622',jdecode('LE+DOLCE'),jdecode(''),'/114622/index.html','true',[ 
		['PAGE','114643',jdecode('Equipement'),jdecode(''),'/114622/114643.html','true',[],''],
		['PAGE','114664',jdecode('Services'),jdecode(''),'/114622/114664.html','true',[],''],
		['PAGE','114685',jdecode('Tarifs'),jdecode(''),'/114622/114685.html','true',[],''],
		['PAGE','114706',jdecode('Galerie+Photos'),jdecode(''),'/114622/114706.html','true',[],''],
		['PAGE','146843',jdecode('Etat+Descriptif'),jdecode(''),'/114622/146843.html','true',[],'']
	],''],
	['PAGE','114727',jdecode('LE+LODGE'),jdecode(''),'/114727/index.html','true',[ 
		['PAGE','114748',jdecode('Equipement'),jdecode(''),'/114727/114748.html','true',[],''],
		['PAGE','114769',jdecode('Services'),jdecode(''),'/114727/114769.html','true',[],''],
		['PAGE','114790',jdecode('Tarifs'),jdecode(''),'/114727/114790.html','true',[],''],
		['PAGE','114811',jdecode('Galerie+Photos'),jdecode(''),'/114727/114811.html','true',[],''],
		['PAGE','146864',jdecode('Etat+descriptif'),jdecode(''),'/114727/146864.html','true',[],'']
	],''],
	['PAGE','23692',jdecode('Contact%2FR%C3%A9servation'),jdecode(''),'/23692/index.html','true',[ 
		['PAGE','66317',jdecode('Contact+%28volgende+pagina%29'),jdecode(''),'/23692/66317.html','false',[],'']
	],''],
	['PAGE','23638',jdecode('Conditions+de+r%C3%A9servation'),jdecode(''),'/23638.html','true',[],''],
	['PAGE','23665',jdecode('Acc%C3%A8s%2FPlan'),jdecode(''),'/23665.html','true',[],''],
	['PAGE','84018',jdecode('Annecy'),jdecode(''),'/84018.html','true',[],''],
	['PAGE','93480',jdecode('Nos+partenaires'),jdecode(''),'/93480.html','true',[],''],
	['PAGE','94880',jdecode('ENGLISH+VERSION'),jdecode(''),'/94880.html','true',[],''],
	['PAGE','94907',jdecode('Le+Lodge'),jdecode(''),'/94907/index.html','true',[ 
		['PAGE','137822',jdecode('Appliances'),jdecode(''),'/94907/137822.html','true',[],''],
		['PAGE','137843',jdecode('Services'),jdecode(''),'/94907/137843.html','true',[],''],
		['PAGE','137864',jdecode('Rates'),jdecode(''),'/94907/137864.html','true',[],''],
		['PAGE','137885',jdecode('Photos'),jdecode(''),'/94907/137885.html','true',[],'']
	],''],
	['PAGE','114832',jdecode('Le+Dolce'),jdecode(''),'/114832/index.html','true',[ 
		['PAGE','137906',jdecode('Appliances'),jdecode(''),'/114832/137906.html','true',[],''],
		['PAGE','137927',jdecode('Services'),jdecode(''),'/114832/137927.html','true',[],''],
		['PAGE','137948',jdecode('Rates'),jdecode(''),'/114832/137948.html','true',[],''],
		['PAGE','137969',jdecode('Photos'),jdecode(''),'/114832/137969.html','true',[],'']
	],''],
	['PAGE','114853',jdecode('Le+Cocon'),jdecode(''),'/114853/index.html','true',[ 
		['PAGE','94934',jdecode('Appliances'),jdecode(''),'/114853/94934.html','true',[],''],
		['PAGE','94961',jdecode('Services'),jdecode(''),'/114853/94961.html','true',[],''],
		['PAGE','94988',jdecode('Rates'),jdecode(''),'/114853/94988.html','true',[],''],
		['PAGE','103327',jdecode('Photos'),jdecode(''),'/114853/103327.html','true',[],'']
	],''],
	['PAGE','95015',jdecode('Terms+and+Conditions'),jdecode(''),'/95015.html','true',[],''],
	['PAGE','107224',jdecode('Access%2FMap'),jdecode(''),'/107224.html','true',[],''],
	['PAGE','107251',jdecode('Annecy'),jdecode(''),'/107251.html','true',[],'']];
var siteelementCount=44;
theSitetree.topTemplateName='Inspiration';
theSitetree.paletteFamily='A99797';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='102';
theSitetree.graphicsetId='124';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='A99797';
var theTemplate={
				name: 			'Inspiration',
				paletteFamily: 	'A99797',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'102',
				graphicsetId: 	'124',
				contentColor: 	'FFFFFF',
				contentBGColor: 'A99797',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'A99797',
				b_color: 		'C5BAB6',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1001']={
webappId:    '1001',
documentId:  '23692',
internalId:  'aam010invsz410f7c388ce2',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '66317',
internalId:  'aam010invsz410f7c388ce2',
customField: 'followUp'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '4560',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '137822',
internalId:  '',
customField: '20090305-123811'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4560',
internalId:  '',
customField: '20110315-170319'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '23530',
internalId:  '',
customField: '20101019-151140'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '23557',
internalId:  '',
customField: '20110228-185338'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '23584',
internalId:  '',
customField: '20081110-155247'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '23611',
internalId:  '',
customField: '20101019-153829'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '102777',
internalId:  '',
customField: '20080602-131224'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '23692',
internalId:  '',
customField: '20110228-190959'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '66317',
internalId:  '',
customField: '20061213-153018'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '23638',
internalId:  '',
customField: '20110315-101025'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '23665',
internalId:  '',
customField: '20080603-100048'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '84018',
internalId:  '',
customField: '20070207-222736'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '93480',
internalId:  '',
customField: '20110315-172001'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '94880',
internalId:  '',
customField: '20110315-100356'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '94907',
internalId:  '',
customField: '20090304-211524'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '94934',
internalId:  '',
customField: '20090304-212801'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '94961',
internalId:  '',
customField: '20090305-131225'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '94988',
internalId:  '',
customField: '20101019-154852'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '103327',
internalId:  '',
customField: '20070205-105708'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '95015',
internalId:  '',
customField: '20110315-100628'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '107224',
internalId:  '',
customField: '20070205-153509'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '107251',
internalId:  '',
customField: '20070205-153442'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '114622',
internalId:  '',
customField: '20080608-172501'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '114706',
internalId:  '',
customField: '20080603-234538'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '114727',
internalId:  '',
customField: '20101019-151755'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '114811',
internalId:  '',
customField: '20080713-135019'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '114643',
internalId:  '',
customField: '20110228-185629'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '114748',
internalId:  '',
customField: '20110228-190005'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '114664',
internalId:  '',
customField: '20081110-155952'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '114769',
internalId:  '',
customField: '20081110-160638'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '114685',
internalId:  '',
customField: '20101019-153933'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '114790',
internalId:  '',
customField: '20101019-154116'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '114832',
internalId:  '',
customField: '20081110-174344'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '114853',
internalId:  '',
customField: '20101019-154713'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '137906',
internalId:  '',
customField: '20090304-212859'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '137927',
internalId:  '',
customField: '20090305-131024'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '137843',
internalId:  '',
customField: '20090305-125441'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '137864',
internalId:  '',
customField: '20101019-154415'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '137885',
internalId:  '',
customField: '20090305-194554'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '137948',
internalId:  '',
customField: '20101019-154625'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '137969',
internalId:  '',
customField: '20090305-195619'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '146822',
internalId:  '',
customField: '20110322-141207'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '146843',
internalId:  '',
customField: '20110322-141207'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '146864',
internalId:  '',
customField: '20110322-141207'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010INVSZ4';
var companyName   = '';
var htmlTitle	  = 'www.unlieuunique.com';
var metaKeywords  = 'Annecy%2C+Chambres+dh%C3%B4tes%2C+h%C3%B4tel+de+charmes%2C+gites';
var metaContents  = 'H%C3%A9bergement+%EF%BF%BD+Annecy+centre+historique+%3A+Gite+urbain%2C+%C3%A0+mi-chemin+entre+la+suite+dun+h%C3%B4tel+et+la+chambres+dh%C3%B4tes+de+charme';
					                                                                    
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 */					                                                            

