/* [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','4559',jdecode('Home'),jdecode(''),'/4559.html','true',[],''],
	['PAGE','41903',jdecode('Le+New+Cancan'),jdecode(''),'/41903/index.html','true',[ 
		['PAGE','41957',jdecode('Le+Boss'),jdecode(''),'/41903/41957/index.html','true',[ 
			['PAGE','47902',jdecode('Le+Boss+%28volgende+pagina%29'),jdecode(''),'/41903/41957/47902.html','false',[],'']
		],''],
		['PAGE','41984',jdecode('Notre+%C3%A9quipe'),jdecode(''),'/41903/41984.html','true',[],''],
		['PAGE','42011',jdecode('Horaires+d%26%23x27%3Bouverture'),jdecode(''),'/41903/42011.html','true',[],'']
	],''],
	['PAGE','42092',jdecode('Agenda'),jdecode(''),'/42092.html','true',[],''],
	['PAGE','73101',jdecode('M%C3%A9dias'),jdecode(''),'/73101/index.html','true',[ 
		['PAGE','42227',jdecode('Les+Photos'),jdecode(''),'/73101/42227.html','true',[],''],
		['PAGE','49603',jdecode('Les+Vid%C3%A9os'),jdecode(''),'/73101/49603.html','true',[],'']
	],''],
	['PAGE','42254',jdecode('Livre+d%26%23x27%3BOr'),jdecode(''),'/42254/index.html','true',[ 
		['PAGE','70502',jdecode('Livre+d%26%23x27%3BOr+%28volgende+pagina%29'),jdecode(''),'/42254/70502.html','false',[],''],
		['PAGE','46035',jdecode('Consulter+le+livre'),jdecode(''),'/42254/46035.html','true',[],'']
	],''],
	['PAGE','42146',jdecode('Contact'),jdecode(''),'/42146/index.html','true',[ 
		['PAGE','45202',jdecode('Contact+%28volgende+pagina%29'),jdecode(''),'/42146/45202.html','false',[],'']
	],''],
	['PAGE','61801',jdecode('%22AIDES%22+pr%C3%A9vention'),jdecode(''),'/61801/index.html','true',[ 
		['PAGE','81702',jdecode('%22AIDES%22+pr%C3%A9vention+%28volgende+pagina%29'),jdecode(''),'/61801/81702.html','false',[],''],
		['PAGE','82201',jdecode('Qui+sommes-nous'),jdecode(''),'/61801/82201.html','true',[],''],
		['PAGE','82228',jdecode('Ce+que+l%26%23x27%3Bon+fait'),jdecode(''),'/61801/82228.html','true',[],''],
		['PAGE','82255',jdecode('Contactez-nous'),jdecode(''),'/61801/82255.html','true',[],'']
	],''],
	['PAGE','61828',jdecode('Le+Th%C3%A9%C3%A2tre'),jdecode(''),'/61828.html','true',[],''],
	['PAGE','85301',jdecode('MP+Sauna'),jdecode(''),'/85301.html','true',[],''],
	['PAGE','165237',jdecode('Quai+23'),jdecode(''),'/165237.html','true',[],'']];
var siteelementCount=23;
theSitetree.topTemplateName='Stars';
theSitetree.paletteFamily='6A0D0D';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10466';
theSitetree.graphicsetId='10915';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='6A0D0D';
var theTemplate={
				name: 			'Stars',
				paletteFamily: 	'6A0D0D',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10466',
				graphicsetId: 	'10915',
				contentColor: 	'FFFFFF',
				contentBGColor: '6A0D0D',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'6A0D0D',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1501']={
webappId:    '1501',
documentId:  '4559',
internalId:  '2775840',
customField: '1501'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '42254',
internalId:  'aam010ineqkr101b5a1debf',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '42146',
internalId:  'aam010ineqkr10094c3be3e',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '45202',
internalId:  'aam010ineqkr10094c3be3e',
customField: 'followUp'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '70502',
internalId:  'aam010ineqkr101b5a1debf',
customField: 'followUp'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '4559',
internalId:  '1006',
customField: '1006'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '41957',
internalId:  'aam010ineqkr1009f6ae308',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '47902',
internalId:  'aam010ineqkr1009f6ae308',
customField: 'followUp'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '4559',
internalId:  '12729623',
customField: 'fr:FR:'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '61801',
internalId:  'aam010ineqkr103c1124be2',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '81702',
internalId:  'aam010ineqkr103c1124be2',
customField: 'followUp'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4559',
internalId:  '',
customField: '20100718-044553'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41903',
internalId:  '',
customField: '20070102-115810'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41957',
internalId:  '',
customField: '20060224-181215'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '47902',
internalId:  '',
customField: '20041204-195010'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41984',
internalId:  '',
customField: '20090901-181004'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '42011',
internalId:  '',
customField: '20090608-165351'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '42092',
internalId:  '',
customField: '20100716-160340'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '73101',
internalId:  '',
customField: '20050130-112117'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '42227',
internalId:  '',
customField: '20100718-044653'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '49603',
internalId:  '',
customField: '20100404-155622'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '42254',
internalId:  '',
customField: '20050127-202519'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '70502',
internalId:  '',
customField: '20050127-202439'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '46035',
internalId:  '',
customField: '20100705-163801'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '42146',
internalId:  '',
customField: '20050127-203952'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '45202',
internalId:  '',
customField: '20041202-181124'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '61801',
internalId:  '',
customField: '20080907-153902'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '81702',
internalId:  '',
customField: '20050509-124851'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '82201',
internalId:  '',
customField: '20100325-132214'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '82228',
internalId:  '',
customField: '20080115-173921'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '82255',
internalId:  '',
customField: '20100325-132348'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '61828',
internalId:  '',
customField: '20091123-181140'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '85301',
internalId:  '',
customField: '20100223-183619'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '165237',
internalId:  '',
customField: '20090817-144112'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010INEQKR';
var companyName   = 'THE+NEW+CANCAN';
var htmlTitle	  = 'new+cancan';
var metaKeywords  = 'New+Cancan+newcancan+gay+club+marseille+discoth%EF%BF%BDque+discotheque+homo+homosexuel+lesbien+disco+boite+bo%EF%BF%BDte+de+nuit';
var metaContents  = 'Bienvenue+au+New+Cancan+the+best+gay+club+of+marseille+en+plein+coeur+du+centre+ville+phoc%EF%BF%BDen+venez+vous+%EF%BF%BDclatez+au+son+des+musiques+anciennes+et+modernes+dans+le+d%EF%BF%BDlire+absolu+le+plus+total';
					                                                                    
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 */					                                                            
