/* [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','4597',jdecode('Home'),jdecode(''),'/4597.html','true',[],''],
	['PAGE','4654',jdecode('Nos+Amplis+st%C3%A9r%C3%A9os'),jdecode(''),'/4654/index.html','true',[ 
		['PAGE','50800',jdecode('MP6+2x40W+bluetooth'),jdecode(''),'/4654/50800.html','true',[],''],
		['PAGE','43600',jdecode('DV6C+2x+65w+home+cin%C3%A9ma'),jdecode(''),'/4654/43600.html','true',[],''],
		['PAGE','50821',jdecode('VP-2A3C+et+300B++2x20w-30W'),jdecode(''),'/4654/50821.html','true',[],''],
		['PAGE','50842',jdecode('VP-99++2+x50W++Push-pull'),jdecode(''),'/4654/50842.html','true',[],''],
		['PAGE','14977',jdecode('MP+15+2x18w+S-E+Int%C3%A9gr%C3%A9'),jdecode(''),'/4654/14977.html','true',[],'']
	],''],
	['PAGE','17500',jdecode('Ou+trouver+nos+produits%3F'),jdecode(''),'/17500.html','true',[],''],
	['PAGE','4762',jdecode('Contact'),jdecode(''),'/4762/index.html','true',[ 
		['PAGE','5002',jdecode('Contact+%28volgende+pagina%29'),jdecode(''),'/4762/5002.html','false',[],''],
		['PAGE','4789',jdecode('Adresse%2C+T%C3%A9l%C3%A9phone'),jdecode(''),'/4762/4789.html','true',[],'']
	],''],
	['PAGE','23127',jdecode('Histoire+de+classe+A%2C+AB+%3F'),jdecode(''),'/23127.html','true',[],''],
	['PAGE','23154',jdecode('Quel+ampli+pour+moi%3F'),jdecode(''),'/23154.html','true',[],''],
	['PAGE','17601',jdecode('Images+de+La+gamme+'),jdecode(''),'/17601.html','true',[],'']];
var siteelementCount=14;
theSitetree.topTemplateName='Seifenblase';
theSitetree.paletteFamily='ADADAD';
theSitetree.keyvisualId='2353';
theSitetree.keyvisualName='blanko.jpg';
theSitetree.fontsetId='381';
theSitetree.graphicsetId='429';
theSitetree.contentColor='555555';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Seifenblase',
				paletteFamily: 	'ADADAD',
				keyvisualId: 	'2353',
				keyvisualName: 	'blanko.jpg',
				fontsetId: 		'381',
				graphicsetId: 	'429',
				contentColor: 	'555555',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'FFFFFF',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'999999',
				e_color: 		'666666',
				f_color: 		'CCCCCC',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1001']={
webappId:    '1001',
documentId:  '4762',
internalId:  'aam010in33ze10963b50f99',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '5002',
internalId:  'aam010in33ze10963b50f99',
customField: 'followUp'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '4597',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '4597',
internalId:  '7058663',
customField: '1501'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '17601',
internalId:  '10973d864fe',
customField: 'g.12lfsbano.7japd45akh4v2.6rn80'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4597',
internalId:  '',
customField: '20111113-162703'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4654',
internalId:  '',
customField: '20111113-144644'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14977',
internalId:  '',
customField: '20111113-162848'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '17500',
internalId:  '',
customField: '20111113-163055'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '50800',
internalId:  '',
customField: '20111113-150634'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '50842',
internalId:  '',
customField: '20111113-153103'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '43600',
internalId:  '',
customField: '20111113-145200'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4762',
internalId:  '',
customField: '20060620-195032'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5002',
internalId:  '',
customField: '20060213-145903'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4789',
internalId:  '',
customField: '20060304-185655'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '23127',
internalId:  '',
customField: '20111113-153412'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '23154',
internalId:  '',
customField: '20101107-111737'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '17601',
internalId:  '',
customField: '20090408-140521'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '50821',
internalId:  '',
customField: '20111113-151941'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010IN33ZE';
var companyName   = 'Amplis+HIFI+dared+%22+l%27esthetique+du+son%21%22';
var htmlTitle	  = 'Amplificateur+%C3%A0+tubes+%28lampes%29++Dared+hifi+%C3%A0+tubes+%28lampes%29+de+salon-Un+look+un+style%2C+un+son+.';
var metaKeywords  = 'Ampli+hifi%2C+amplificateurs+hifi%2C+amplificateurs+%C3%A0+lampes%2C+amplificateur+%C3%A0+tubes%2C+Ampli+a+lampes%2C+amplis+a+tubes%2C+preampli+tubes+ou+lampes%2C+audiophile%2C+audio+tubes+lampes%2C+grand+choix+de+hifi+entre+de+800+et+2000+euros%2C+le+son+tube%2C+ampli+lampes+vintage%2C+hifi+a+tubes%2C+hifiatubes%2C+dared+les+amplis+design+les+plus+esthetiques%21+ampli+a+tubes+stereo+integre%2C+au+son+chaleureux+avec+des+tubes+EL+34%2C845%2C+6LG6%2C+5881%2CKT+66%2C+KT+88%2C+300B%2C+2A3C%2C+2A3%2C+EM87+cat+eyes%2C+int%C3%A9grated+st%C3%A9reo+ampli+int%C3%A9gr%C3%A9+montage+single-ended%3A++dared+MP7%2C+Dared+MP2A3%2C+dared+MP30%2C+dared+MP15%2C+dared+vP300B%2C+gamme+amplifcateurs+push-pull+%3A+dared+VP80%2C+Dared+VP99%2C+Dared+VP2A3%2C+dared+VP300B%2C+dared+I20%2C+dared+I30+pour+PC%2FMAC+et+IPOD.++Itube+Fatman-+Itube+182';
var metaContents  = 'Les+amplificateurs+%C3%A0+lampes+%28tubes%29+hifi+audio+de+salon+de+DARED+existent+depuis+plus+de+10+ans.+Distribu%C3%A9s+aux+US%2C+en+Europe%2C+au+Japon%2C+en+Australie%2C+les+qualit%C3%A9s+techniques+et+audiophiles+des+amplificateurs+DARED+ont+s%C3%A9duit+la+plan%C3%A8te.+Devenue+N%C2%B01+%C3%A0+force+d+exigences+et+de+soins+apport%C3%A9s+tant+%C3%A0+la+fabrication+qu+au+design+de+leurs+amplis+%C3%A0+tubes.+2009+voit+les+amplis+DARED+se+lancer+dans+les+ampli+%C3%A0+tubes+en+montage-push-pull+toujours+avec+un+design+%C3%A0+couper+le+souffle.';
					                                                                    
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 */					                                                            

