/* [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','4598',jdecode('Le+Clos+Margot'),jdecode(''),'/4598.html','true',[],''],
	['PAGE','43601',jdecode('Les+Chambres'),jdecode(''),'/43601.html','true',[],''],
	['PAGE','72205',jdecode('Le+village+de+Saint+Maurice'),jdecode(''),'/72205.html','true',[],''],
	['PAGE','43628',jdecode('Les+environs'),jdecode(''),'/43628.html','true',[],''],
	['PAGE','45173',jdecode('Acc%C3%A8s'),jdecode(''),'/45173.html','true',[],''],
	['PAGE','45200',jdecode('Tarifs'),jdecode(''),'/45200.html','true',[],''],
	['PAGE','45227',jdecode('Contact'),jdecode(''),'/45227/index.html','true',[ 
		['PAGE','81802',jdecode('Contact+%28volgende+pagina%29'),jdecode(''),'/45227/81802.html','false',[],'']
	],'']];
var siteelementCount=8;
theSitetree.topTemplateName='Roses';
theSitetree.paletteFamily='FFFBF2';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10444';
theSitetree.graphicsetId='10823';
theSitetree.contentColor='9D584B';
theSitetree.contentBGColor='FFFBF2';
var theTemplate={
				name: 			'Roses',
				paletteFamily: 	'FFFBF2',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10444',
				graphicsetId: 	'10823',
				contentColor: 	'9D584B',
				contentBGColor: 'FFFBF2',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'787878',
				e_color: 		'9D584B',
				f_color: 		'9D584B',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1006']={
webappId:    '1006',
documentId:  '4598',
internalId:  '1006',
customField: '1006'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '45227',
internalId:  'aam010inedqs102e2750a53',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '81802',
internalId:  'aam010inedqs102e2750a53',
customField: 'followUp'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4598',
internalId:  '',
customField: '20100827-221111'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '43601',
internalId:  '',
customField: '20100712-155044'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '72205',
internalId:  '',
customField: '20100427-142811'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '43628',
internalId:  '',
customField: '20070925-180028'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '45173',
internalId:  '',
customField: '20090325-170741'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '45200',
internalId:  '',
customField: '20100829-182302'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '45227',
internalId:  '',
customField: '20100806-222637'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '81802',
internalId:  '',
customField: '20050327-072123'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010INEDQS';
var companyName   = 'Le+Clos+Margot';
var htmlTitle	  = 'Chambres+d+h%C3%B4tes+de+charme+4+%C3%A9pis+en+Auvergne%2C+Le+clos+Margot';
var metaKeywords  = 'chambres+d+hotes+proche+puy+de+dome%2C+du+Zenith+Clermont+ferrand%2C+Chambre+dh%C3%B4te+proche+grande+halle+dAuvergne%2C+Saint+amant+saturnin+h%C3%A9bergement+a+proximite+maison+dh%C3%B4tes+proche+A75+Auvergne+proche+sauxillanges%2C+veyre+monton%2C+le+cendre%2C+orcet%2C+plauzat%2C+montpeyroux%2C+mezel%2C+pont+du+chateau%2C+vertaizon%2C+la+roche+noire%2C+saint+georges%2C+ceyrat%2C+la+roche+blanche%2C+Bed+and+breakfast+%2C+saint+nectaire%2C+champeix%2C+corent%2C+coudes%2C+la+sauvetat%2C+riom%2C+ceyrat%2C+chamali%C3%A8res%2C+aubiere%2C+vic+le+comte%2C+cournon%2C+aux+alentours+dallet%2C+st+dier+dauvergne%2C+saint%2C+eglise+romane%2C+billom%2C+romagnat%2C+les+martres+de+veyre%2C+Situ%C3%A9e+proche+du+circuit+dissoire%2C++Clermont+Ferrand%2C+Vulcania%2C+et+des+volcans+dAuvergne%2C+hotel%2C+maison%2C+cournon+dauvergne%2C+vic+le+comte+a+cote';
var metaContents  = 'chambres+d+hotes+proche+puy+de+dome%2C+du+Zenith+Clermont+ferrand%2C+Chambre+dh%C3%B4te+proche+grande+halle+dAuvergne%2C+Saint+amant+saturnin+h%C3%A9bergement+a+proximite+maison+dh%C3%B4tes+proche+A75+Auvergne+proche+sauxillanges%2C+veyre+monton%2C+le+cendre%2C+orcet%2C+plauzat%2C+montpeyroux%2C+mezel%2C+pont+du+chateau%2C+vertaizon%2C+la+roche+noire%2C+saint+georges%2C+ceyrat%2C+la+roche+blanche%2C+Bed+and+breakfast+%2C+saint+nectaire%2C+champeix%2C+corent%2C+coudes%2C+la+sauvetat%2C+riom%2C+ceyrat%2C+chamali%C3%A8res%2C+aubiere%2C+vic+le+comte%2C+cournon%2C+aux+alentours+dallet%2C+st+dier+dauvergne%2C+saint%2C+eglise+romane%2C+billom%2C+romagnat%2C+les+martres+de+veyre%2C+Situ%C3%A9e+proche+du+circuit+dissoire%2C++Clermont+Ferrand%2C+Vulcania%2C+et+des+volcans+dAuvergne%2C+hotel%2C+maison%2C+cournon+dauvergne%2C+vic+le+comte+a+cote';
					                                                                    
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 */					                                                            
