/* [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','4599',jdecode('HOME'),jdecode(''),'/4599.html','true',[],''],
	['PAGE','7103',jdecode('PRESENTATION+-+MATERIEL'),jdecode(''),'/7103.html','true',[],''],
	['PAGE','4903',jdecode('STAGES+-+TARIFS'),jdecode(''),'/4903/index.html','true',[ 
		['PAGE','49901',jdecode('Catamarans'),jdecode(''),'/4903/49901.html','true',[],''],
		['PAGE','49922',jdecode('D%C3%A9riveurs'),jdecode(''),'/4903/49922.html','true',[],''],
		['PAGE','49943',jdecode('Planches+%C3%A0+voile'),jdecode(''),'/4903/49943.html','true',[],''],
		['PAGE','49964',jdecode('Jeunes+enfants'),jdecode(''),'/4903/49964.html','true',[],'']
	],''],
	['PAGE','4930',jdecode('DATES+DES+STAGES'),jdecode(''),'/4930.html','true',[],''],
	['PAGE','76101',jdecode('FICHE+D%26%23x27%3BINSCRIPTION'),jdecode(''),'/76101.html','true',[],''],
	['PAGE','4984',jdecode('VOILIER+HABITABLE'),jdecode(''),'/4984.html','true',[],''],
	['PAGE','5011',jdecode('PERMIS+MER'),jdecode(''),'/5011.html','true',[],''],
	['PAGE','5038',jdecode('Dates+des+Formations.+Formulaires'),jdecode(''),'/5038.html','true',[],''],
	['PAGE','5065',jdecode('AIRE+de+PARKING'),jdecode(''),'/5065.html','true',[],''],
	['PAGE','5119',jdecode('GROUPES'),jdecode(''),'/5119.html','true',[],''],
	['PAGE','20303',jdecode('LOCATIONS+Point+Plage'),jdecode(''),'/20303/index.html','true',[ 
		['PAGE','24403',jdecode('Cano%C3%AB-Kayak'),jdecode(''),'/20303/24403.html','true',[],'']
	],''],
	['PAGE','42701',jdecode('CLUB+DE+VOILE'),jdecode(''),'/42701/index.html','true',[ 
		['PAGE','43443',jdecode('Voile+Loisir'),jdecode(''),'/42701/43443.html','true',[],''],
		['PAGE','43401',jdecode('Ecole+de+Sport'),jdecode(''),'/42701/43401.html','true',[],'']
	],''],
	['PAGE','56201',jdecode('PHOTOS'),jdecode(''),'/56201.html','true',[],''],
	['PAGE','18903',jdecode('HORAIRES+DE+MAREE+%2F+METEO'),jdecode(''),'/18903.html','true',[],''],
	['PAGE','33003',jdecode('VIDEOS'),jdecode(''),'/33003.html','true',[],''],
	['PAGE','84801',jdecode('PLAQUETTE+TARIFS+'),jdecode(''),'/84801.html','true',[],''],
	['PAGE','5173',jdecode('Nous+contacter'),jdecode(''),'/5173.html','true',[],''],
	['PAGE','25703',jdecode('Mat%C3%A9riel+%C3%A0+vendre+'),jdecode(''),'/25703.html','true',[],''],
	['PAGE','17302',jdecode('Livre+d%26%23x27%3Bor'),jdecode(''),'/17302/index.html','true',[ 
		['PAGE','17303',jdecode('Entr%C3%A9es'),jdecode(''),'/17302/17303.html','true',[],'']
	],''],
	['PAGE','24108',jdecode('Acc%C3%A8s'),jdecode(''),'/24108.html','true',[],'']];
var siteelementCount=28;
theSitetree.topTemplateName='Stylus';
theSitetree.paletteFamily='FFD375';
theSitetree.keyvisualId='2054';
theSitetree.keyvisualName='blanko.jpg';
theSitetree.fontsetId='330';
theSitetree.graphicsetId='385';
theSitetree.contentColor='000066';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Stylus',
				paletteFamily: 	'FFD375',
				keyvisualId: 	'2054',
				keyvisualName: 	'blanko.jpg',
				fontsetId: 		'330',
				graphicsetId: 	'385',
				contentColor: 	'000066',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'FFD375',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1006']={
webappId:    '1006',
documentId:  '4599',
internalId:  '1006',
customField: '1006'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '17302',
internalId:  '17302aam010inej5z',
customField: 'action=form&icq=false'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '17303',
internalId:  '17302aam010inej5z',
customField: 'action=list'
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '4599',
internalId:  '6701859',
customField: '1501'
};
webappMappings['2001']={
webappId:    '2001',
documentId:  '24108',
internalId:  'location',
customField: 'language:fr;country:FR;isIncluded:false;'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4599',
internalId:  '',
customField: '20111129-211756'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '7103',
internalId:  '',
customField: '20101120-155437'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4903',
internalId:  '',
customField: '20111118-103617'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4930',
internalId:  '',
customField: '20111118-101057'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4984',
internalId:  '',
customField: '20111121-111419'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5065',
internalId:  '',
customField: '20111020-122020'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5011',
internalId:  '',
customField: '20101116-111725'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5038',
internalId:  '',
customField: '20111118-101923'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5119',
internalId:  '',
customField: '20111021-120539'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '24403',
internalId:  '',
customField: '20111121-110933'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '20303',
internalId:  '',
customField: '20111121-110840'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '33003',
internalId:  '',
customField: '20070402-144929'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '18903',
internalId:  '',
customField: '20091010-112848'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '25703',
internalId:  '',
customField: '20111031-113754'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5173',
internalId:  '',
customField: '20111118-103935'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '17302',
internalId:  '',
customField: '20060310-161542'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '17303',
internalId:  '',
customField: '20060310-161542'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '24108',
internalId:  '',
customField: '20070504-101033'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '42701',
internalId:  '',
customField: '20111121-111946'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '43401',
internalId:  '',
customField: '20111118-103020'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '76101',
internalId:  '',
customField: '20111110-121008'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '43443',
internalId:  '',
customField: '20111118-103253'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '49901',
internalId:  '',
customField: '20100112-152551'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '49922',
internalId:  '',
customField: '20111004-112803'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '49943',
internalId:  '',
customField: '20111004-113005'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '56201',
internalId:  '',
customField: '20081128-122855'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '49964',
internalId:  '',
customField: '20111118-100955'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '84801',
internalId:  '',
customField: '20111129-211942'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010INEJ5Z';
var companyName   = 'YACHT+CLUB+DE+L%27OCEAN+';
var htmlTitle	  = 'YCO.fr';
var metaKeywords  = 'YACHT+CLUB+DE+LOCEAN+ecole+de+voile%2C+ile+d+oleron%2C+Oleron+activites+nautiques%2C+bateaux%2C+stages+catamarans%2C+deriveurs%2C+planches+e+voile%2C+permis+mer%2Chabitable%2Cvoilier%2Ccroisiere%2C+yco%2C+yacht+club+de+locean%2C+saint+denis%2C+17650%2C+permis+cotier%2C+location%2C+point+plage';
var metaContents  = 'Notre+ecole+de+voile+labellisee%2C+le+YACHT+CLUB+DE+L+OCEAN+vous+propose+des+stages+de+catamarans%2C+deriveurs%2C+planches+a+voile+ou+habitable+pendant+les+vacances+de+Paques%2C+en+ete+et+a+la+Toussaint.+Nous+sommes+situes+a+Saint-Denis+sur+l+Ile+d+Oleron+en+Charente+Maritime%2817%29.+';
					                                                                    
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 */					                                                            

