/* [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','3801',jdecode('+Page+d%26%23x27%3Baccueil'),jdecode(''),'/3801.html','true',[],''],
	['PAGE','701',jdecode('+Bungalow+Emeraude+'),jdecode(''),'/701.html','true',[],''],
	['PAGE','3873',jdecode('+Bungalow+Azur+'),jdecode(''),'/3873.html','true',[],''],
	['PAGE','61201',jdecode('+Bungalow+Corail+'),jdecode(''),'/61201.html','true',[],''],
	['PAGE','26501',jdecode('Qui+sommes-nous%3F'),jdecode(''),'/26501.html','true',[],''],
	['PAGE','5601',jdecode('Consulter+le+livre+d%26%23x27%3Bor'),jdecode(''),'/5601.html','true',[],''],
	['PAGE','5606',jdecode('Signer+le+Livre+d%26%23x27%3Bor'),jdecode(''),'/5606.html','true',[],''],
	['PAGE','3894',jdecode('Tarifs'),jdecode(''),'/3894.html','true',[],''],
	['PAGE','34901',jdecode('R%C3%A9servation+en+ligne'),jdecode(''),'/34901.html','true',[],''],
	['PAGE','3915',jdecode('Contact'),jdecode(''),'/3915.html','true',[],''],
	['PAGE','45701',jdecode('Ou+sommes+nous%3F'),jdecode(''),'/45701.html','true',[],''],
	['PAGE','45301',jdecode('Comment+s%26%23x27%3By+rendre'),jdecode(''),'/45301.html','true',[],''],
	['PAGE','3852',jdecode('Sainte+Luce'),jdecode(''),'/3852.html','true',[],''],
	['PAGE','32601',jdecode('Partenaires'),jdecode(''),'/32601.html','true',[],'']];
var siteelementCount=14;
theSitetree.topTemplateName='Celebration';
theSitetree.paletteFamily='51C862';
theSitetree.keyvisualId='3790';
theSitetree.keyvisualName='kv_3790.jpg';
theSitetree.fontsetId='10583';
theSitetree.graphicsetId='10981';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Celebration',
				paletteFamily: 	'51C862',
				keyvisualId: 	'3790',
				keyvisualName: 	'kv_3790.jpg',
				fontsetId: 		'10583',
				graphicsetId: 	'10981',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'47B757',
				e_color: 		'FB454D',
				f_color: 		'4545FB',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['5000']={
webappId:    '5000',
documentId:  '701',
internalId:  '',
customField: '20111212-003515'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '3801',
internalId:  '',
customField: '20111213-015040'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '3852',
internalId:  '',
customField: '20091020-021434'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '3873',
internalId:  '',
customField: '20111211-234053'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '3915',
internalId:  '',
customField: '20110522-012558'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '3894',
internalId:  '',
customField: '20120203-025836'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '5606',
internalId:  '5606aam010inzqo1',
customField: 'action=form&icq=false'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '5601',
internalId:  '5606aam010inzqo1',
customField: 'action=list'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5606',
internalId:  '',
customField: '20091016-221140'
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '3801',
internalId:  '6150683',
customField: '1501'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5601',
internalId:  '',
customField: '20091016-221141'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '3801',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '32601',
internalId:  '',
customField: '20111219-011235'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '26501',
internalId:  '',
customField: '20100803-234536'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '34901',
internalId:  '',
customField: '20100213-143958'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '34901',
internalId:  '6286356',
customField: 'fr:FR:'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '61201',
internalId:  '',
customField: '20120109-012033'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '45301',
internalId:  '',
customField: '20110522-062752'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '45701',
internalId:  '',
customField: '20110522-062700'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010INZQO1';
var companyName   = 'BUNGALOWS+RACHOU';
var htmlTitle	  = 'BUNGALOWS+RACHOU';
var metaKeywords  = 'bungalow+sainte+luce%2C+bungalows+sainte+luce%2C+location+bungalow+sainte+luce%2C+location+bungalows+sainte+luce';
var metaContents  = 'location+en+martinique+de+bungalows';
					                                                                    
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 */					                                                            

