/* [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','4496',jdecode('Accueil'),jdecode(''),'/4496.html','true',[],''],
	['PAGE','4553',jdecode('Qui+sommes-nous%3F'),jdecode(''),'/4553/index.html','true',[ 
		['PAGE','4607',jdecode('Organisation'),jdecode(''),'/4553/4607.html','true',[],''],
		['PAGE','18601',jdecode('Nos+partenaires'),jdecode(''),'/4553/18601.html','true',[],'']
	],''],
	['PAGE','4634',jdecode('Produits%2C+prestations%2C+services'),jdecode(''),'/4634/index.html','true',[ 
		['PAGE','4661',jdecode('BT+T+AE+25-230'),jdecode(''),'/4634/4661.html','true',[],''],
		['PAGE','43401',jdecode('BT+T+A+CM-230'),jdecode(''),'/4634/43401.html','true',[],''],
		['PAGE','23901',jdecode('BT+AE+25-300'),jdecode(''),'/4634/23901.html','true',[],''],
		['PAGE','43428',jdecode('BT+AEV+25-300'),jdecode(''),'/4634/43428.html','true',[],''],
		['PAGE','24201',jdecode('BT+E+25-320'),jdecode(''),'/4634/24201.html','true',[],''],
		['PAGE','24228',jdecode('BT+A+25-230'),jdecode(''),'/4634/24228.html','true',[],''],
		['PAGE','4715',jdecode('Syst%C3%A8me+d%26%23x27%3BEnregistrement+Informatique+SEI+250+I'),jdecode(''),'/4634/4715.html','true',[],''],
		['PAGE','40924',jdecode('SEI+250+PI'),jdecode(''),'/4634/40924.html','true',[],''],
		['PAGE','40001',jdecode('Banc+d%26%23x27%3BEpreuve+BE+25'),jdecode(''),'/4634/40001.html','true',[],''],
		['PAGE','43455',jdecode('BT+K+AE+200'),jdecode(''),'/4634/43455.html','true',[],''],
		['PAGE','4688',jdecode('Banc+de+manoeuvrabilit%C3%A9+BM+0-5'),jdecode(''),'/4634/4688.html','true',[],''],
		['PAGE','24501',jdecode('Compteur+Kellogg+KBT+b'),jdecode(''),'/4634/24501.html','true',[],''],
		['PAGE','24555',jdecode('Joints+de+s%C3%BBret%C3%A9+JS+X6'),jdecode(''),'/4634/24555.html','true',[],''],
		['PAGE','24582',jdecode('Armoire+SEI'),jdecode(''),'/4634/24582.html','true',[],''],
		['PAGE','26301',jdecode('Pompe+ASP+1280'),jdecode(''),'/4634/26301.html','true',[],''],
		['PAGE','26328',jdecode('Test+Travers%C3%A9e+Enseinte'),jdecode(''),'/4634/26328.html','true',[],''],
		['PAGE','46504',jdecode('Rodeuse+portative+Larslap'),jdecode(''),'/4634/46504.html','true',[],''],
		['PAGE','49801',jdecode('Divers'),jdecode(''),'/4634/49801.html','true',[],'']
	],''],
	['PAGE','4742',jdecode('Tarifs+catalogue'),jdecode(''),'/4742/index.html','true',[ 
		['PAGE','22601',jdecode('Demande+de+devis'),jdecode(''),'/4742/22601.html','true',[],''],
		['PAGE','23002',jdecode('Demande+de+devis+%28volgende+pagina%29'),jdecode(''),'/4742/23002.html','false',[],'']
	],''],
	['PAGE','4769',jdecode('Actualit%C3%A9s'),jdecode(''),'/4769/index.html','true',[ 
		['PAGE','47601',jdecode('Directive+PED'),jdecode(''),'/4769/47601.html','true',[],''],
		['PAGE','4796',jdecode('Nouveau'),jdecode(''),'/4769/4796.html','true',[],''],
		['PAGE','4850',jdecode('R%C3%A9f%C3%A9rences'),jdecode(''),'/4769/4850.html','true',[],'']
	],''],
	['PAGE','4877',jdecode('Emplois'),jdecode(''),'/4877.html','true',[],''],
	['PAGE','4904',jdecode('Contact'),jdecode(''),'/4904/index.html','true',[ 
		['PAGE','4931',jdecode('Adresse%2C+T%C3%A9l%C3%A9phone'),jdecode(''),'/4904/4931.html','true',[],'']
	],''],
	['PAGE','37102',jdecode('Acc%C3%A8s'),jdecode(''),'/37102.html','true',[],''],
	['PAGE','5602',jdecode('Livre+d%26%23x27%3Bor'),jdecode(''),'/5602/index.html','true',[ 
		['PAGE','5603',jdecode('Entr%C3%A9es'),jdecode(''),'/5602/5603.html','true',[],'']
	],'']];
var siteelementCount=36;
theSitetree.topTemplateName='Movement';
theSitetree.paletteFamily='003390';
theSitetree.keyvisualId='1742';
theSitetree.keyvisualName='ebusiness2.jpg';
theSitetree.fontsetId='290';
theSitetree.graphicsetId='353';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='003390';
var theTemplate={
				name: 			'Movement',
				paletteFamily: 	'003390',
				keyvisualId: 	'1742',
				keyvisualName: 	'ebusiness2.jpg',
				fontsetId: 		'290',
				graphicsetId: 	'353',
				contentColor: 	'FFFFFF',
				contentBGColor: '003390',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'003390',
				b_color: 		'000000',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Times New Roman, Times, serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1002']={
webappId:    '1002',
documentId:  '5602',
internalId:  '5602aam010in2at1',
customField: 'action=form&icq=false'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '5603',
internalId:  '5602aam010in2at1',
customField: 'action=list'
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '4496',
internalId:  '703915',
customField: '1501'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '4496',
internalId:  '1006',
customField: '1006'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '23002',
internalId:  'aam010in2at1fffec84986',
customField: 'followUp'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '22601',
internalId:  'aam010in2at1fffec84986',
customField: ''
};
webappMappings['2001']={
webappId:    '2001',
documentId:  '37102',
internalId:  'location',
customField: 'language:fr;country:FR;isIncluded:false;'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4496',
internalId:  '',
customField: '20100129-115855'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4553',
internalId:  '',
customField: '20100129-113838'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '18601',
internalId:  '',
customField: '20060118-151629'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4769',
internalId:  '',
customField: '20070514-103713'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4796',
internalId:  '',
customField: '20100129-115104'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4850',
internalId:  '',
customField: '20090907-160857'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4634',
internalId:  '',
customField: '20070919-161839'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '49801',
internalId:  '',
customField: '20081014-102318'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4904',
internalId:  '',
customField: '20041201-154250'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4931',
internalId:  '',
customField: '20040216-152548'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4607',
internalId:  '',
customField: '20060118-152609'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4661',
internalId:  '',
customField: '20090907-155345'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '43401',
internalId:  '',
customField: '20070511-115036'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '23901',
internalId:  '',
customField: '20090907-155733'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '43428',
internalId:  '',
customField: '20070511-112049'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '24201',
internalId:  '',
customField: '20041103-164900'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '24228',
internalId:  '',
customField: '20041103-164914'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4715',
internalId:  '',
customField: '20060615-154558'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '40924',
internalId:  '',
customField: '20060615-110218'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '40001',
internalId:  '',
customField: '20060620-143025'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '43455',
internalId:  '',
customField: '20070514-110045'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4688',
internalId:  '',
customField: '20040223-121509'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '24501',
internalId:  '',
customField: '20041103-170019'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '24555',
internalId:  '',
customField: '20041103-170448'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '24582',
internalId:  '',
customField: '20041103-170713'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '26301',
internalId:  '',
customField: '20041103-172438'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '26328',
internalId:  '',
customField: '20050418-164018'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '46504',
internalId:  '',
customField: '20070920-143648'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4742',
internalId:  '',
customField: '20070919-161227'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '22601',
internalId:  '',
customField: '20041103-151230'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '23002',
internalId:  '',
customField: '20041103-151319'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '47601',
internalId:  '',
customField: '20070514-103136'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4877',
internalId:  '',
customField: '20041201-153005'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '37102',
internalId:  '',
customField: '20060118-141838'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5602',
internalId:  '',
customField: '20050929-102948'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5603',
internalId:  '',
customField: '20040216-112420'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010IN2AT1';
var companyName   = 'E.M.C.S.';
var htmlTitle	  = 'EMCS+Engineering+Maintenance+Construction+Services+-+Banc+de+test+de+soupape+et+de+vannes+-+Tarage+et+Maintenance+de+soupapes+et+vannes+-+Certificat+de+tarage+-+Essais+de+soupapes';
var metaKeywords  = 'banc%2C+bancs%2C+tarage%2C+tarrage%2C+tarages%2C+soupape%2C+soupapes%2C+pression%2C+kellogg%2C+kelog%2C+kellog%2C+kelogg%2C+vannes%2C+vanne%2C+robinet%2C+robinets%2C+robineterie%2C+EMCS%2C+EMC%2C+Syst%EF%BF%BDme%2C+systeme%2C+informatique%2C+SEI250%2C+BTTAE25-230%2C+BM0-5%2C+rodage%2C+clapet%2C+clapets%2C+chpolansky%2C+sarazin%2C+klein%2C+EDF%2C+descote%2C+sebim%2C+WEIR%2C+valves%2C+control%2C+contr%EF%BF%BDles%2C+controle%2C+abrasifs%2C+abrasif%2C+larslap%2C+unislip%2C+rodoir%2C++rodages%2C++pressions%2C+Druck%2C+ivt-vvc%2C+manoeuvrabilit%EF%BF%BD%2C+compteur%2C+bulle%2C+bulles%2C+test%2C+rigs%2C+benches';
var metaContents  = 'banc+tarage+soupape%2C+bancs+test+robinetterie%2C+banc+de+manoeuvrabilit%EF%BF%BD%2C+SEI%2C+Enregistrement+Informatique%2C+certificat+de+tarage%2C+test+kellogg%2C+rodage%2C+contr%EF%BF%BDle+%EF%BF%BDtanch%EF%BF%BDit%EF%BF%BD%2C+compteur+de+bulles%2C+EMCS%2C+EMC%2C+courbe+tarage%2C+essais+de+soupape%2C+device+for+testing+valves%2C+valve+test+rigs%2C+valve+test+benches';
					                                                                    
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 */					                                                            
