/* [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/index.html','true',[ 
		['PAGE','15688',jdecode('Solidarity+with+Africa+%28Form+followup+page%29'),jdecode(''),'/4599/15688.html','false',[],'']
	],''],
	['PAGE','5101',jdecode('Le+Royals'),jdecode(''),'/5101.html','true',[],''],
	['PAGE','5128',jdecode('Agenda'),jdecode(''),'/5128.html','true',[],''],
	['PAGE','5182',jdecode('Pics'),jdecode(''),'/5182.html','true',[],''],
	['PAGE','47401',jdecode('Music'),jdecode(''),'/47401.html','true',[],''],
	['PAGE','7763',jdecode('Forum'),jdecode(''),'/7763.html','true',[],''],
	['PAGE','5209',jdecode('Zion+Power+'),jdecode(''),'/5209/index.html','true',[ 
		['PAGE','16145',jdecode('Zion+Power++%28Form+followup+page%29'),jdecode(''),'/5209/16145.html','false',[],'']
	],''],
	['PAGE','29738',jdecode('Jura+Reggae+Collectif'),jdecode(''),'/29738/index.html','true',[ 
		['PAGE','29834',jdecode('Jura+Reggae+Collectif+%28Form+followup+page%29'),jdecode(''),'/29738/29834.html','false',[],''],
		['PAGE','51801',jdecode('Comit%C3%A9'),jdecode(''),'/29738/51801.html','true',[],''],
		['PAGE','54001',jdecode('Statuts'),jdecode(''),'/29738/54001.html','true',[],''],
		['PAGE','52522',jdecode('Projets'),jdecode(''),'/29738/52522.html','true',[],''],
		['PAGE','55301',jdecode('Photos'),jdecode(''),'/29738/55301.html','true',[],''],
		['PAGE','65701',jdecode('Forum+du+Collectif'),jdecode(''),'/29738/65701.html','true',[],''],
		['PAGE','52801',jdecode('A+ne+pas+manquer'),jdecode(''),'/29738/52801.html','true',[],''],
		['PAGE','52822',jdecode('Contact'),jdecode(''),'/29738/52822.html','true',[],'']
	],''],
	['PAGE','5236',jdecode('Liens'),jdecode(''),'/5236.html','true',[],''],
	['PAGE','8216',jdecode('Contact'),jdecode(''),'/8216/index.html','true',[ 
		['PAGE','8247',jdecode('Contact+%28Form+followup+page%29'),jdecode(''),'/8216/8247.html','false',[],'']
	],''],
	['PAGE','9718',jdecode('Livre+d%26%23x27%3Bor'),jdecode(''),'/9718/index.html','true',[ 
		['PAGE','9719',jdecode('Entr%C3%A9es'),jdecode(''),'/9718/9719.html','true',[],'']
	],'']];
var siteelementCount=23;
theSitetree.topTemplateName='Caribic';
theSitetree.paletteFamily='317624';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10579';
theSitetree.graphicsetId='10708';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='B63636';
var theTemplate={
				name: 			'Caribic',
				paletteFamily: 	'317624',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10579',
				graphicsetId: 	'10708',
				contentColor: 	'FFFFFF',
				contentBGColor: 'B63636',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1003']={
webappId:    '1003',
documentId:  '7763',
internalId:  'abw0x0inxsep10c1f2fb80e',
customField: 'fr:FR:'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '4599',
internalId:  '1006',
customField: '1006'
};
webappMappings['1009']={
webappId:    '1009',
documentId:  '8247',
internalId:  '6375041',
customField: 'isFollowupPage:true;documentId:8216;'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '8216',
internalId:  '303853',
customField: 'isFollowupPage:false;followupId:8247;'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '9718',
internalId:  '9718ABW0X0INXSEP',
customField: 'action=form&icq=false'
};
webappMappings['1009']={
webappId:    '1009',
documentId:  '15688',
internalId:  '6488442',
customField: 'isFollowupPage:true;documentId:15634;'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '52822',
internalId:  '303962',
customField: 'fr:FR:'
};
webappMappings['1009']={
webappId:    '1009',
documentId:  '16145',
internalId:  '6505981',
customField: 'isFollowupPage:true;documentId:5209;'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '5209',
internalId:  '303929',
customField: 'isFollowupPage:false;followupId:16145;'
};
webappMappings['1009']={
webappId:    '1009',
documentId:  '29834',
internalId:  '6697571',
customField: 'isFollowupPage:true;documentId:29738;'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '9719',
internalId:  '9718ABW0X0INXSEP',
customField: 'action=list'
};
webappMappings['1003']={
webappId:    '1003',
documentId:  '65701',
internalId:  'abw0x0inxsep113d0bb04ee',
customField: 'fr:FR:'
};
var canonHostname = 'support.hptworkerdb01b.bluewin.ch';
var accountId     = 'ABW0X0INXSEP';
var companyName   = '';
var htmlTitle	  = 'The+Royals+Roaring';
var metaKeywords  = 'The+Royals+Roaring';
var metaContents  = 'Le+site+du+royals';
					                                                                    
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 */					                                                            
