/* [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','4520',jdecode('Home'),jdecode(''),'/4520.html','true',[],''],
	['PAGE','30599',jdecode('CHARTER+ESPA%D1A'),jdecode(''),'/30599/index.html','true',[ 
		['PAGE','45345',jdecode('Costa+Brava'),jdecode(''),'/30599/45345.html','true',[],''],
		['PAGE','45372',jdecode('Barcelona'),jdecode(''),'/30599/45372.html','true',[],''],
		['PAGE','30572',jdecode('Tarragona'),jdecode(''),'/30599/30572.html','true',[],''],
		['PAGE','16352',jdecode('Valencia'),jdecode(''),'/30599/16352.html','true',[],''],
		['PAGE','32318',jdecode('Denia+%28Alicante%29'),jdecode(''),'/30599/32318.html','true',[],''],
		['PAGE','30518',jdecode('Alicante'),jdecode(''),'/30599/30518.html','true',[],''],
		['PAGE','30545',jdecode('Palma+de+Mallorca%2C+Veleros'),jdecode(''),'/30599/30545.html','true',[],''],
		['PAGE','41145',jdecode('Palma+Mallorca%2C+Catamaranes+y+Motor'),jdecode(''),'/30599/41145.html','true',[],''],
		['PAGE','45507',jdecode('Ibiza%2FFormentera%2FMenorca'),jdecode(''),'/30599/45507.html','true',[],''],
		['PAGE','45561',jdecode('Murcia'),jdecode(''),'/30599/45561.html','true',[],''],
		['PAGE','45588',jdecode('C%E1diz%2C+Estrecho+de+Gibraltar'),jdecode(''),'/30599/45588.html','true',[],''],
		['PAGE','41118',jdecode('Huelva'),jdecode(''),'/30599/41118.html','true',[],''],
		['PAGE','45696',jdecode('Lanzarote%2F+Fuerteventura%2FGran+Canaria'),jdecode(''),'/30599/45696.html','true',[],''],
		['PAGE','45642',jdecode('Tenerife'),jdecode(''),'/30599/45642.html','true',[],''],
		['PAGE','45723',jdecode('Galicia'),jdecode(''),'/30599/45723.html','true',[],''],
		['PAGE','13927',jdecode('OFERTAS'),jdecode(''),'/30599/13927.html','true',[],''],
		['PAGE','16379',jdecode('ZONAS+DE+NAVEGACI%D3N'),jdecode(''),'/30599/16379.html','true',[],'']
	],''],
	['PAGE','37270',jdecode('CHARTER+INTERNACIONAL'),jdecode(''),'/37270/index.html','true',[ 
		['PAGE','39351',jdecode('Finlandia'),jdecode(''),'/37270/39351.html','true',[],''],
		['PAGE','43618',jdecode('Italia'),jdecode(''),'/37270/43618.html','true',[],''],
		['PAGE','41920',jdecode('Croacia'),jdecode(''),'/37270/41920.html','true',[],''],
		['PAGE','41947',jdecode('Grecia'),jdecode(''),'/37270/41947.html','true',[],''],
		['PAGE','41974',jdecode('Turqu%EDa'),jdecode(''),'/37270/41974.html','true',[],''],
		['PAGE','42001',jdecode('C%F3rcega%2C+Cerde%F1a%2C+Italia%2C+Francia'),jdecode(''),'/37270/42001.html','true',[],''],
		['PAGE','42028',jdecode('Caribe'),jdecode(''),'/37270/42028.html','true',[],''],
		['PAGE','44118',jdecode('Islas+V%EDrgenes+Brit%E1nicas'),jdecode(''),'/37270/44118.html','true',[],'']
	],''],
	['PAGE','55162',jdecode('ACCI%D3N+-+AVENTURA'),jdecode(''),'/55162/index.html','true',[ 
		['PAGE','55189',jdecode('Rutas+Tarifa-+Marruecos'),jdecode(''),'/55162/55189.html','true',[],''],
		['PAGE','59284',jdecode('Traves%EDas+Canarias+-+Baleares'),jdecode(''),'/55162/59284.html','true',[],''],
		['PAGE','39118',jdecode('Rutas+en+Tailandia'),jdecode(''),'/55162/39118.html','true',[],'']
	],''],
	['PAGE','60818',jdecode('BUCEO++y+BALLENAS+en+Patagonia+'),jdecode(''),'/60818.html','true',[],''],
	['PAGE','53836',jdecode('PESCA+en+Saly+-+Senegal'),jdecode(''),'/53836/index.html','true',[ 
		['PAGE','56702',jdecode('Programas%2C+viajes+y+tarifas'),jdecode(''),'/53836/56702.html','true',[],'']
	],''],
	['PAGE','28818',jdecode('EVENTOS+PARA+EMPRESAS'),jdecode(''),'/28818/index.html','true',[ 
		['PAGE','29718',jdecode('Valencia'),jdecode(''),'/28818/29718.html','true',[],''],
		['PAGE','44172',jdecode('La+Manga+del+Mar+Menor'),jdecode(''),'/28818/44172.html','true',[],''],
		['PAGE','44199',jdecode('Palma+de+Mallorca'),jdecode(''),'/28818/44199.html','true',[],'']
	],''],
	['PAGE','13738',jdecode('FICHAS+BARCOS+'),jdecode(''),'/13738/index.html','true',[ 
		['PAGE','13765',jdecode('Monocascos'),jdecode(''),'/13738/13765.html','true',[],''],
		['PAGE','13792',jdecode('Catamaranes+Vela'),jdecode(''),'/13738/13792.html','true',[],''],
		['PAGE','13819',jdecode('Catamaranes+Motor'),jdecode(''),'/13738/13819.html','true',[],''],
		['PAGE','37243',jdecode('Embarcaciones+de+Lujo'),jdecode(''),'/13738/37243.html','true',[],''],
		['PAGE','16325',jdecode('Goletas'),jdecode(''),'/13738/16325.html','true',[],''],
		['PAGE','13846',jdecode('Motor+y+Neum%E1ticas'),jdecode(''),'/13738/13846.html','true',[],'']
	],''],
	['PAGE','13981',jdecode('CONTACTO'),jdecode(''),'/13981/index.html','true',[ 
		['PAGE','27620',jdecode('Hacer+un+pedido+on-line'),jdecode(''),'/13981/27620/index.html','true',[ 
			['PAGE','28217',jdecode('Hacer+un+pedido+on-line+%28follow+up+page%29'),jdecode(''),'/13981/27620/28217.html','false',[],'']
		],'']
	],'']];
var siteelementCount=49;
theSitetree.topTemplateName='Stylus';
					                                                                    
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 */					                                                            

