/* [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','4556',jdecode('index'),jdecode(''),'/4556.html','true',[],''],
	['PAGE','27401',jdecode('Catal%C3%A0'),jdecode(''),'/27401/index.html','true',[ 
		['PAGE','34501',jdecode('Access+Mar+'),jdecode(''),'/27401/34501.html','true',[],''],
		['PAGE','27422',jdecode('Bitsailing+'),jdecode(''),'/27401/27422.html','true',[],''],
		['PAGE','23801',jdecode('Boatlift+'),jdecode(''),'/27401/23801.html','true',[],''],
		['PAGE','25501',jdecode('Bucs+'),jdecode(''),'/27401/25501.html','true',[],''],
		['PAGE','27443',jdecode('Fluid+Empord%C3%A0+'),jdecode(''),'/27401/27443.html','true',[],''],
		['PAGE','21801',jdecode('Mae+Empord%C3%A0+'),jdecode(''),'/27401/21801.html','true',[],'']
	],''],
	['PAGE','27464',jdecode('Espa%C3%B1ol'),jdecode(''),'/27464/index.html','true',[ 
		['PAGE','34522',jdecode('Access+Mar+'),jdecode(''),'/27464/34522.html','true',[],''],
		['PAGE','27548',jdecode('Bitsailing+'),jdecode(''),'/27464/27548.html','true',[],''],
		['PAGE','27506',jdecode('Boatlift+'),jdecode(''),'/27464/27506.html','true',[],''],
		['PAGE','27485',jdecode('Bucs+'),jdecode(''),'/27464/27485.html','true',[],''],
		['PAGE','27569',jdecode('Fluid+Empord%C3%A0+'),jdecode(''),'/27464/27569.html','true',[],''],
		['PAGE','27527',jdecode('Mae+Empord%C3%A0+'),jdecode(''),'/27464/27527.html','true',[],'']
	],''],
	['PAGE','28201',jdecode('Italy'),jdecode(''),'/28201/index.html','true',[ 
		['PAGE','28222',jdecode('Access+Mar'),jdecode(''),'/28201/28222.html','true',[],''],
		['PAGE','28306',jdecode('Bitsailing'),jdecode(''),'/28201/28306.html','true',[],''],
		['PAGE','28264',jdecode('Boatlift'),jdecode(''),'/28201/28264.html','true',[],''],
		['PAGE','28243',jdecode('Bucs'),jdecode(''),'/28201/28243.html','true',[],''],
		['PAGE','28327',jdecode('Fluid+Empord%C3%A0'),jdecode(''),'/28201/28327.html','true',[],''],
		['PAGE','28285',jdecode('Mae+Empord%C3%A0'),jdecode(''),'/28201/28285.html','true',[],'']
	],''],
	['PAGE','41001',jdecode('France'),jdecode(''),'/41001/index.html','true',[ 
		['PAGE','41022',jdecode('Access+Mar'),jdecode(''),'/41001/41022.html','true',[],''],
		['PAGE','41043',jdecode('Bitsailing'),jdecode(''),'/41001/41043.html','true',[],''],
		['PAGE','41064',jdecode('Boatlift'),jdecode(''),'/41001/41064.html','true',[],''],
		['PAGE','41085',jdecode('Bucs'),jdecode(''),'/41001/41085.html','true',[],''],
		['PAGE','41106',jdecode('Fluid+Empord%C3%A0'),jdecode(''),'/41001/41106.html','true',[],''],
		['PAGE','41127',jdecode('Mae+Empord%C3%A0'),jdecode(''),'/41001/41127.html','true',[],'']
	],''],
	['PAGE','41148',jdecode('Uk'),jdecode(''),'/41148/index.html','true',[ 
		['PAGE','41169',jdecode('Access+Mar'),jdecode(''),'/41148/41169.html','true',[],''],
		['PAGE','41190',jdecode('Bitsailing'),jdecode(''),'/41148/41190.html','true',[],''],
		['PAGE','41211',jdecode('Boatlift'),jdecode(''),'/41148/41211.html','true',[],''],
		['PAGE','41232',jdecode('Bucs'),jdecode(''),'/41148/41232.html','true',[],''],
		['PAGE','41253',jdecode('Fluid+Empord%C3%A0'),jdecode(''),'/41148/41253.html','true',[],''],
		['PAGE','41274',jdecode('Mae+Empord%C3%A0'),jdecode(''),'/41148/41274.html','true',[],'']
	],''],
	['PAGE','36001',jdecode('IMATGES+-+FOTOS'),jdecode(''),'/36001/index.html','true',[ 
		['PAGE','36022',jdecode('BL12'),jdecode(''),'/36001/36022.html','true',[],''],
		['PAGE','36043',jdecode('BL20+-+MA+-+90%C2%BA'),jdecode(''),'/36001/36043.html','true',[],''],
		['PAGE','36064',jdecode('BL30+-+MA+-+90%C2%BA'),jdecode(''),'/36001/36064.html','true',[],''],
		['PAGE','36085',jdecode('BL40+-+MA+-+90%C2%BA'),jdecode(''),'/36001/36085.html','true',[],''],
		['PAGE','36106',jdecode('BL60+-+MA+-+90%C2%BA'),jdecode(''),'/36001/36106.html','true',[],''],
		['PAGE','36127',jdecode('BL80+-+MA+-+90%C2%BA'),jdecode(''),'/36001/36127.html','true',[],''],
		['PAGE','36148',jdecode('BL100+-+MA+-+90%C2%BA'),jdecode(''),'/36001/36148.html','true',[],''],
		['PAGE','36169',jdecode('CUNES+-+SOPORTS'),jdecode(''),'/36001/36169.html','true',[],''],
		['PAGE','36190',jdecode('INOXIDABLE'),jdecode(''),'/36001/36190.html','true',[],''],
		['PAGE','36211',jdecode('HIDR%C3%80ULICA'),jdecode(''),'/36001/36211.html','true',[],''],
		['PAGE','36232',jdecode('ELECTR%C3%92NICA'),jdecode(''),'/36001/36232.html','true',[],''],
		['PAGE','36253',jdecode('TRAVELIFT+BL25'),jdecode(''),'/36001/36253.html','true',[],''],
		['PAGE','36274',jdecode('TRAVELIFT+BL40'),jdecode(''),'/36001/36274.html','true',[],''],
		['PAGE','36295',jdecode('TRAVELIFT+BL50'),jdecode(''),'/36001/36295.html','true',[],''],
		['PAGE','36316',jdecode('TRAVELIFT+BL100'),jdecode(''),'/36001/36316.html','true',[],''],
		['PAGE','36337',jdecode('TRAVELIFT+BL130'),jdecode(''),'/36001/36337.html','true',[],''],
		['PAGE','36358',jdecode('TRAVELIFT+BL160'),jdecode(''),'/36001/36358.html','true',[],'']
	],''],
	['PAGE','6925',jdecode('Contacte+-+Foro+-+Formulari'),jdecode(''),'/6925/index.html','true',[ 
		['PAGE','8437',jdecode('Formularis'),jdecode(''),'/6925/8437.html','true',[],''],
		['PAGE','8469',jdecode('Formularis+%28follow+up+page%29'),jdecode(''),'/6925/8469.html','false',[],'']
	],''],
	['PAGE','23301',jdecode('On+Som'),jdecode(''),'/23301.html','true',[],''],
	['PAGE','5569',jdecode('Pl%C3%A0nol+d%26%23x27%3Baccess'),jdecode(''),'/5569.html','true',[],'']];
var siteelementCount=59;
theSitetree.topTemplateName='Architekt';
theSitetree.paletteFamily='8CBBD8';
theSitetree.keyvisualId='1727';
theSitetree.keyvisualName='surfer.jpg';
theSitetree.fontsetId='281';
theSitetree.graphicsetId='348';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='8CBBD8';
var theTemplate={
				name: 			'Architekt',
				paletteFamily: 	'8CBBD8',
				keyvisualId: 	'1727',
				keyvisualName: 	'surfer.jpg',
				fontsetId: 		'281',
				graphicsetId: 	'348',
				contentColor: 	'000000',
				contentBGColor: '8CBBD8',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'8CBBD8',
				b_color: 		'338299',
				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['1006']={
webappId:    '1006',
documentId:  '4556',
internalId:  '1006',
customField: '1006'
};
webappMappings['2002']={
webappId:    '2002',
documentId:  '23301',
internalId:  'routing',
customField: 'es_ES'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4556',
internalId:  '',
customField: '20081201-104545'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '21801',
internalId:  '',
customField: '20060315-164021'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '25501',
internalId:  '',
customField: '20081104-232322'
};
webappMappings['2001']={
webappId:    '2001',
documentId:  '5569',
internalId:  'location',
customField: 'language:es;country:ES;isIncluded:false;'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '23801',
internalId:  '',
customField: '20081201-111810'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '8437',
internalId:  'aas010in2ww4feda6f9ff1',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '8469',
internalId:  'aas010in2ww4feda6f9ff1',
customField: 'followUp'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5569',
internalId:  '',
customField: '20040907-193204'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '6925',
internalId:  '',
customField: '20060315-141059'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '8437',
internalId:  '',
customField: '20040907-215013'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '8469',
internalId:  '',
customField: '20040907-214721'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '23301',
internalId:  '',
customField: '20081104-215200'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '27401',
internalId:  '',
customField: '20081105-205444'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '27422',
internalId:  '',
customField: '20081105-205444'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '27443',
internalId:  '',
customField: '20081105-205444'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '27464',
internalId:  '',
customField: '20081105-205444'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '27485',
internalId:  '',
customField: '20081105-205444'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '27506',
internalId:  '',
customField: '20081105-205444'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '27527',
internalId:  '',
customField: '20081105-205444'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '27548',
internalId:  '',
customField: '20081105-205444'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '27569',
internalId:  '',
customField: '20081105-205444'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '28201',
internalId:  '',
customField: '20081105-235820'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '28222',
internalId:  '',
customField: '20081105-235820'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '28243',
internalId:  '',
customField: '20081105-235820'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '28264',
internalId:  '',
customField: '20081105-235820'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '28285',
internalId:  '',
customField: '20081105-235820'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '28306',
internalId:  '',
customField: '20081105-235820'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '28327',
internalId:  '',
customField: '20081105-235820'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '34501',
internalId:  '',
customField: '20081201-100743'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '34522',
internalId:  '',
customField: '20081201-100743'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '36001',
internalId:  '',
customField: '20081201-155107'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '36022',
internalId:  '',
customField: '20081201-145701'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '36043',
internalId:  '',
customField: '20081201-112927'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '36064',
internalId:  '',
customField: '20081201-112927'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '36085',
internalId:  '',
customField: '20081201-112927'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '36106',
internalId:  '',
customField: '20081201-112927'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '36127',
internalId:  '',
customField: '20081201-112927'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '36148',
internalId:  '',
customField: '20081201-112927'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '36169',
internalId:  '',
customField: '20081201-160637'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '36190',
internalId:  '',
customField: '20081201-155852'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '36211',
internalId:  '',
customField: '20081201-112927'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '36232',
internalId:  '',
customField: '20081201-112927'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '36253',
internalId:  '',
customField: '20081201-112927'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '36274',
internalId:  '',
customField: '20081201-112927'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '36295',
internalId:  '',
customField: '20081201-112927'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '36316',
internalId:  '',
customField: '20081201-112927'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '36337',
internalId:  '',
customField: '20081201-112927'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '36358',
internalId:  '',
customField: '20081201-112927'
};
var canonHostname = 'wsc01a.arsys.es';
var accountId     = 'Aas010IN2WW4';
var companyName   = 'BUCS+-+-+-+-+-Boatlift+manager+-+-+-+-+-';
var htmlTitle	  = 'Bucs+LEscala+-+Sales+Manager+by+Boatlift';
var metaKeywords  = 'Mantenimiento+de+embarcaciones%2C+traslados%2C+servicios+portuarios%2C+equipos+de+varadero%2C+electronica%2C+remolques+autoportantes%2C+boatlift%2C+bucs%2C+navegacion%2C+gestion+de+reparaciones%2C+peritajes%2C+asesoramiento%2C+valoraciones%2C+trabajos+inoxidables%2C+formacion+tecnica';
var metaContents  = 'Servicios+Nauticos%2C+Inoxidable%2C+Acero%2C+Aluminio%2C+Hidraulica%2C+Mecanica%2C+Electricidad%2C+Electronica%2C+Buques+i+Carenage%2C+Montages+navales%2C+equipos+de+varadero%2C+remolques%2C+';
					                                                                    
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 */					                                                            
