/* [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','401',jdecode('WELCOME'),jdecode(''),'/401.html','true',[],''],
	['PAGE','73078',jdecode('JAPANESE'),jdecode(''),'/73078.html','true',[],''],
	['PAGE','67678',jdecode('BENVENGUTS'),jdecode(''),'/67678.html','true',[],''],
	['PAGE','5001',jdecode('BIENVENUE'),jdecode(''),'/5001/index.html','true',[ 
		['PAGE','51656',jdecode('Actus+%3A+D%C3%A9gustations+%26+Ventes'),jdecode(''),'/5001/51656.html','true',[],''],
		['PAGE','83678',jdecode('Actus+%3A+Vigne+%26+Cave'),jdecode(''),'/5001/83678.html','true',[],'']
	],''],
	['PAGE','5052',jdecode('Notre+DOMAINE'),jdecode(''),'/5052/index.html','true',[ 
		['PAGE','5073',jdecode('Estelle+et+Fr%C3%A9d%C3%A9ric+Salles'),jdecode(''),'/5052/5073.html','true',[],''],
		['PAGE','36912',jdecode('Historique'),jdecode(''),'/5052/36912.html','true',[],''],
		['PAGE','5094',jdecode('Architecture'),jdecode(''),'/5052/5094.html','true',[],''],
		['PAGE','41723',jdecode('Quelques+chiffres'),jdecode(''),'/5052/41723.html','true',[],'']
	],''],
	['PAGE','5136',jdecode('Nos+VIGNES'),jdecode(''),'/5136/index.html','true',[ 
		['PAGE','26901',jdecode('Nos+terroirs'),jdecode(''),'/5136/26901.html','true',[],''],
		['PAGE','41744',jdecode('Nos+c%C3%A9pages'),jdecode(''),'/5136/41744.html','true',[],''],
		['PAGE','17901',jdecode('Mode+de+culture'),jdecode(''),'/5136/17901.html','true',[],'']
	],''],
	['PAGE','5157',jdecode('Nos+VINS'),jdecode(''),'/5157/index.html','true',[ 
		['PAGE','17943',jdecode('Vinification'),jdecode(''),'/5157/17943.html','true',[],''],
		['PAGE','83699',jdecode('Cuv%C3%A9e+Caminaire'),jdecode(''),'/5157/83699.html','true',[],''],
		['PAGE','17985',jdecode('Cuv%C3%A9e+Caract%C3%A8re'),jdecode(''),'/5157/17985.html','true',[],''],
		['PAGE','17964',jdecode('Cuv%C3%A9e+Hommage'),jdecode(''),'/5157/17964.html','true',[],''],
		['PAGE','83720',jdecode('Cuv%C3%A9e+Joi'),jdecode(''),'/5157/83720.html','true',[],'']
	],''],
	['PAGE','26001',jdecode('Nos+OLIVIERS'),jdecode(''),'/26001/index.html','true',[ 
		['PAGE','26922',jdecode('Ancienne+oliveraie'),jdecode(''),'/26001/26922.html','true',[],''],
		['PAGE','26501',jdecode('Jeune+oliveraie'),jdecode(''),'/26001/26501.html','true',[],''],
		['PAGE','44923',jdecode('Nos+vari%C3%A9t%C3%A9s+d%26%23x27%3Boliviers'),jdecode(''),'/26001/44923.html','true',[],'']
	],''],
	['PAGE','5178',jdecode('CONTACTS'),jdecode(''),'/5178/index.html','true',[ 
		['PAGE','18006',jdecode('Plan'),jdecode(''),'/5178/18006.html','true',[],''],
		['PAGE','51761',jdecode('Signer+le+Livre+d%26%23x27%3Bor'),jdecode(''),'/5178/51761.html','true',[],''],
		['PAGE','51756',jdecode('Consulter+le+Livre+d%26%23x27%3Bor'),jdecode(''),'/5178/51756.html','true',[],'']
	],''],
	['PAGE','52356',jdecode('TARIFS+ET+LIEUX+DE+VENTE'),jdecode(''),'/52356/index.html','true',[ 
		['PAGE','75578',jdecode('O%C3%B9+acheter+nos+vins+%3F'),jdecode(''),'/52356/75578.html','true',[],'']
	],''],
	['PAGE','62278',jdecode('GALERIE'),jdecode(''),'/62278/index.html','true',[ 
		['PAGE','61378',jdecode('Photos'),jdecode(''),'/62278/61378.html','true',[],''],
		['PAGE','61778',jdecode('Peintures'),jdecode(''),'/62278/61778.html','true',[],'']
	],''],
	['PAGE','31882',jdecode('COULEUR+NATURE'),jdecode(''),'/31882/index.html','true',[ 
		['PAGE','45837',jdecode('Flore'),jdecode(''),'/31882/45837.html','true',[],''],
		['PAGE','45858',jdecode('Faune'),jdecode(''),'/31882/45858.html','true',[],''],
		['PAGE','5115',jdecode('Paysages'),jdecode(''),'/31882/5115.html','true',[],''],
		['PAGE','26943',jdecode('Canyon+des+Ruffes'),jdecode(''),'/31882/26943.html','true',[],''],
		['PAGE','26964',jdecode('Gebre'),jdecode(''),'/31882/26964.html','true',[],''],
		['PAGE','26985',jdecode('Rocher+des+Vierges'),jdecode(''),'/31882/26985.html','true',[],''],
		['PAGE','27006',jdecode('Mont+Baudile'),jdecode(''),'/31882/27006.html','true',[],''],
		['PAGE','27090',jdecode('Itin%C3%A9raires+de+Randonn%C3%A9es'),jdecode(''),'/31882/27090.html','true',[],''],
		['PAGE','27048',jdecode('Environs+'),jdecode(''),'/31882/27048.html','true',[],'']
	],''],
	['PAGE','45879',jdecode('Liens+et+Bonnes+adresses'),jdecode(''),'/45879.html','true',[],'']];
var siteelementCount=45;
theSitetree.topTemplateName='Inspiration';
theSitetree.paletteFamily='000000';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='104';
theSitetree.graphicsetId='123';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='000000';
var theTemplate={
				name: 			'Inspiration',
				paletteFamily: 	'000000',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'104',
				graphicsetId: 	'123',
				contentColor: 	'FFFFFF',
				contentBGColor: '000000',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'669999',
				c_color: 		'000000',
				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:  '401',
internalId:  '',
customField: '20090102-143411'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5001',
internalId:  '',
customField: '20091216-162642'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5052',
internalId:  '',
customField: '20081129-173319'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5157',
internalId:  '',
customField: '20110617-130201'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5178',
internalId:  '',
customField: '20091216-153450'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '61778',
internalId:  '',
customField: '20081209-175921'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5073',
internalId:  '',
customField: '20081210-194937'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5094',
internalId:  '',
customField: '20081210-102412'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5115',
internalId:  '',
customField: '20081030-190824'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5136',
internalId:  '',
customField: '20090812-163819'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '17901',
internalId:  '',
customField: '20110727-144812'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '62278',
internalId:  '',
customField: '20081209-175550'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '61378',
internalId:  '',
customField: '20081209-175641'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '17943',
internalId:  '',
customField: '20120106-093604'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '17964',
internalId:  '',
customField: '20120106-103821'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '17985',
internalId:  '',
customField: '20120106-112721'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '18006',
internalId:  '',
customField: '20110625-105356'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '52356',
internalId:  '4055289',
customField: 'fr:FR:'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '75578',
internalId:  '',
customField: '20120105-192035'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '5001',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '26001',
internalId:  '',
customField: '20081210-184104'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '26501',
internalId:  '',
customField: '20081129-182547'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '26901',
internalId:  '',
customField: '20090812-180333'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '26922',
internalId:  '',
customField: '20081129-184059'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '26943',
internalId:  '',
customField: '20081006-150940'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '26964',
internalId:  '',
customField: '20081006-151235'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '26985',
internalId:  '',
customField: '20081006-145441'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '27006',
internalId:  '',
customField: '20090516-183046'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '61378',
internalId:  '11e1c7747a4',
customField: 'g.13oe70vp8.hf90udhn69.1s'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '27048',
internalId:  '',
customField: '20090812-162632'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '73078',
internalId:  '',
customField: '20090929-190223'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '27090',
internalId:  '',
customField: '20081006-160825'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '31882',
internalId:  '',
customField: '20081129-181154'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '61778',
internalId:  '11e1c7fc67a',
customField: 'g.13oe7q7as.3h63e9a8h4e.1s'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '67678',
internalId:  '',
customField: '20090223-171756'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '36912',
internalId:  '',
customField: '20081211-182240'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41723',
internalId:  '',
customField: '20081129-174050'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41744',
internalId:  '',
customField: '20081210-182503'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '44923',
internalId:  '',
customField: '20081030-162306'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '45837',
internalId:  '',
customField: '20090516-195546'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '45858',
internalId:  '',
customField: '20081030-184057'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '45879',
internalId:  '',
customField: '20110729-102955'
};
webappMappings['3030']={
webappId:    '3030',
documentId:  '51656',
internalId:  '51656',
customField: 'language:fr;country:FR;'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '51761',
internalId:  '51761aam010inlvdy',
customField: 'action=form&icq=false'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '51756',
internalId:  '51761aam010inlvdy',
customField: 'action=list'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '51656',
internalId:  '',
customField: '20120106-093338'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '51761',
internalId:  '',
customField: '20081115-154631'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '51756',
internalId:  '',
customField: '20081115-154631'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '52356',
internalId:  '',
customField: '20090811-163524'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '83678',
internalId:  '',
customField: '20111014-160830'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '83699',
internalId:  '',
customField: '20120106-100045'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '83720',
internalId:  '',
customField: '20110625-103545'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010INLVDY';
var companyName   = '+++++++++++++++++++++++++Ch%C3%A2teau+Capitelle+des+Salles';
var htmlTitle	  = 'Site+du+Ch%C3%A2teau+Capitelle+des+Salles';
var metaKeywords  = 'capitelle+vin+vigne+oliviers+huile+dolive+olives+estelle+fr%C3%A9d%C3%A9ric+Salles+Saint-Jean-de-la-Blaqui%C3%A8re+H%C3%A9rault+Languedoc+Terrasses+du+Larzac+grenache+syrah+pierre+s%C3%A8che+schiste+ruffes+salagou+st+guilhem+le+d%C3%A9sert+lod%C3%A8ve+tourisme+d%C3%A9gustation+vin+haut+de+gamme+esth%C3%A9tique+oenologue+oenologie+viticulture+france';
var metaContents  = 'www.capitelle-des-salles.com+est+le+site+officiel+du+Ch%C3%A2teau+Capitelle+des+Salles.+Il+pr%C3%A9sente+toute+la+richesse+dun+patrimoine+vigneron+languedocien+pr%C3%A9serv%C3%A9+%3A+de+la+nature+jusqu%C3%A0+larchitecture%2C+chaque+acte+est+m%C3%BBrement+r%C3%A9fl%C3%A9chi+dans+un+objectif+de+pr%C3%A9servation+du+patrimoine%2C+de+la+culture+du+vin+et+de+la+nature%2C+particuli%C3%A8rement+belle+et+%C3%A0+d%C3%A9couvrir.';
					                                                                    
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 */					                                                            

