/* [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','4517',jdecode('INICIO'),jdecode(''),'/4517.html','true',[],''],
	['PAGE','15948',jdecode('TIARAS+CLASICAS'),jdecode(''),'/15948/index.html','true',[ 
		['PAGE','16236',jdecode('TIARAS+CLASICAS+%28follow+up+page%29'),jdecode(''),'/15948/16236.html','false',[],'']
	],''],
	['PAGE','4601',jdecode('TIARAS'),jdecode(''),'/4601/index.html','true',[ 
		['PAGE','7181',jdecode('TIARAS+%28follow+up+page%29'),jdecode(''),'/4601/7181.html','false',[],''],
		['PAGE','14476',jdecode('TIARAS+p%E1g.2'),jdecode(''),'/4601/14476.html','true',[],''],
		['PAGE','15324',jdecode('TIARAS+p%E1g.+2+%28follow+up+page%29'),jdecode(''),'/4601/15324.html','false',[],''],
		['PAGE','14992',jdecode('TIARAS+p%E1g.3'),jdecode(''),'/4601/14992.html','true',[],''],
		['PAGE','15718',jdecode('TIARAS+p%E1g.3+%28follow+up+page%29'),jdecode(''),'/4601/15718.html','false',[],'']
	],''],
	['PAGE','13586',jdecode('DIADEMAS'),jdecode(''),'/13586/index.html','true',[ 
		['PAGE','13994',jdecode('DIADEMAS+%28follow+up+page%29'),jdecode(''),'/13586/13994.html','false',[],'']
	],''],
	['PAGE','16468',jdecode('AGUJAS'),jdecode(''),'/16468/index.html','true',[ 
		['PAGE','17096',jdecode('AGUJAS+%28follow+up+page%29'),jdecode(''),'/16468/17096.html','false',[],''],
		['PAGE','17329',jdecode('AGUJAS+p%E1g.2'),jdecode(''),'/16468/17329/index.html','true',[ 
			['PAGE','30175',jdecode('AGUJAS+p%E1g.2+%28follow+up+page%29'),jdecode(''),'/16468/17329/30175.html','false',[],'']
		],'']
	],''],
	['PAGE','4628',jdecode('PEINETAS+CL%C1SICAS'),jdecode(''),'/4628/index.html','true',[ 
		['PAGE','9009',jdecode('PEINETAS+%28follow+up+page%29'),jdecode(''),'/4628/9009.html','false',[],'']
	],''],
	['PAGE','26752',jdecode('PEINETAS+'),jdecode(''),'/26752/index.html','true',[ 
		['PAGE','29842',jdecode('PEINETAS+P%E1g.2+%28follow+up+page%29'),jdecode(''),'/26752/29842.html','false',[],''],
		['PAGE','28325',jdecode('PEINETAS+P%E1g.1'),jdecode(''),'/26752/28325.html','true',[],''],
		['PAGE','28820',jdecode('PEINETAS+P%E1g.3+%28follow+up+page%29'),jdecode(''),'/26752/28820.html','false',[],'']
	],''],
	['PAGE','4655',jdecode('PEINAS'),jdecode(''),'/4655/index.html','true',[ 
		['PAGE','9676',jdecode('PEINAS+%28follow+up+page%29'),jdecode(''),'/4655/9676.html','false',[],'']
	],''],
	['PAGE','4682',jdecode('HORQUILLAS+'),jdecode(''),'/4682/index.html','true',[ 
		['PAGE','12697',jdecode('HORQUILLAS+Y+AGUJAS+%28follow+up+page%29'),jdecode(''),'/4682/12697.html','false',[],''],
		['PAGE','17625',jdecode('HORQUILLAS+P%E1g.2'),jdecode(''),'/4682/17625.html','true',[],''],
		['PAGE','18719',jdecode('HORQUILLAS+p%E1g.2+%28follow+up+page%29'),jdecode(''),'/4682/18719.html','false',[],''],
		['PAGE','21823',jdecode('HORQUILLAS+P%E1g.3'),jdecode(''),'/4682/21823.html','true',[],''],
		['PAGE','22394',jdecode('HORQUILLAS+P%E1g.7+%28follow+up+page%29'),jdecode(''),'/4682/22394.html','false',[],''],
		['PAGE','20956',jdecode('HORQUILLAS+P%E1g.4'),jdecode(''),'/4682/20956/index.html','true',[ 
			['PAGE','30719',jdecode('HORQUILLAS+P%E1g.4+%28follow+up+page%29'),jdecode(''),'/4682/20956/30719.html','false',[],'']
		],''],
		['PAGE','20225',jdecode('HORQUILLAS+P%E1g.5'),jdecode(''),'/4682/20225.html','true',[],''],
		['PAGE','22672',jdecode('HORQUILLAS+P%E1g.5+%28follow+up+page%29'),jdecode(''),'/4682/22672.html','false',[],''],
		['PAGE','19492',jdecode('HORQUILLAS+P%E1g.6'),jdecode(''),'/4682/19492.html','true',[],''],
		['PAGE','19995',jdecode('HORQUILLAS+p%E1g.4+%28follow+up+page%29'),jdecode(''),'/4682/19995.html','false',[],''],
		['PAGE','17652',jdecode('HORQUILLAS+P%E1g.7'),jdecode(''),'/4682/17652.html','true',[],''],
		['PAGE','19265',jdecode('HORQUILLAS+p%E1g.3+%28follow+up+page%29'),jdecode(''),'/4682/19265.html','false',[],'']
	],''],
	['PAGE','24487',jdecode('FLORES+'),jdecode(''),'/24487/index.html','true',[ 
		['PAGE','25939',jdecode('FLORES++%28follow+up+page%29'),jdecode(''),'/24487/25939.html','false',[],''],
		['PAGE','23628',jdecode('FLORES+P%E1g.2'),jdecode(''),'/24487/23628/index.html','true',[ 
			['PAGE','30756',jdecode('FLORES+P%E1g.2+%28follow+up+page%29'),jdecode(''),'/24487/23628/30756.html','false',[],'']
		],''],
		['PAGE','22621',jdecode('FLORES+p%E1g.3'),jdecode(''),'/24487/22621.html','true',[],'']
	],''],
	['PAGE','33625',jdecode('PICKS+DE+COMUNI%D3N'),jdecode(''),'/33625/index.html','true',[ 
		['PAGE','34387',jdecode('PICKS+DE+COMUNI%D3N+%28follow+up+page%29'),jdecode(''),'/33625/34387.html','false',[],''],
		['PAGE','28939',jdecode('FLORES+p%E1g.3+%28follow+up+page%29'),jdecode(''),'/33625/28939.html','false',[],'']
	],''],
	['PAGE','40041',jdecode('PICK+DE+NOVIA+Y+FIESTA'),jdecode(''),'/40041/index.html','true',[ 
		['PAGE','41271',jdecode('PICK+DE+NOVIA+Y+FIESTA+%28follow+up+page%29'),jdecode(''),'/40041/41271.html','false',[],''],
		['PAGE','41500',jdecode('PICK+NOVIA+Y+FIESTA'),jdecode(''),'/40041/41500.html','true',[],'']
	],''],
	['PAGE','38755',jdecode('CINTAS'),jdecode(''),'/38755/index.html','true',[ 
		['PAGE','39274',jdecode('CINTAS+%28follow+up+page%29'),jdecode(''),'/38755/39274.html','false',[],'']
	],''],
	['PAGE','31025',jdecode('OTROS+COMPLEMENTOS'),jdecode(''),'/31025/index.html','true',[ 
		['PAGE','31601',jdecode('OTROS+COMPLEMENTOS+%28follow+up+page%29'),jdecode(''),'/31025/31601.html','false',[],''],
		['PAGE','31824',jdecode('COMPLEMENTOS'),jdecode(''),'/31025/31824/index.html','true',[ 
			['PAGE','32286',jdecode('COMPLEMENTOS+%28follow+up+page%29'),jdecode(''),'/31025/31824/32286.html','false',[],'']
		],'']
	],''],
	['PAGE','10306',jdecode('PEINADOS+DE+NOVIAS'),jdecode(''),'/10306.html','true',[],''],
	['PAGE','11243',jdecode('VESTIDOS+DE+NOVIAS'),jdecode(''),'/11243.html','true',[],''],
	['PAGE','4736',jdecode('FORO'),jdecode(''),'/4736.html','true',[],''],
	['PAGE','7425',jdecode('PELUQUER%CDA'),jdecode(''),'/7425.html','true',[],''],
	['PAGE','5027',jdecode('ENLACES+DE+INTER%C9S'),jdecode(''),'/5027.html','true',[],''],
	['PAGE','5334',jdecode('LIBRO+DE+VISITAS'),jdecode(''),'/5334/index.html','true',[ 
		['PAGE','5335',jdecode('LEER+LIBRO+DE+VISITAS'),jdecode(''),'/5334/5335.html','true',[],'']
	],''],
	['PAGE','32525',jdecode('CONDICIONES+GENERALES'),jdecode(''),'/32525.html','true',[],''],
	['PAGE','33052',jdecode('CONTACTO'),jdecode(''),'/33052/index.html','true',[ 
		['PAGE','33092',jdecode('CONTACTO+%28follow+up+page%29'),jdecode(''),'/33052/33092.html','false',[],'']
	],''],
	['PAGE','40955',jdecode('P%C1GINA+EN+PRUEBAS'),jdecode(''),'/40955.html','true',[],'']];
var siteelementCount=65;
theSitetree.topTemplateName='Speed';
					                                                                    
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 */					                                                            
