/* [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','4901',jdecode('Pr%C3%A9sentation'),jdecode(''),'/4901.html','true',[],''],
	['PAGE','7701',jdecode('PROPRIETAIRES'),jdecode(''),'/7701/index.html','true',[ 
		['PAGE','7722',jdecode('Avantages+fiscaux'),jdecode(''),'/7701/7722.html','true',[],''],
		['PAGE','7743',jdecode('Garanties'),jdecode(''),'/7701/7743.html','true',[],''],
		['PAGE','7764',jdecode('Acc%C3%A8s+au+logement'),jdecode(''),'/7701/7764.html','true',[],''],
		['PAGE','7785',jdecode('R%C3%A8glement+des+conflits'),jdecode(''),'/7701/7785.html','true',[],'']
	],''],
	['PAGE','7806',jdecode('ETUDIANTS'),jdecode(''),'/7806/index.html','true',[ 
		['PAGE','7827',jdecode('La+Recherche'),jdecode(''),'/7806/7827.html','true',[],''],
		['PAGE','25401',jdecode('L%26%23x27%3BAide+logement'),jdecode(''),'/7806/25401.html','true',[],''],
		['PAGE','7848',jdecode('Le+Dossier'),jdecode(''),'/7806/7848.html','true',[],''],
		['PAGE','10701',jdecode('La+Caution'),jdecode(''),'/7806/10701.html','true',[],''],
		['PAGE','10101',jdecode('Le+Bail'),jdecode(''),'/7806/10101.html','true',[],''],
		['PAGE','7869',jdecode('Le+D%C3%A9r%C3%B4t+de+garantie'),jdecode(''),'/7806/7869.html','true',[],''],
		['PAGE','10122',jdecode('L%26%23x27%3BEtat+des+lieux'),jdecode(''),'/7806/10122.html','true',[],''],
		['PAGE','7890',jdecode('Le+pr%C3%A9avis'),jdecode(''),'/7806/7890.html','true',[],'']
	],''],
	['PAGE','7911',jdecode('ASSURANCES'),jdecode(''),'/7911/index.html','true',[ 
		['PAGE','7932',jdecode('Pourquoi+s%26%23x27%3Bassurer+%3F'),jdecode(''),'/7911/7932.html','true',[],''],
		['PAGE','7953',jdecode('5+formules'),jdecode(''),'/7911/7953.html','true',[],''],
		['PAGE','7995',jdecode('Demande+de+contrat'),jdecode(''),'/7911/7995.html','true',[],'']
	],''],
	['PAGE','8016',jdecode('OFFRES+PARIS'),jdecode(''),'/8016/index.html','true',[ 
		['PAGE','8037',jdecode('Paris+I+%C3%A0+VI'),jdecode(''),'/8016/8037.html','true',[],''],
		['PAGE','8079',jdecode('Paris+VII+et+VIII'),jdecode(''),'/8016/8079.html','true',[],''],
		['PAGE','14722',jdecode('Paris+IX+%C3%A0+XII'),jdecode(''),'/8016/14722.html','true',[],''],
		['PAGE','14785',jdecode('Paris+XIII+%C3%A0+XV'),jdecode(''),'/8016/14785.html','true',[],''],
		['PAGE','14848',jdecode('Paris+XVI'),jdecode(''),'/8016/14848.html','true',[],''],
		['PAGE','14869',jdecode('Paris+XVII'),jdecode(''),'/8016/14869.html','true',[],''],
		['PAGE','8100',jdecode('Paris+XVIII+%C3%A0+XX'),jdecode(''),'/8016/8100.html','true',[],'']
	],''],
	['PAGE','17922',jdecode('OFFRES+BANLIEUE'),jdecode(''),'/17922/index.html','true',[ 
		['PAGE','27801',jdecode('78+Yvelines'),jdecode(''),'/17922/27801.html','true',[],''],
		['PAGE','17943',jdecode('91+Essonne'),jdecode(''),'/17922/17943.html','true',[],''],
		['PAGE','17964',jdecode('92+Hts+de+Seine'),jdecode(''),'/17922/17964.html','true',[],''],
		['PAGE','17985',jdecode('93+S.+St+Denis'),jdecode(''),'/17922/17985.html','true',[],''],
		['PAGE','18006',jdecode('94+Val+de+marne'),jdecode(''),'/17922/18006.html','true',[],''],
		['PAGE','18027',jdecode('95+Val+d%26%23x27%3BOise'),jdecode(''),'/17922/18027.html','true',[],'']
	],'']];
var siteelementCount=34;
theSitetree.topTemplateName='Bigcity_Space';
theSitetree.paletteFamily='3E648B';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='21077';
theSitetree.graphicsetId='13166';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='3E648B';
var theTemplate={
				name: 			'Bigcity_Space',
				paletteFamily: 	'3E648B',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'21077',
				graphicsetId: 	'13166',
				contentColor: 	'FFFFFF',
				contentBGColor: '3E648B',
				hasFlashNavigation: 'true',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'true',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4901',
internalId:  '',
customField: '20080730-184653'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '7701',
internalId:  '',
customField: '20080209-205640'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '7806',
internalId:  '',
customField: '20080730-184758'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '7722',
internalId:  '',
customField: '20080209-152956'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '7743',
internalId:  '',
customField: '20080305-102414'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '7764',
internalId:  '',
customField: '20080209-153149'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '7785',
internalId:  '',
customField: '20080305-102531'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '7827',
internalId:  '',
customField: '20080229-183641'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '7848',
internalId:  '',
customField: '20080229-183718'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '7869',
internalId:  '',
customField: '20080305-102812'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '7890',
internalId:  '',
customField: '20080305-102910'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '7911',
internalId:  '',
customField: '20080712-232251'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '7932',
internalId:  '',
customField: '20080229-002842'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '7953',
internalId:  '',
customField: '20080229-182240'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '7995',
internalId:  '',
customField: '20080804-001915'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '8016',
internalId:  '',
customField: '20080804-001330'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '8037',
internalId:  '',
customField: '20080807-005409'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '8079',
internalId:  '',
customField: '20080229-004150'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '8100',
internalId:  '',
customField: '20080821-005500'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '10701',
internalId:  '',
customField: '20080202-153352'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '10101',
internalId:  '',
customField: '20080305-102702'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '10122',
internalId:  '',
customField: '20080202-154156'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '4901',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14722',
internalId:  '',
customField: '20080730-131906'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '27801',
internalId:  '',
customField: '20080229-184712'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '8016',
internalId:  '12199569',
customField: 'fr:FR:'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14785',
internalId:  '',
customField: '20080730-132203'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '25401',
internalId:  '',
customField: '20080229-183657'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14848',
internalId:  '',
customField: '20080830-011149'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14869',
internalId:  '',
customField: '20080803-210050'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '17922',
internalId:  '12199569',
customField: 'fr:FR:'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '17922',
internalId:  '',
customField: '20080803-234813'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '17943',
internalId:  '',
customField: '20080711-120800'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '17964',
internalId:  '',
customField: '20080821-005710'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '17985',
internalId:  '',
customField: '20080730-133331'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '18006',
internalId:  '',
customField: '20080830-011436'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '18027',
internalId:  '',
customField: '20080428-133657'
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '4901',
internalId:  '11804108',
customField: '1501'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010INELMJ';
var companyName   = 'POINT+LOGEMENT+ETUDIANT++++UPEL';
var htmlTitle	  = '';
var metaKeywords  = 'logement+etudiant+';
var metaContents  = 'aide+au+logement+des+%C3%A9tudiants+%C3%A0+paris%2C+bail%2C+caution';
					                                                                    
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 */					                                                            
