/* [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('Notre+H%C3%B4tel-Restaurant'),jdecode(''),'/4598/index.html','true',[ 
		['PAGE','24303',jdecode('L%26%23x27%3BH%C3%B4tel'),jdecode(''),'/4598/24303.html','true',[],''],
		['PAGE','19301',jdecode('Le+Restaurant'),jdecode(''),'/4598/19301.html','true',[],''],
		['PAGE','19328',jdecode('Menu+de+la+semaine'),jdecode(''),'/4598/19328.html','true',[],''],
		['PAGE','5330',jdecode('Affaires%2C+Famille'),jdecode(''),'/4598/5330.html','true',[],''],
		['PAGE','5357',jdecode('Environs+-+Plan+d%26%23x27%3Bacc%C3%A8s'),jdecode(''),'/4598/5357.html','true',[],'']
	],''],
	['PAGE','31703',jdecode('Our+Hotel+-+Restaurant'),jdecode(''),'/31703/index.html','true',[ 
		['PAGE','31730',jdecode('The+Hotel'),jdecode(''),'/31703/31730.html','true',[],''],
		['PAGE','31757',jdecode('The+Restaurant'),jdecode(''),'/31703/31757.html','true',[],''],
		['PAGE','31784',jdecode('Our+weekly+menu'),jdecode(''),'/31703/31784.html','true',[],''],
		['PAGE','31811',jdecode('Business%2C+Family+meetings'),jdecode(''),'/31703/31811.html','true',[],''],
		['PAGE','33998',jdecode('Around+sighseeing'),jdecode(''),'/31703/33998.html','true',[],'']
	],''],
	['PAGE','5384',jdecode('Contact+-+Contact+us'),jdecode(''),'/5384.html','true',[],'']];
var siteelementCount=13;
theSitetree.topTemplateName='Collage';
theSitetree.paletteFamily='D43A3A';
theSitetree.keyvisualId='2465';
theSitetree.keyvisualName='restaurant.jpg';
theSitetree.fontsetId='403';
theSitetree.graphicsetId='460';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Collage',
				paletteFamily: 	'D43A3A',
				keyvisualId: 	'2465',
				keyvisualName: 	'restaurant.jpg',
				fontsetId: 		'403',
				graphicsetId: 	'460',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'FFFFFF',
				b_color: 		'D43A3A',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1008']={
webappId:    '1008',
documentId:  '5384',
internalId:  '12576733',
customField: 'fr:FR:'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '4598',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4598',
internalId:  '',
customField: '20090320-114002'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '24303',
internalId:  '',
customField: '20100113-134846'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '19301',
internalId:  '',
customField: '20100818-175346'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '19328',
internalId:  '',
customField: '20100907-105434'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5330',
internalId:  '',
customField: '20100113-135348'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '31703',
internalId:  '',
customField: '20090320-113458'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '31811',
internalId:  '',
customField: '20100113-135624'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '31784',
internalId:  '',
customField: '20100818-182002'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5357',
internalId:  '',
customField: '20060507-131845'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '31730',
internalId:  '',
customField: '20100113-135542'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '31757',
internalId:  '',
customField: '20100818-181822'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '33998',
internalId:  '',
customField: '20060219-154725'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5384',
internalId:  '',
customField: '20090331-215937'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010IN3Q63';
var companyName   = 'Auberge+de+la+Terrasse';
var htmlTitle	  = 'Auberge+de+la+Terrasse+-+Hotel-Restaurant+Moret+sur+Loing+Seine+et+Marne+77+France';
var metaKeywords  = 'Hotel-Restaurant+Moret+sur+Loing+France+near+Paris%2CHotel-Restaurant+Moret+sur+Loing%2C+Hotel+Fontainebleau%2C+Hotel+France%2CCuisine+du+terroir%2CMenu+gastronomique%2C+Tarif+affaires%2C+tarif+groupe%2C+Hotel-restaurant+Ile+de+France%2C+Hotel-restaurant+Seine+et+Marne%2C+Hotel+restaurant+77%2C+Menu+de+la+semaine%2C+repas+d+affaires';
var metaContents  = 'Hotel-Restaurant+a+Moret+sur+Loing+pres+de+Fontainebleau+en+France.+Cuisine+du+terroir+2+salles+de+restaurant+avec+cheminee+ou+en+terrasse+sur+le+Loing.+Menu+de+la+semaine%2C+repas+d+affaires.';
					                                                                    
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 */					                                                            
