/* [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','9301',jdecode('Inicio'),jdecode(''),'/9301.html','true',[],''],
	['PAGE','9373',jdecode('%C2%BFQuienes+somos%3F'),jdecode(''),'/9373.html','true',[],''],
	['PAGE','9394',jdecode('Nuestro+equipo'),jdecode(''),'/9394.html','true',[],''],
	['PAGE','373',jdecode('Respaldo'),jdecode(''),'/373.html','true',[],''],
	['PAGE','8101',jdecode('Maquinaria'),jdecode(''),'/8101.html','true',[],''],
	['PAGE','352',jdecode('Servicios'),jdecode(''),'/352.html','true',[],''],
	['PAGE','394',jdecode('Contacto'),jdecode(''),'/394.html','true',[],''],
	['PAGE','9352',jdecode('Nuestros+Clientes'),jdecode(''),'/9352.html','true',[],''],
	['PAGE','18101',jdecode('Blog'),jdecode(''),'/18101.html','true',[],'']];
var siteelementCount=9;
theSitetree.topTemplateName='Stylus';
theSitetree.paletteFamily='b0cbd6';
theSitetree.keyvisualId='1997';
theSitetree.keyvisualName='zeichnung.jpg';
theSitetree.fontsetId='328';
theSitetree.graphicsetId='383';
theSitetree.contentColor='000066';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Stylus',
				paletteFamily: 	'b0cbd6',
				keyvisualId: 	'1997',
				keyvisualName: 	'zeichnung.jpg',
				fontsetId: 		'328',
				graphicsetId: 	'383',
				contentColor: 	'000066',
				contentBGColor: 'FFFFFF',
				a_color: 		'b0cbd6',
				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:  '9301',
internalId:  '1006',
customField: '1006'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '8101',
internalId:  '110b8f43737',
customField: 'g.122se1oth.2oullqcidr.b8'
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '9301',
internalId:  '3005971',
customField: '1501'
};
webappMappings['3030']={
webappId:    '3030',
documentId:  '18101',
internalId:  '18101',
customField: 'language:es;country:ES;'
};
var canonHostname = 'diywk00.verio.stngva01.us.diy-servers.net';
var accountId     = 'AVEC10IN31JC';
var companyName   = 'Corpos+Equipos+y+Servicio%2C+S.A.+DE+C.V.';
var htmlTitle	  = 'LAVADORAS+Y+SECADORAS+PARA+LAVANDERIA...+EL+MEJOR+NEGOCIO';
var metaKeywords  = 'LAVANDERIA%2C+LAVADORAS%2C+SECADORAS%2C+LAVADORAS+Y+SECADORAS%2C+OPORTUNIDAD+DE+NEGOCIO%2C+NEGOCIO%2C+OPORTUNIDAD%2C+AMOR%2C+EXITO%2C+FRACASO%2C+ODIO%2C+SUPERACION%2C+AMISTAD%2C+AMIGOS%2C+TINTORERIA%2C+EDREDONES%2C+PLANCHADO%2C+PLANCHADURIA%2C+TRASPASO%2C+TRASPASOS%2C+TRASPASO+NEGOCIO';
var metaContents  = 'LAVANDERIAS%3A+Dise%C3%B1o%2C+Instalaci%C3%B3n+y+Venta+de+los+mejores+equipos+para+lavander%C3%ADa.';
					                                                                    
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 */					                                                            
