/* [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','501',jdecode('BIENVENUE'),jdecode(''),'/501.html','true',[],''],
	['PAGE','41601',jdecode('Les+Pass%26%23x27%3BPartout'),jdecode(''),'/41601.html','true',[],''],
	['PAGE','594',jdecode('Lady+Rose'),jdecode(''),'/594.html','true',[],''],
	['PAGE','741',jdecode('Un+Ticket+pour+l%26%23x27%3BAventure'),jdecode(''),'/741.html','true',[],''],
	['PAGE','846',jdecode('Cavali%C3%A8re+du+Temps+Caramel'),jdecode(''),'/846.html','true',[],''],
	['PAGE','41622',jdecode('Cavali%C3%A8re+du+Temps+Amande'),jdecode(''),'/41622.html','true',[],''],
	['PAGE','41643',jdecode('Eglantine'),jdecode(''),'/41643.html','true',[],''],
	['PAGE','41664',jdecode('Madras+Brun'),jdecode(''),'/41664.html','true',[],''],
	['PAGE','41685',jdecode('Madras+Ambre'),jdecode(''),'/41685.html','true',[],''],
	['PAGE','41706',jdecode('Joyau+des+Indes'),jdecode(''),'/41706.html','true',[],''],
	['PAGE','41727',jdecode('%C3%94+Coeur+de+l%26%23x27%3BOlympe'),jdecode(''),'/41727.html','true',[],''],
	['PAGE','41748',jdecode('Candy'),jdecode(''),'/41748.html','true',[],''],
	['PAGE','41769',jdecode('For%C3%AAt+de+Cannelle'),jdecode(''),'/41769.html','true',[],''],
	['PAGE','41790',jdecode('P%C3%A9ch%C3%A9+Mignon'),jdecode(''),'/41790.html','true',[],''],
	['PAGE','41811',jdecode('Zest+d%26%23x27%3B%C3%A9t%C3%A9'),jdecode(''),'/41811.html','true',[],''],
	['PAGE','720',jdecode('Caprices+du+Ciel'),jdecode(''),'/720.html','true',[],''],
	['PAGE','41832',jdecode('La+cl%C3%A9+des+Myst%C3%A8res'),jdecode(''),'/41832.html','true',[],''],
	['PAGE','41874',jdecode('D%C3%A9lices+des+Anges'),jdecode(''),'/41874.html','true',[],''],
	['PAGE','41895',jdecode('Matisse'),jdecode(''),'/41895.html','true',[],''],
	['PAGE','41937',jdecode('Psych%C3%A9+D%C3%A9lice'),jdecode(''),'/41937.html','true',[],''],
	['PAGE','42701',jdecode('Miracle+de+l%26%23x27%3BAmour'),jdecode(''),'/42701.html','true',[],''],
	['PAGE','43101',jdecode('COLLECTION+HIVER+2009.10'),jdecode(''),'/43101.html','true',[],''],
	['PAGE','43801',jdecode('%3D%3E+COMMANDE'),jdecode(''),'/43801.html','true',[],''],
	['PAGE','70001',jdecode('%E2%99%A5QUELLE+TAILLE+CHOISIR+%3F'),jdecode(''),'/70001.html','true',[],''],
	['PAGE','1077',jdecode('%E2%99%A5+CONDITIONS'),jdecode(''),'/1077.html','true',[],''],
	['PAGE','11001',jdecode('%E2%99%A5+LIVRAISON'),jdecode(''),'/11001.html','true',[],''],
	['PAGE','1119',jdecode('%E2%99%A5+Qui+Suis-je%3F'),jdecode(''),'/1119.html','true',[],''],
	['PAGE','22901',jdecode('%E2%99%A5+POINTS+DE+VENTE'),jdecode(''),'/22901.html','true',[],''],
	['PAGE','1140',jdecode('%E2%99%A5+CONTACT'),jdecode(''),'/1140.html','true',[],''],
	['PAGE','1161',jdecode('%E2%98%BB+PARTENAIRES'),jdecode(''),'/1161.html','true',[],''],
	['PAGE','19606',jdecode('%E2%98%BB+Livre+d%26%23x27%3Bor'),jdecode(''),'/19606/index.html','true',[ 
		['PAGE','19601',jdecode('Entr%C3%A9es'),jdecode(''),'/19606/19601.html','true',[],'']
	],''],
	['PAGE','26601',jdecode('%E2%98%BB+REMERCIEMENTS'),jdecode(''),'/26601.html','true',[],''],
	['PAGE','69601',jdecode('ALBUM+PHOTOS'),jdecode(''),'/69601.html','true',[],'']];
var siteelementCount=34;
theSitetree.topTemplateName='Hobby1';
theSitetree.paletteFamily='FFFFF3';
theSitetree.keyvisualId='10182';
theSitetree.keyvisualName='kv_10182.jpg';
theSitetree.fontsetId='21085';
theSitetree.graphicsetId='13179';
theSitetree.contentColor='E95D00';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Hobby1',
				paletteFamily: 	'FFFFF3',
				keyvisualId: 	'10182',
				keyvisualName: 	'kv_10182.jpg',
				fontsetId: 		'21085',
				graphicsetId: 	'13179',
				contentColor: 	'E95D00',
				contentBGColor: 'FFFFFF',
				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: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['5000']={
webappId:    '5000',
documentId:  '501',
internalId:  '',
customField: '20100303-211103'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41664',
internalId:  '',
customField: '20100303-211617'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '594',
internalId:  '',
customField: '20100302-193115'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41601',
internalId:  '',
customField: '20100302-193036'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '43801',
internalId:  '',
customField: '20100303-212738'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '43801',
internalId:  '6445617',
customField: 'fr:FR:'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41706',
internalId:  '',
customField: '20100302-193650'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41748',
internalId:  '',
customField: '20100302-193743'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '720',
internalId:  '',
customField: '20100302-193944'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '741',
internalId:  '',
customField: '20100302-193148'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '69601',
internalId:  '',
customField: '20100303-212619'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41832',
internalId:  '',
customField: '20100302-194008'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '846',
internalId:  '',
customField: '20100302-193430'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1119',
internalId:  '',
customField: '20091115-133508'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41622',
internalId:  '',
customField: '20100302-193454'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41937',
internalId:  '',
customField: '20100302-194131'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '42701',
internalId:  '',
customField: '20100302-194205'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41874',
internalId:  '',
customField: '20100302-194030'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41895',
internalId:  '',
customField: '20100308-140109'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '26601',
internalId:  '',
customField: '20100115-182221'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41643',
internalId:  '',
customField: '20100304-222640'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1077',
internalId:  '',
customField: '20100302-194414'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '11001',
internalId:  '',
customField: '20100114-203615'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1140',
internalId:  '',
customField: '20100114-151033'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1161',
internalId:  '',
customField: '20091221-120132'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '501',
internalId:  '1006',
customField: '1006'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '19606',
internalId:  '19606aam010inznct',
customField: 'action=form&icq=false'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '19601',
internalId:  '19606aam010inznct',
customField: 'action=list'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '19606',
internalId:  '',
customField: '20091105-000337'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '19601',
internalId:  '',
customField: '20091105-000337'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '1140',
internalId:  '6251401',
customField: 'fr:FR:'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '22901',
internalId:  '',
customField: '20100114-174848'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41685',
internalId:  '',
customField: '20100304-154015'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '43101',
internalId:  '',
customField: '20100114-234434'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '43101',
internalId:  '12629ebadff',
customField: 'g.14oku5d5c.bv1rq321rf.1s'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41727',
internalId:  '',
customField: '20100302-193719'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41769',
internalId:  '',
customField: '20100308-140329'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41790',
internalId:  '',
customField: '20100302-193837'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41811',
internalId:  '',
customField: '20100302-193902'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '70001',
internalId:  '',
customField: '20100303-214348'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010INZNCT';
var companyName   = '+++++Au+Fil+de+L%27imaginaire+.';
var htmlTitle	  = '';
var metaKeywords  = 'cr%C3%A9ation%2C+cr%C3%A9atrice%2C+styliste%2C+design%2C+designer%2C+mode%2C+enfant%2C+enfantine%2C+pr%C3%AAt-%C3%A0-porter%2C+v%C3%AAtements%2C+fille';
var metaContents  = 'Cr%C3%A9atrice+de+Mode+enfantine+pour+princesses+du+2+ans+au+8+ans.+Un+style+subtilement+diff%C3%A9rent%2C+r%C3%A9solument+Craquant%21';
					                                                                    
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 */					                                                            
