/* [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('Home'),jdecode(''),'/4598.html','true',[],''],
	['PAGE','479235',jdecode('SKI+MARS+2010'),jdecode(''),'/479235.html','true',[],''],
	['PAGE','323283',jdecode('MAI+2010+'),jdecode(''),'/323283.html','true',[],''],
	['PAGE','455524',jdecode('SUMMER+2010+'),jdecode(''),'/455524/index.html','true',[ 
		['PAGE','491235',jdecode('Nouvelle+page'),jdecode(''),'/455524/491235.html','true',[],''],
		['PAGE','491256',jdecode('Nouvelle+page'),jdecode(''),'/455524/491256.html','true',[],''],
		['PAGE','491277',jdecode('Nouvelle+page'),jdecode(''),'/455524/491277.html','true',[],''],
		['PAGE','491298',jdecode('Nouvelle+page'),jdecode(''),'/455524/491298.html','true',[],''],
		['PAGE','491319',jdecode('Nouvelle+page'),jdecode(''),'/455524/491319.html','true',[],''],
		['PAGE','491340',jdecode('Nouvelle+page'),jdecode(''),'/455524/491340.html','true',[],''],
		['PAGE','491361',jdecode('Nouvelle+page'),jdecode(''),'/455524/491361.html','true',[],''],
		['PAGE','491382',jdecode('Nouvelle+page'),jdecode(''),'/455524/491382.html','true',[],'']
	],''],
	['PAGE','484635',jdecode('SOIREE+'),jdecode(''),'/484635.html','true',[],''],
	['PAGE','367902',jdecode('INSCRIPTION'),jdecode(''),'/367902/index.html','true',[ 
		['PAGE','479535',jdecode('BULLETIN+SKI+2010'),jdecode(''),'/367902/479535.html','true',[],''],
		['PAGE','4898',jdecode('Demander+le+Programme'),jdecode(''),'/367902/4898.html','true',[],''],
		['PAGE','16303',jdecode('Conditions+contractuelles+g%C3%A9n%C3%A9rales'),jdecode(''),'/367902/16303.html','true',[],''],
		['PAGE','16600',jdecode('Contact'),jdecode(''),'/367902/16600.html','true',[],''],
		['PAGE','16627',jdecode('Adresse%2C+T%C3%A9l%C3%A9phone'),jdecode(''),'/367902/16627.html','true',[],''],
		['PAGE','289202',jdecode('Comment+nous+trouver'),jdecode(''),'/367902/289202.html','true',[],''],
		['PAGE','43602',jdecode('Acc%C3%A8s'),jdecode(''),'/367902/43602.html','true',[],'']
	],'']];
var siteelementCount=21;
theSitetree.topTemplateName='Time';
theSitetree.paletteFamily='330066';
theSitetree.keyvisualId='2310';
theSitetree.keyvisualName='urlaub.jpg';
theSitetree.fontsetId='271';
theSitetree.graphicsetId='337';
theSitetree.contentColor='000066';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Time',
				paletteFamily: 	'330066',
				keyvisualId: 	'2310',
				keyvisualName: 	'urlaub.jpg',
				fontsetId: 		'271',
				graphicsetId: 	'337',
				contentColor: 	'000066',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'330066',
				b_color: 		'07EC28',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1008']={
webappId:    '1008',
documentId:  '4898',
internalId:  '11507535',
customField: 'fr:FR:'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '367902',
internalId:  '',
customField: '20090903-171213'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '4598',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '4598',
internalId:  '1511873',
customField: '1501'
};
webappMappings['2001']={
webappId:    '2001',
documentId:  '43602',
internalId:  'location',
customField: 'language:fr;country:FR;isIncluded:false;'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '16600',
internalId:  '11507535',
customField: 'fr:FR:'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '479235',
internalId:  '',
customField: '20100103-140649'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4598',
internalId:  '',
customField: '20100107-185538'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '323283',
internalId:  '',
customField: '20100103-131445'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '491277',
internalId:  '',
customField: '20100103-131010'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '491298',
internalId:  '',
customField: '20100103-131010'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '491319',
internalId:  '',
customField: '20100103-131010'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '491235',
internalId:  '',
customField: '20100103-131010'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '491256',
internalId:  '',
customField: '20100103-131010'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4898',
internalId:  '',
customField: '20050605-002032'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '455524',
internalId:  '',
customField: '20100103-131621'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '479535',
internalId:  '',
customField: '20100103-195355'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '16303',
internalId:  '',
customField: '20040624-210120'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '16600',
internalId:  '',
customField: '20071113-234148'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '484635',
internalId:  '',
customField: '20100107-185522'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '16627',
internalId:  '',
customField: '20040620-182302'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '289202',
internalId:  '',
customField: '20060926-160934'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '43602',
internalId:  '',
customField: '20040613-201912'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '491340',
internalId:  '',
customField: '20100103-131010'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '491361',
internalId:  '',
customField: '20100103-131010'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '491382',
internalId:  '',
customField: '20100103-131010'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010IN2EFI';
var companyName   = '23+35+ans';
var htmlTitle	  = 'www.les12tribus.com';
var metaKeywords  = 'voyages+soiree+juive';
var metaContents  = 'Organisation+de+voyages+et+de+soirees+reserves+aux+jeunes+juifs+de+20+a+35+ans+';
					                                                                    
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 */					                                                            
