/* [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('Home'),jdecode(''),'/4556.html','true',[],''],
	['PAGE','72201',jdecode('Novedades'),jdecode(''),'/72201/index.html','true',[ 
		['PAGE','87801',jdecode('Jornadas+y+congresos'),jdecode(''),'/72201/87801.html','true',[],''],
		['PAGE','87822',jdecode('Productos'),jdecode(''),'/72201/87822/index.html','true',[ 
			['PAGE','100001',jdecode('Productos+%28follow+up+page%29'),jdecode(''),'/72201/87822/100001.html','false',[],'']
		],'']
	],''],
	['PAGE','5230',jdecode('Qui%C3%A9nes+somos'),jdecode(''),'/5230.html','true',[],''],
	['PAGE','5203',jdecode('Productos'),jdecode(''),'/5203/index.html','true',[ 
		['PAGE','33501',jdecode('Ecofisiolog%C3%ADa+Vegetal'),jdecode(''),'/5203/33501/index.html','true',[ 
			['PAGE','96201',jdecode('Ecofisiolog%C3%ADa+Vegetal+%28follow+up+page%29'),jdecode(''),'/5203/33501/96201.html','false',[],'']
		],''],
		['PAGE','62801',jdecode('Calidad+del+agua'),jdecode(''),'/5203/62801/index.html','true',[ 
			['PAGE','99801',jdecode('Calidad+del+agua+%28follow+up+page%29'),jdecode(''),'/5203/62801/99801.html','false',[],'']
		],''],
		['PAGE','62843',jdecode('Estudio+del+suelo'),jdecode(''),'/5203/62843/index.html','true',[ 
			['PAGE','94901',jdecode('Estudio+del+suelo+%28follow+up+page%29'),jdecode(''),'/5203/62843/94901.html','false',[],'']
		],''],
		['PAGE','67101',jdecode('Climatolog%C3%ADa'),jdecode(''),'/5203/67101/index.html','true',[ 
			['PAGE','94701',jdecode('Climatolog%C3%ADa+%28follow+up+page%29'),jdecode(''),'/5203/67101/94701.html','false',[],'']
		],''],
		['PAGE','62864',jdecode('Data+loggers'),jdecode(''),'/5203/62864/index.html','true',[ 
			['PAGE','93301',jdecode('Data+loggers+%28follow+up+page%29'),jdecode(''),'/5203/62864/93301.html','false',[],'']
		],''],
		['PAGE','67122',jdecode('Sensores'),jdecode(''),'/5203/67122/index.html','true',[ 
			['PAGE','94601',jdecode('Sensores+%28follow+up+page%29'),jdecode(''),'/5203/67122/94601.html','false',[],'']
		],''],
		['PAGE','67143',jdecode('C%C3%A1maras+de+cultivo+'),jdecode(''),'/5203/67143/index.html','true',[ 
			['PAGE','96001',jdecode('C%C3%A1maras+de+cultivo++%28follow+up+page%29'),jdecode(''),'/5203/67143/96001.html','false',[],'']
		],''],
		['PAGE','65501',jdecode('Alquiler+y+2a+mano'),jdecode(''),'/5203/65501.html','true',[],'']
	],''],
	['PAGE','33522',jdecode('Servicios'),jdecode(''),'/33522/index.html','true',[ 
		['PAGE','62885',jdecode('Consultor%C3%ADa+T%C3%A9cnica'),jdecode(''),'/33522/62885.html','true',[],''],
		['PAGE','65101',jdecode('Extern.+I%2BD%2BI'),jdecode(''),'/33522/65101.html','true',[],''],
		['PAGE','65122',jdecode('Venta+y+reparaci%C3%B3n'),jdecode(''),'/33522/65122.html','true',[],''],
		['PAGE','62927',jdecode('Ingenier%C3%ADa'),jdecode(''),'/33522/62927.html','true',[],''],
		['PAGE','62948',jdecode('Formaci%C3%B3n'),jdecode(''),'/33522/62948.html','true',[],'']
	],''],
	['PAGE','56022',jdecode('I%2BD%2BI'),jdecode(''),'/56022/index.html','true',[ 
		['PAGE','62969',jdecode('Proyectos'),jdecode(''),'/56022/62969.html','true',[],''],
		['PAGE','63011',jdecode('Art%C3%ADculos'),jdecode(''),'/56022/63011.html','true',[],'']
	],''],
	['PAGE','63032',jdecode('Enlaces+de+inter%C3%A9s'),jdecode(''),'/63032.html','true',[],''],
	['PAGE','72222',jdecode('Contacto'),jdecode(''),'/72222/index.html','true',[ 
		['PAGE','109701',jdecode('Contacto+%28follow+up+page%29'),jdecode(''),'/72222/109701.html','false',[],'']
	],'']];
var siteelementCount=34;
theSitetree.topTemplateName='Speed';
theSitetree.paletteFamily='3F751D';
theSitetree.keyvisualId='2322';
theSitetree.keyvisualName='digital2.jpg';
theSitetree.fontsetId='373';
theSitetree.graphicsetId='425';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='3F751D';
var theTemplate={
				name: 			'Speed',
				paletteFamily: 	'3F751D',
				keyvisualId: 	'2322',
				keyvisualName: 	'digital2.jpg',
				fontsetId: 		'373',
				graphicsetId: 	'425',
				contentColor: 	'FFFFFF',
				contentBGColor: '3F751D',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'3F751D',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1006']={
webappId:    '1006',
documentId:  '4556',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '67122',
internalId:  '',
customField: '20091102-104747'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '67143',
internalId:  '',
customField: '20091028-103310'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4556',
internalId:  '',
customField: '20091111-081757'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5203',
internalId:  '',
customField: '20091102-093333'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5230',
internalId:  '',
customField: '20091102-092905'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '62801',
internalId:  '',
customField: '20091027-100359'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '67101',
internalId:  '',
customField: '20091026-101728'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '62843',
internalId:  '',
customField: '20091102-113400'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '62864',
internalId:  '',
customField: '20091102-094407'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '62885',
internalId:  '',
customField: '20091102-094928'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '62927',
internalId:  '',
customField: '20091102-100216'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '62948',
internalId:  '',
customField: '20091030-120925'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '62969',
internalId:  '',
customField: '20091030-094858'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '87801',
internalId:  '',
customField: '20091028-084153'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '63011',
internalId:  '',
customField: '20090924-144512'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '63032',
internalId:  '',
customField: '20091111-100242'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '65101',
internalId:  '',
customField: '20091102-095629'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '65122',
internalId:  '',
customField: '20091102-095736'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '109701',
internalId:  '',
customField: '20091021-082905'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '96001',
internalId:  '',
customField: '20091001-105434'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '67122',
internalId:  'aas010inei4b1240f326558',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '94601',
internalId:  'aas010inei4b1240f326558',
customField: 'followUp'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '72201',
internalId:  '',
customField: '20091102-092429'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '72222',
internalId:  '',
customField: '20091026-103227'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '87822',
internalId:  '',
customField: '20091102-114341'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '72222',
internalId:  'aas010inei4b12475c8d09a',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '109701',
internalId:  'aas010inei4b12475c8d09a',
customField: 'followUp'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '65501',
internalId:  '',
customField: '20091102-094706'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '33501',
internalId:  '',
customField: '20091102-113136'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '33522',
internalId:  '',
customField: '20091102-094747'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '67101',
internalId:  'aas010inei4b1240f39a93a',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '94701',
internalId:  'aas010inei4b1240f39a93a',
customField: 'followUp'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '67143',
internalId:  'aas010inei4b1240f4ed183',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '96001',
internalId:  'aas010inei4b1240f4ed183',
customField: 'followUp'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '33501',
internalId:  'aas010inei4b1240f559dec',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '96201',
internalId:  'aas010inei4b1240f559dec',
customField: 'followUp'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '56022',
internalId:  '',
customField: '20091102-103209'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '62864',
internalId:  'aas010inei4b1240ee39a9e',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '93301',
internalId:  'aas010inei4b1240ee39a9e',
customField: 'followUp'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '93301',
internalId:  '',
customField: '20091001-085728'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '62801',
internalId:  'aas010inei4b124383f42bd',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '62843',
internalId:  'aas010inei4b1240f3acfc1',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '94901',
internalId:  'aas010inei4b1240f3acfc1',
customField: 'followUp'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '96201',
internalId:  '',
customField: '20091001-110159'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '99801',
internalId:  'aas010inei4b124383f42bd',
customField: 'followUp'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '94901',
internalId:  '',
customField: '20091001-103243'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '94701',
internalId:  '',
customField: '20091001-103127'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '94601',
internalId:  '',
customField: '20091001-102331'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '100001',
internalId:  'aas010inei4b1243840bba1',
customField: 'followUp'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '87822',
internalId:  'aas010inei4b1243840bba1',
customField: ''
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '100001',
internalId:  '',
customField: '20091009-094337'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '99801',
internalId:  '',
customField: '20091009-094200'
};
var canonHostname = 'wsc01a.arsys.es';
var accountId     = 'Aas010INEI4B';
var companyName   = 'Sol+Franc+Tecnologias';
var htmlTitle	  = 'Tecnolog%C3%ADa+para+la+Agricultura+y+el+Medio+Ambiente';
var metaKeywords  = 'gesti%C3%B3n+recursos+hidricos%2C+gesti%C3%B3n+cultivos%2C+sensores+suelo%2C+temperatura%2C+camara+presi%C3%B3n%2C+bomba+presi%C3%B3n%2C+estacione+climatica%2C+clima%2C+planta%2C+suelo%2C+monitorizacion%2C+fitomonitorizacion%2C+scholander%2C+irga%2C+fotosintesis%2C+scanner%2C+clorofila%2C+dendrometro%2C+sensor%2C+fruto%2C+agricultura%2C+forestal%2C+jardineria%2C+medio+ambiente%2C+contaminacion%2C+inputs%2C+sensores%2C+fertilizacion%2C+monitorizacion+cultivos%2C+wireless%2C+gsm%2C+gps%2C+sostenible%2C+cambio+climatico%2C+sostenibilidas';
var metaContents  = 'Servicios+agron%C3%B3micos+y+medioambientales.+Sistemas+de+comunicaci%C3%B3n+via+radio+para+la+gesti%C3%B3n+inteligente+de+los+recursos+h%C3%ADdricos%2C+agricultura%2C+forestal%2C+jardineria%2C+medio+ambiente%2C+contaminacion%2C+inputs%2C+sensores%2C+fertilizacion%2C+monitorizacion+de+cultivos%2C+asesoria%2C+formacion%2C+i%2Bd%2C+wireless%2C+gsm%2C+gps%2C+riego%2C+sostenible';
					                                                                    
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 */					                                                            
