/* [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','901',jdecode('Promoci%C3%B3n+Plan+Nutricional'),jdecode(''),'/901/index.html','true',[ 
		['PAGE','104701',jdecode('Inicio+%28follow+up+page%29'),jdecode(''),'/901/104701.html','false',[],'']
	],''],
	['PAGE','66906',jdecode('Bienvenidos'),jdecode(''),'/66906/index.html','true',[ 
		['PAGE','66901',jdecode('Comentarios'),jdecode(''),'/66906/66901.html','true',[],'']
	],''],
	['PAGE','38101',jdecode('Salud+y+Nutrici%C3%B3n'),jdecode(''),'/38101.html','true',[],''],
	['PAGE','56801',jdecode('Belleza'),jdecode(''),'/56801.html','true',[],''],
	['PAGE','36001',jdecode('Vida+Cotidiana'),jdecode(''),'/36001.html','true',[],'']];
var siteelementCount=7;
theSitetree.topTemplateName='Measure';
theSitetree.paletteFamily='BAD68A';
theSitetree.keyvisualId='3881';
theSitetree.keyvisualName='kv_3881.jpg';
theSitetree.fontsetId='10705';
theSitetree.graphicsetId='11072';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Measure',
				paletteFamily: 	'BAD68A',
				keyvisualId: 	'3881',
				keyvisualName: 	'kv_3881.jpg',
				fontsetId: 		'10705',
				graphicsetId: 	'11072',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'82A04F',
				e_color: 		'82A04F',
				f_color: 		'82A04F',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['5000']={
webappId:    '5000',
documentId:  '901',
internalId:  '',
customField: '20090423-201718'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '901',
internalId:  'aars20invnki120c8d70380',
customField: ''
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '901',
internalId:  '1006',
customField: '1006'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '66901',
internalId:  '66906aars20invnki',
customField: 'action=list'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '66906',
internalId:  '66906aars20invnki',
customField: 'action=form&icq=false'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '104701',
internalId:  '',
customField: '20090421-152155'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '56801',
internalId:  '',
customField: '20090421-193206'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '36001',
internalId:  '',
customField: '20090422-223633'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '38101',
internalId:  '',
customField: '20090421-191836'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '104701',
internalId:  'aars20invnki120c8d70380',
customField: 'followUp'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '66906',
internalId:  '',
customField: '20090422-233256'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '66901',
internalId:  '',
customField: '20090110-111538'
};
var canonHostname = 'wsc01a.arsys.es';
var accountId     = 'AARS20INVNKI';
var companyName   = 'SerAmadeCasa.com';
var htmlTitle	  = 'SerAmadeCasa.com';
var metaKeywords  = 'ama+de+casa%2C+nutricion%2C+dietas+adelgazar%2C+adelgazar%2C+alimentacion%2C+vitamina%2C+herbalife%2C+caloria%2C+plato%2C+aloe+vera%2C+bienestar%2C+bajar+peso%2C+perder+peso%2C+dietetica%2C+peso%2C+perdida+de+peso%2C+peso+ideal%2C+obesidad%2C+peso+dietas%2C+vitamina%2C+natural%2C+fitness%2C+facial%2C+cosmetica%2C+salud+belleza%2C+fitness%2C+cosmeticos%2C+crema+antiarrugas%2C+cuidados+para+el+cuerpo%2C+cuerpo%2C+gratis%2C+salud%2C+tiempo%2C+planificacion+de+tiempo%2C+planificacion+de+acuerdo+a+objetivos%2C+objetivos%2C+smart%2C+belleza%2C+buena+vida%2C+tiempo%2C+sentirse+bien%2C+bienestar%2C+sobrepeso%2C+obesidad+en+ni%C3%B1os%2C+ejercicio%2C+ejercitarse%2C+la+ciencia+de+hacerse+rico%2C++Wallace%2C+indice+de+masa+corporal%2C+calorias%2C+rutina+de+ejercicio%2C+cosmeticos%2C+cosmeticos+naturales%2C+belleza%2C+trucos+de+belleza%2C+piel%2C+tipo+de+piel%2C+botanica%2C+botanica+en+tu+piel%2C+espa%C3%B1olas%2C+astrologia%2C+astrolog%C3%ADa%2C+astros%2C+prediccion+de+los+astros%2C+2009%2C+horoscopo%2C+horoscopo+chino%2C+contactanos%2C+gratis.++++++';
var metaContents  = 'Actualmente+en+nuestra+sociedad%2C+estamos+concientes+de+la+importancia+de+mejorar+nuestra+Calidad+de+Vida+y+lo+valioso+de+todo+aquello+que+nos+supone+bienestar.+++Los+fundamentos+principales+que+soportan+la+Calidad+de+Vida+son%3A++++1.++Salud.++2.++Tiempo+y++3.++Econom%C3%ADa.+++SerAmadeCasa.com+es+un+portal+dedicado+a+estos+pilares+fundamentales%2C+donde+se+habla+de+nutrici%C3%B3n%2C+salud%2C+belleza+y+la+buena+vida.+++';
					                                                                    
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 */					                                                            
