/* [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','4482',jdecode('Home'),jdecode(''),'/4482/index.html','true',[ 
		['PAGE','14922',jdecode('Home+%28follow+up+page%29'),jdecode(''),'/4482/14922.html','false',[],'']
	],''],
	['PAGE','15418',jdecode('Presentation'),jdecode(''),'/15418.html','true',[],''],
	['PAGE','14031',jdecode('Services'),jdecode(''),'/14031/index.html','true',[ 
		['PAGE','14058',jdecode('Technical+Translation'),jdecode(''),'/14031/14058.html','true',[],''],
		['PAGE','14085',jdecode('Localization'),jdecode(''),'/14031/14085.html','true',[],''],
		['PAGE','14112',jdecode('Proofreading'),jdecode(''),'/14031/14112.html','true',[],''],
		['PAGE','16153',jdecode('Desktop+Publishing'),jdecode(''),'/14031/16153.html','true',[],'']
	],''],
	['PAGE','18503',jdecode('Aims'),jdecode(''),'/18503.html','true',[],''],
	['PAGE','17103',jdecode('Fields+of+Expertise'),jdecode(''),'/17103/index.html','true',[ 
		['PAGE','20306',jdecode('Automotive+Industry'),jdecode(''),'/17103/20306.html','true',[],''],
		['PAGE','20333',jdecode('IT+Industries'),jdecode(''),'/17103/20333.html','true',[],''],
		['PAGE','20360',jdecode('Telecommunication'),jdecode(''),'/17103/20360.html','true',[],''],
		['PAGE','20387',jdecode('Multimedia+Games'),jdecode(''),'/17103/20387.html','true',[],'']
	],''],
	['PAGE','17130',jdecode('Language+Pairs'),jdecode(''),'/17130/index.html','true',[ 
		['PAGE','17184',jdecode('English'),jdecode(''),'/17130/17184.html','true',[],''],
		['PAGE','17157',jdecode('Portuguese+%28European%29'),jdecode(''),'/17130/17157.html','true',[],''],
		['PAGE','19403',jdecode('Portuguese+%28Brazilian%29'),jdecode(''),'/17130/19403.html','true',[],'']
	],''],
	['PAGE','14139',jdecode('Professionals'),jdecode(''),'/14139.html','true',[],''],
	['PAGE','14166',jdecode('Quality'),jdecode(''),'/14166/index.html','true',[ 
		['PAGE','17211',jdecode('Work+Process'),jdecode(''),'/14166/17211.html','true',[],''],
		['PAGE','19430',jdecode('Liability+Insurance'),jdecode(''),'/14166/19430.html','true',[],''],
		['PAGE','19831',jdecode('J2450'),jdecode(''),'/14166/19831.html','true',[],'']
	],''],
	['PAGE','23801',jdecode('Accreditation'),jdecode(''),'/23801/index.html','true',[ 
		['PAGE','24201',jdecode('ATA'),jdecode(''),'/23801/24201.html','true',[],''],
		['PAGE','24222',jdecode('APT'),jdecode(''),'/23801/24222.html','true',[],''],
		['PAGE','24243',jdecode('SLP'),jdecode(''),'/23801/24243.html','true',[],'']
	],''],
	['PAGE','14193',jdecode('References'),jdecode(''),'/14193.html','true',[],''],
	['PAGE','18854',jdecode('Charges'),jdecode(''),'/18854/index.html','true',[ 
		['PAGE','18895',jdecode('Charges+%28follow+up+page%29'),jdecode(''),'/18854/18895.html','false',[],'']
	],''],
	['PAGE','14274',jdecode('Job+Offer'),jdecode(''),'/14274/index.html','true',[ 
		['PAGE','19157',jdecode('Job+Offer+%28volgende+pagina%29'),jdecode(''),'/14274/19157.html','false',[],'']
	],''],
	['PAGE','17238',jdecode('Contacts'),jdecode(''),'/17238.html','true',[],''],
	['PAGE','17265',jdecode('Legal+Conditions'),jdecode(''),'/17265/index.html','true',[ 
		['PAGE','21703',jdecode('Conditions+for+use'),jdecode(''),'/17265/21703.html','true',[],''],
		['PAGE','21730',jdecode('Access+to+the+site'),jdecode(''),'/17265/21730.html','true',[],''],
		['PAGE','21757',jdecode('Site+contents'),jdecode(''),'/17265/21757.html','true',[],''],
		['PAGE','21784',jdecode('Ownership'),jdecode(''),'/17265/21784.html','true',[],''],
		['PAGE','21811',jdecode('Brand+names'),jdecode(''),'/17265/21811.html','true',[],''],
		['PAGE','21838',jdecode('Hypertext+links'),jdecode(''),'/17265/21838.html','true',[],''],
		['PAGE','21865',jdecode('General+Sales+Conditions'),jdecode(''),'/17265/21865.html','true',[],'']
	],'']];
var siteelementCount=41;
theSitetree.topTemplateName='Startup';
theSitetree.paletteFamily='000000';
theSitetree.keyvisualId='1427';
theSitetree.keyvisualName='tastatur.jpg';
theSitetree.fontsetId='237';
theSitetree.graphicsetId='294';
theSitetree.contentColor='666666';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Startup',
				paletteFamily: 	'000000',
				keyvisualId: 	'1427',
				keyvisualName: 	'tastatur.jpg',
				fontsetId: 		'237',
				graphicsetId: 	'294',
				contentColor: 	'666666',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'666666',
				c_color: 		'000000',
				d_color: 		'FF0000',
				e_color: 		'FF0000',
				f_color: 		'FF0000',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1501']={
webappId:    '1501',
documentId:  '4482',
internalId:  '10434339',
customField: '1501'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '4482',
internalId:  '1006',
customField: '1006'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '4482',
internalId:  'aam010inlavj1149b069459',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '14922',
internalId:  'aam010inlavj1149b069459',
customField: 'followUp'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '18854',
internalId:  'aam010inlavj114a9db0618',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '18895',
internalId:  'aam010inlavj114a9db0618',
customField: 'followUp'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '14274',
internalId:  'aam010inlavj114a9fe9432',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '19157',
internalId:  'aam010inlavj114a9fe9432',
customField: 'followUp'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4482',
internalId:  '',
customField: '20070828-033414'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '23801',
internalId:  '',
customField: '20071009-022840'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '24201',
internalId:  '',
customField: '20071009-011402'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14922',
internalId:  '',
customField: '20070825-051753'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '15418',
internalId:  '',
customField: '20070825-053705'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14031',
internalId:  '',
customField: '20070828-022902'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14058',
internalId:  '',
customField: '20070825-055352'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14085',
internalId:  '',
customField: '20070825-060359'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14112',
internalId:  '',
customField: '20070825-061114'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '16153',
internalId:  '',
customField: '20070825-062632'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '18503',
internalId:  '',
customField: '20070828-021447'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '17103',
internalId:  '',
customField: '20070829-042833'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '20306',
internalId:  '',
customField: '20070829-023949'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '20333',
internalId:  '',
customField: '20070829-024336'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '20360',
internalId:  '',
customField: '20070829-024926'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '20387',
internalId:  '',
customField: '20070829-025622'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '17130',
internalId:  '',
customField: '20070825-072128'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '17184',
internalId:  '',
customField: '20070829-030813'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '17157',
internalId:  '',
customField: '20070829-031654'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '19403',
internalId:  '',
customField: '20070829-032424'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14139',
internalId:  '',
customField: '20070825-065203'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14166',
internalId:  '',
customField: '20070828-031307'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '17211',
internalId:  '',
customField: '20070828-033144'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '19430',
internalId:  '',
customField: '20070828-032058'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '19831',
internalId:  '',
customField: '20070828-033722'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '24222',
internalId:  '',
customField: '20071009-020830'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '24243',
internalId:  '',
customField: '20071009-021953'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14193',
internalId:  '',
customField: '20071009-034246'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '18854',
internalId:  '',
customField: '20070828-022705'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '18895',
internalId:  '',
customField: '20070828-022437'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '14274',
internalId:  '',
customField: '20070828-032342'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '19157',
internalId:  '',
customField: '20070828-030327'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '17238',
internalId:  '',
customField: '20070829-041141'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '17265',
internalId:  '',
customField: '20070911-005242'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '21703',
internalId:  '',
customField: '20070829-043020'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '21730',
internalId:  '',
customField: '20070829-043259'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '21757',
internalId:  '',
customField: '20070829-043442'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '21784',
internalId:  '',
customField: '20070829-043646'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '21811',
internalId:  '',
customField: '20070829-043742'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '21838',
internalId:  '',
customField: '20070829-043939'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '21865',
internalId:  '',
customField: '20070829-045108'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010INLAVJ';
var companyName   = 'TRADUQUEST+-+Portugal';
var htmlTitle	  = 'Translation+Office.+Caldas+da+Rainha%2C+Portugal%2C+Traduquest+2007';
var metaKeywords  = 'translation%2C+tradu%EF%BF%BDao%2C+traduquest%2C+automotive%2C+gabinete+de+tradu%EF%BF%BDao%2C++Automotive+Industry%2C+Machinery+Industry%2C+Construction+Industry%2C+IT+Industries%2C+Multimedia+Games+and+Telecommunications%2C+caldas+da+rainha%2C+desktop+publishing%2C+trados%2C+translation+office%2C+portuguese%2C+technical%2C+technical+translation';
var metaContents  = 'TRADUQUEST+is+a+dynamic%2C+qualified+and+friendly+Translation+office+based+near+the+city+of+Lisbon%2C+in+Portugal.+We+provide+high+quality+translations+in+fields+like+the+Automotive+Industry%2C+Machinery+Industry%2C+Construction+Industry%2C+IT+Industries%2C+Multimedia+Games+and+Telecommunications.+';
					                                                                    
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 */					                                                            
