/* [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','1508',jdecode('Home+%2F+Accueil'),jdecode(''),'/1508.html','true',[],''],
	['PAGE','142603',jdecode('Philosophy+%2F+Philosophy'),jdecode(''),'/142603.html','true',[],''],
	['PAGE','1619',jdecode('Product+%2F+Produits'),jdecode(''),'/1619/index.html','true',[ 
		['PAGE','1646',jdecode('TV+%2F+T%C3%A9l%C3%A9viseur+'),jdecode(''),'/1619/1646.html','true',[],''],
		['PAGE','112003',jdecode('Mobile+Phone'),jdecode(''),'/1619/112003.html','true',[],''],
		['PAGE','192601',jdecode('GPS+Navigation'),jdecode(''),'/1619/192601.html','true',[],''],
		['PAGE','195001',jdecode('MP3+%2F+MP4+%2FMP5'),jdecode(''),'/1619/195001.html','true',[],''],
		['PAGE','229701',jdecode('Video+Glasses'),jdecode(''),'/1619/229701.html','true',[],''],
		['PAGE','182201',jdecode('USB+Flash+Drive'),jdecode(''),'/1619/182201.html','true',[],''],
		['PAGE','200201',jdecode('Memory+Card'),jdecode(''),'/1619/200201.html','true',[],''],
		['PAGE','198401',jdecode('Bluetooth+Headset'),jdecode(''),'/1619/198401.html','true',[],''],
		['PAGE','225901',jdecode('Digital+Photo+Frame'),jdecode(''),'/1619/225901.html','true',[],''],
		['PAGE','103703',jdecode('Computer'),jdecode(''),'/1619/103703.html','true',[],''],
		['PAGE','109003',jdecode('PC+Monitor'),jdecode(''),'/1619/109003.html','true',[],''],
		['PAGE','104003',jdecode('Desktop+Computers'),jdecode(''),'/1619/104003.html','true',[],''],
		['PAGE','108203',jdecode('Notebook+Computers'),jdecode(''),'/1619/108203.html','true',[],''],
		['PAGE','26703',jdecode('Audio+%26+DVD'),jdecode(''),'/1619/26703.html','true',[],''],
		['PAGE','12003',jdecode('Refrigerator+%2F+R%C3%A9frig%C3%A9rateur'),jdecode(''),'/1619/12003.html','true',[],''],
		['PAGE','12630',jdecode('Freezer+%2F+Cong%C3%A9lateur'),jdecode(''),'/1619/12630.html','true',[],''],
		['PAGE','1673',jdecode('Wine+Celler+%2FCave+%C3%A0+Vin'),jdecode(''),'/1619/1673.html','true',[],''],
		['PAGE','98503',jdecode('Washing+Machine'),jdecode(''),'/1619/98503.html','true',[],''],
		['PAGE','67903',jdecode('Microwave+Ovens'),jdecode(''),'/1619/67903.html','true',[],''],
		['PAGE','103003',jdecode('Electric+Cooker'),jdecode(''),'/1619/103003.html','true',[],''],
		['PAGE','123403',jdecode('Gas+Cooker'),jdecode(''),'/1619/123403.html','true',[],''],
		['PAGE','125503',jdecode('Ovens'),jdecode(''),'/1619/125503.html','true',[],''],
		['PAGE','127903',jdecode('Range+Hood'),jdecode(''),'/1619/127903.html','true',[],''],
		['PAGE','1700',jdecode('+Air+Cond+%2F+Climatiseurs'),jdecode(''),'/1619/1700.html','true',[],''],
		['PAGE','30303',jdecode('Air+Con+%22Color+Flat+Series%22'),jdecode(''),'/1619/30303.html','true',[],''],
		['PAGE','30330',jdecode('Air+Con+%22Energy+Flat+Series%22'),jdecode(''),'/1619/30330.html','true',[],''],
		['PAGE','29903',jdecode('Air+Con+%22Bright+Flat+Series%22'),jdecode(''),'/1619/29903.html','true',[],''],
		['PAGE','74103',jdecode('Kitchen+Appliances'),jdecode(''),'/1619/74103.html','true',[],''],
		['PAGE','74130',jdecode('Bread+Makers'),jdecode(''),'/1619/74130.html','true',[],''],
		['PAGE','76003',jdecode('Deep+Fryers'),jdecode(''),'/1619/76003.html','true',[],''],
		['PAGE','77603',jdecode('Jug+Kettles'),jdecode(''),'/1619/77603.html','true',[],''],
		['PAGE','81503',jdecode('Coffee+Makers'),jdecode(''),'/1619/81503.html','true',[],''],
		['PAGE','83803',jdecode('Toasters'),jdecode(''),'/1619/83803.html','true',[],''],
		['PAGE','91503',jdecode('Toaster+Ovens'),jdecode(''),'/1619/91503.html','true',[],''],
		['PAGE','93603',jdecode('Hand+Mixers'),jdecode(''),'/1619/93603.html','true',[],''],
		['PAGE','96103',jdecode('Steam+Irons'),jdecode(''),'/1619/96103.html','true',[],'']
	],''],
	['PAGE','51103',jdecode('Contact+'),jdecode(''),'/51103/index.html','true',[ 
		['PAGE','59195',jdecode('Contact+Us+%28follow+up+page%29'),jdecode(''),'/51103/59195.html','false',[],'']
	],'']];
var siteelementCount=41;
theSitetree.topTemplateName='Stylus';
theSitetree.paletteFamily='DB7A7A';
theSitetree.keyvisualId='1982';
theSitetree.keyvisualName='microchips.jpg';
theSitetree.fontsetId='329';
theSitetree.graphicsetId='386';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Stylus',
				paletteFamily: 	'DB7A7A',
				keyvisualId: 	'1982',
				keyvisualName: 	'microchips.jpg',
				fontsetId: 		'329',
				graphicsetId: 	'386',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'DB7A7A',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Times New Roman, Times, serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1006']={
webappId:    '1006',
documentId:  '1508',
internalId:  '1006',
customField: '1006'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '51103',
internalId:  'aam010in3o2d10a614e31d8',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '59195',
internalId:  'aam010in3o2d10a614e31d8',
customField: 'followUp'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1508',
internalId:  '',
customField: '20080920-033141'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '229701',
internalId:  '',
customField: '20080924-144315'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1619',
internalId:  '',
customField: '20081009-111532'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '142603',
internalId:  '',
customField: '20080919-145143'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1646',
internalId:  '',
customField: '20080920-042239'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1700',
internalId:  '',
customField: '20080920-054411'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '30303',
internalId:  '',
customField: '20080920-054644'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '30330',
internalId:  '',
customField: '20080920-173354'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '29903',
internalId:  '',
customField: '20060406-131851'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '103703',
internalId:  '',
customField: '20081009-111446'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '109003',
internalId:  '',
customField: '20080920-053344'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '104003',
internalId:  '',
customField: '20080920-053619'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '108203',
internalId:  '',
customField: '20080920-053832'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '225901',
internalId:  '',
customField: '20080924-005046'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '112003',
internalId:  '',
customField: '20080920-043400'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '26703',
internalId:  '',
customField: '20080920-054113'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '12003',
internalId:  '',
customField: '20080920-182316'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '12630',
internalId:  '',
customField: '20080920-185403'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1673',
internalId:  '',
customField: '20080920-191059'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '98503',
internalId:  '',
customField: '20080920-200221'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '67903',
internalId:  '',
customField: '20080920-203448'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '103003',
internalId:  '',
customField: '20061003-220833'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '123403',
internalId:  '',
customField: '20061003-220507'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '125503',
internalId:  '',
customField: '20061007-195238'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '127903',
internalId:  '',
customField: '20061008-004733'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '74103',
internalId:  '',
customField: '20060825-075927'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '74130',
internalId:  '',
customField: '20060825-081704'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '76003',
internalId:  '',
customField: '20060825-082850'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '77603',
internalId:  '',
customField: '20060701-163305'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '81503',
internalId:  '',
customField: '20060701-183229'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '83803',
internalId:  '',
customField: '20060701-204257'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '91503',
internalId:  '',
customField: '20060703-104233'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '93603',
internalId:  '',
customField: '20060711-153338'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '96103',
internalId:  '',
customField: '20060703-174013'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '51103',
internalId:  '',
customField: '20090309-161816'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '59195',
internalId:  '',
customField: '20060403-215015'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '182201',
internalId:  '',
customField: '20080920-050116'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '192601',
internalId:  '',
customField: '20081007-232303'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '195001',
internalId:  '',
customField: '20080924-123422'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '198401',
internalId:  '',
customField: '20080923-210203'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '200201',
internalId:  '',
customField: '20080920-050923'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010IN3O2D';
var companyName   = '';
var htmlTitle	  = '';
var metaKeywords  = '';
var metaContents  = '';
					                                                                    
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 */					                                                            
