/* [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','501',jdecode('Inicio'),jdecode(''),'/501/index.html','true',[ 
		['PAGE','18964',jdecode('Aviso+Legal'),jdecode(''),'/501/18964.html','true',[],''],
		['PAGE','18901',jdecode('Cond.+de+Uso'),jdecode(''),'/501/18901.html','true',[],'']
	],''],
	['PAGE','657',jdecode('Cont%C3%A1ctenos'),jdecode(''),'/657/index.html','true',[ 
		['PAGE','2001',jdecode('Cont%C3%A1ctenos+%28follow+up+page%29'),jdecode(''),'/657/2001.html','false',[],'']
	],''],
	['PAGE','573',jdecode('%C2%BFQuienes+Somos%3F'),jdecode(''),'/573/index.html','true',[ 
		['PAGE','18943',jdecode('Donde+Estamos'),jdecode(''),'/573/18943.html','true',[],'']
	],''],
	['PAGE','21612',jdecode('Filosof%C3%ADa'),jdecode(''),'/21612.html','true',[],''],
	['PAGE','32912',jdecode('PUBLICIDAD'),jdecode(''),'/32912/index.html','true',[ 
		['PAGE','35938',jdecode('solobranueva.com'),jdecode(''),'/32912/35938.html','true',[],''],
		['PAGE','41712',jdecode('Banners'),jdecode(''),'/32912/41712.html','true',[],'']
	],''],
	['PAGE','35812',jdecode('Art%C3%ADculos+Publicados'),jdecode(''),'/35812.html','true',[],''],
	['PAGE','38833',jdecode('Cond.+PROMOCIONES'),jdecode(''),'/38833/index.html','true',[ 
		['PAGE','40512',jdecode('Lanzamiento'),jdecode(''),'/38833/40512.html','true',[],''],
		['PAGE','40533',jdecode('Pack+Adment'),jdecode(''),'/38833/40533.html','true',[],''],
		['PAGE','40554',jdecode('Pack+Medium'),jdecode(''),'/38833/40554.html','true',[],''],
		['PAGE','40575',jdecode('Pack+Full'),jdecode(''),'/38833/40575.html','true',[],''],
		['PAGE','40596',jdecode('2%E2%82%AC+al+d%C3%ADa'),jdecode(''),'/38833/40596.html','true',[],'']
	],''],
	['PAGE','34633',jdecode('PORTALES'),jdecode(''),'/34633.html','true',[],''],
	['PAGE','35212',jdecode('solobranueva.com'),jdecode(''),'/35212/index.html','true',[ 
		['PAGE','32412',jdecode('Contrato+Cesi%C3%B3n+'),jdecode(''),'/35212/32412.html','true',[],''],
		['PAGE','34212',jdecode('T%C3%A9rm.+y+Cond.'),jdecode(''),'/35212/34212.html','true',[],''],
		['PAGE','35833',jdecode('Aviso+Legal'),jdecode(''),'/35212/35833.html','true',[],''],
		['PAGE','35854',jdecode('Cond.+de+Uso'),jdecode(''),'/35212/35854.html','true',[],''],
		['PAGE','38812',jdecode('Alquiler+Software'),jdecode(''),'/35212/38812.html','true',[],'']
	],''],
	['PAGE','34654',jdecode('SOFTWARE'),jdecode(''),'/34654/index.html','true',[ 
		['PAGE','35875',jdecode('Cond.+Gestor+'),jdecode(''),'/34654/35875.html','true',[],''],
		['PAGE','35896',jdecode('Cond.+Web+Creator'),jdecode(''),'/34654/35896.html','true',[],''],
		['PAGE','40617',jdecode('Cond.+Store'),jdecode(''),'/34654/40617.html','true',[],'']
	],''],
	['PAGE','35959',jdecode('SERVICIOS'),jdecode(''),'/35959.html','true',[],''],
	['PAGE','35980',jdecode('Producci%C3%B3n'),jdecode(''),'/35980.html','true',[],''],
	['PAGE','36001',jdecode('Comunicaci%C3%B3n'),jdecode(''),'/36001.html','true',[],''],
	['PAGE','34717',jdecode('Comerce'),jdecode(''),'/34717/index.html','true',[ 
		['PAGE','36022',jdecode('Aviso+Legal'),jdecode(''),'/34717/36022.html','true',[],''],
		['PAGE','36043',jdecode('Cond.+de+Uso'),jdecode(''),'/34717/36043.html','true',[],''],
		['PAGE','34738',jdecode('GESTI%C3%93N+de+Tiendas'),jdecode(''),'/34717/34738.html','true',[],'']
	],''],
	['PAGE','34696',jdecode('Financiaci%C3%B3n'),jdecode(''),'/34696.html','true',[],''],
	['PAGE','34759',jdecode('FRANQUICIAS'),jdecode(''),'/34759.html','true',[],''],
	['PAGE','40638',jdecode('OTROS+Servicios'),jdecode(''),'/40638/index.html','true',[ 
		['PAGE','40659',jdecode('Hosting'),jdecode(''),'/40638/40659.html','true',[],''],
		['PAGE','40680',jdecode('Dominios'),jdecode(''),'/40638/40680.html','true',[],''],
		['PAGE','40701',jdecode('Soporte'),jdecode(''),'/40638/40701.html','true',[],''],
		['PAGE','40722',jdecode('LSSI+-+LOPD'),jdecode(''),'/40638/40722.html','true',[],'']
	],''],
	['PAGE','34612',jdecode('CONFIANZA'),jdecode(''),'/34612.html','true',[],''],
	['PAGE','37112',jdecode('Medio+Ambiente'),jdecode(''),'/37112.html','true',[],''],
	['PAGE','37133',jdecode('T%C3%A9rminos'),jdecode(''),'/37133/index.html','true',[ 
		['PAGE','37912',jdecode('Banner'),jdecode(''),'/37133/37912.html','true',[],''],
		['PAGE','37933',jdecode('Franquicias'),jdecode(''),'/37133/37933.html','true',[],''],
		['PAGE','37954',jdecode('Gestion+Digital'),jdecode(''),'/37133/37954.html','true',[],''],
		['PAGE','37975',jdecode('Web'),jdecode(''),'/37133/37975.html','true',[],''],
		['PAGE','37996',jdecode('Gestor+de+Contenidos'),jdecode(''),'/37133/37996.html','true',[],'']
	],''],
	['PAGE','30212',jdecode('Blog'),jdecode(''),'/30212.html','true',[],''],
	['PAGE','18922',jdecode('Enlaces'),jdecode(''),'/18922.html','true',[],'']];
var siteelementCount=53;
theSitetree.topTemplateName='Moonflight';
theSitetree.paletteFamily='5B7A93';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='447';
theSitetree.graphicsetId='499';
theSitetree.contentColor='666666';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Moonflight',
				paletteFamily: 	'5B7A93',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'447',
				graphicsetId: 	'499',
				contentColor: 	'666666',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'2C5574',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1001']={
webappId:    '1001',
documentId:  '657',
internalId:  'aars20in3j081158af73ed0',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '2001',
internalId:  'aars20in3j081158af73ed0',
customField: 'followUp'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '501',
internalId:  '',
customField: '20080421-145503'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '573',
internalId:  '',
customField: '20080409-120751'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '18901',
internalId:  '',
customField: '20080513-185254'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '18943',
internalId:  '',
customField: '20080409-103811'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '657',
internalId:  '',
customField: '20080516-124749'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '2001',
internalId:  '',
customField: '20071010-193000'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '501',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '18922',
internalId:  '',
customField: '20080513-182802'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '18964',
internalId:  '',
customField: '20080409-120601'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '21612',
internalId:  '',
customField: '20080409-115627'
};
webappMappings['3030']={
webappId:    '3030',
documentId:  '30212',
internalId:  '30212',
customField: 'language:es;country:ES;'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '30212',
internalId:  '',
customField: '20080409-132128'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '32412',
internalId:  '',
customField: '20080515-124742'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '32912',
internalId:  '',
customField: '20080516-133417'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '34212',
internalId:  '',
customField: '20080515-131929'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '34612',
internalId:  '',
customField: '20080516-115803'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '34633',
internalId:  '',
customField: '20080516-115803'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '34654',
internalId:  '',
customField: '20080516-115803'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '40512',
internalId:  '',
customField: '20080613-164106'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '34696',
internalId:  '',
customField: '20080516-115803'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '34717',
internalId:  '',
customField: '20080516-115803'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '34738',
internalId:  '',
customField: '20080516-115803'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '34759',
internalId:  '',
customField: '20080516-115803'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '35212',
internalId:  '',
customField: '20080611-134224'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '35812',
internalId:  '',
customField: '20080516-131119'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '35833',
internalId:  '',
customField: '20080516-122428'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '35854',
internalId:  '',
customField: '20080611-134036'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '35875',
internalId:  '',
customField: '20080516-122428'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '35896',
internalId:  '',
customField: '20080516-122428'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '37912',
internalId:  '',
customField: '20080516-135633'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '35938',
internalId:  '',
customField: '20080516-170403'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '35959',
internalId:  '',
customField: '20080516-122428'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '35980',
internalId:  '',
customField: '20080516-122428'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '36001',
internalId:  '',
customField: '20080516-122428'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '36022',
internalId:  '',
customField: '20080516-122428'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '36043',
internalId:  '',
customField: '20080516-122428'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '37112',
internalId:  '',
customField: '20080516-133043'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '37133',
internalId:  '',
customField: '20080516-133043'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '37933',
internalId:  '',
customField: '20080516-135633'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '37954',
internalId:  '',
customField: '20080516-135633'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '37975',
internalId:  '',
customField: '20080516-135633'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '37996',
internalId:  '',
customField: '20080516-135633'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '38812',
internalId:  '',
customField: '20080611-131539'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '38833',
internalId:  '',
customField: '20080611-125725'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '40533',
internalId:  '',
customField: '20080613-164106'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '40554',
internalId:  '',
customField: '20080613-164106'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '40575',
internalId:  '',
customField: '20080613-164106'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '40596',
internalId:  '',
customField: '20080613-164106'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '40617',
internalId:  '',
customField: '20080613-164106'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '40638',
internalId:  '',
customField: '20080613-164106'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '40659',
internalId:  '',
customField: '20080613-164106'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '40680',
internalId:  '',
customField: '20080613-164106'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '40701',
internalId:  '',
customField: '20080613-164106'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '40722',
internalId:  '',
customField: '20080613-164106'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41712',
internalId:  '',
customField: '20080613-180209'
};
var canonHostname = 'wsc01a.arsys.es';
var accountId     = 'AARS20IN3J08';
var companyName   = '+RUPUPEHUEN+SOCIEDAD+LIMITADA';
var htmlTitle	  = 'rupupehuen.es';
var metaKeywords  = 'meta+name%3Dverify-v1+content%3Dby88mVScAvwhlvbrgHj4JTQLsE1OAKL2lSEC4DCnAtY%3D+%2F++rupupehuen+inmuebles+regalos+dominios+dise%C3%B1o+contratos+imagines+lopd+lssi+consultoria+importadora+financia+gestion+inmobiliaria+fotos+publicidad+tienda+ventas+espa%C3%B1a+ventas+brasil+ventas+portugal+ventas+italia+ventas+argentina+ventas+uruguay+franquicias';
var metaContents  = 'meta+name%3Dverify-v1+content%3Dby88mVScAvwhlvbrgHj4JTQLsE1OAKL2lSEC4DCnAtY%3D+%2F';
					                                                                    
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 */					                                                            

