/* [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','401',jdecode('La+Empresa'),jdecode(''),'/401.html','true',[],''],
	['PAGE','452',jdecode('Servicios'),jdecode(''),'/452.html','true',[],''],
	['PAGE','473',jdecode('Productos'),jdecode(''),'/473.html','true',[],''],
	['PAGE','494',jdecode('M%C3%A1quinas'),jdecode(''),'/494.html','true',[],''],
	['PAGE','515',jdecode('Promociones'),jdecode(''),'/515.html','true',[],''],
	['PAGE','536',jdecode('Pruebalo+gratis'),jdecode(''),'/536.html','true',[],''],
	['PAGE','557',jdecode('Contacto%2FTrabajo'),jdecode(''),'/557.html','true',[],'']];
var siteelementCount=7;
theSitetree.topTemplateName='Movement';
theSitetree.paletteFamily='333F65';
theSitetree.keyvisualId='1743';
theSitetree.keyvisualName='ecommerce.jpg';
theSitetree.fontsetId='289';
theSitetree.graphicsetId='355';
theSitetree.contentColor='A3AFD5';
theSitetree.contentBGColor='333F65';
var theTemplate={
				name: 			'Movement',
				paletteFamily: 	'333F65',
				keyvisualId: 	'1743',
				keyvisualName: 	'ecommerce.jpg',
				fontsetId: 		'289',
				graphicsetId: 	'355',
				contentColor: 	'A3AFD5',
				contentBGColor: '333F65',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'333F65',
				b_color: 		'040507',
				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['5000']={
webappId:    '5000',
documentId:  '401',
internalId:  '',
customField: '20111124-015628'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '401',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '452',
internalId:  '',
customField: '20111116-015216'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '473',
internalId:  '',
customField: '20111121-005521'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '494',
internalId:  '',
customField: '20111116-013453'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '515',
internalId:  '',
customField: '20111116-011111'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '536',
internalId:  '',
customField: '20111121-005702'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '557',
internalId:  '',
customField: '20111121-010102'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '536',
internalId:  '2609895',
customField: 'es:ES:'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010INL2NU';
var companyName   = 'Caf%C3%A9+Deluxe';
var htmlTitle	  = 'Caf%C3%A9+en+capsula.Consigue+tu+cafetera+gratis.';
var metaKeywords  = 'titleCafe+para+oficinas+%7C+capsulas+de+cafe%2Ftitle+meta+name%3Dtitle+content%3DCafe+para+oficinas+%7C+capsulas+de+cafe+meta+name%3Ddescription+content%3DCafe+para+oficinas+%7C+C%C3%A1psulas+de+caf%C3%A9+para+oficinas.+Caf%C3%A9+descafeinado%2C+intenso+o+fuerte.+Caf%C3%A9+100%25+natural+%7C+capsulas+de+cafe+meta+name%3Dkeywords+content%3Dcafe+para+oficinas+capsulas+de+META+NAME%3DREVISIT-AFTER+CONTENT%3D7+Days+META+NAME%3DREVISIT+CONTENT%3D7+days+META+NAME%3DROBOT+CONTENT%3DIndex%2CFollow+META+NAME%3DROBOTS+CONTENT%3DAll+META+NAME%3DDISTRIBUTION+CONTENT%3DGlobal+meta+http-equiv%3DPragma+content%3Dno-cache+META+NAME%3DRATING+CONTENT%3Dgeneral+meta+name%3Dlanguage+content%3DES+META+NAME%3DABSTRACT+CONTENT%3Dcafe+para+oficinas+META+NAME%3DSUBJECT+CONTENT%3Dcapsulas+de+cafe+META+NAME%3DAUTHOR+CONTENT%3Dcafe+para+oficinas+META+NAME%3DCOPYRIGHT+CONTENT%3Dcapsulas+de+cafe+meta+http-equiv%3DContent-Type+content%3Dtext%2Fhtml%3B+charset%3Diso-8859-1';
var metaContents  = 'Cafe+expres+en+sistema+monodosis%2Cideal+para+empresas%2Cautonomos%2Ctalleres%2Cpeluquerias%2Cparticulares%2Cetc.Con+servicio+en+Valencia+y+resto+de+provincias%2Ccon+entrega+a+domicilio.Maquina+de+caf%C3%A9+gratis+en+deposito+para+empresas..Disfruta+del+mejor+cafe+en+capsula+ademas+de+te+e+infusiones+variadas+y+como+novedad+cortado%2Ccafeteras+monodosis.Nuestro+caf%C3%A9+es+100%25+natural%2Cmezcla+de+arabiga+y+robusta%2Clo+cual+le+da+un+aroma%2Csabor+y+cuerpo+%C3%BAnico.Adem%C3%A1s+disponemos+de+una+amplia+variedad+de+c%C3%A1psulas+monodosis%2Ccontamos+con+4+clases+de+caf%C3%A9%2Ccaf%C2%B4r+fuerte%2Ccaf%C3%A9+intenso+con+aroma+de+chocolate%2Ccaf%C3%A9+descafeinado%2Ccaf%C3%A9+cortado%2Ccon+la+leche+incorporada%2C5+clases+de+infusiones+totalmente+naturales%2Cde+una+selecci%C3%B3n+de+hierbas+de+alta+calidad%2Cdebido+a+sus+condiciones+especiales+de+cultivo%2Cse+trata+de+poleo+menta%2Cmanzanilla%2Cte+rojo%2Cte+verde+y+te+frutas+del+bosque%2Clo+cual+nos+hace+unicos+ya+que+ninguna+otra+marca+del+mercado+dispone+de+capsulas+de+te+y+capsulas+de+infusiones%2Ctambien+disponemos+de+leche+soluble+en+capsula+monodosis%2Cpor+lo+que+ganamos+periodos+de+caducidad+mas+largos+y+no+necesitamos+de+frigorifico+para+su+conservaci%C3%B3n%2Cademas+de+sistemna+de+vapor+para+su+calentamiento%2Centre+nuestros+productos+solubles+en+capsulas+monodosis+tambien+encontramos+el+te+al+lim%C3%B3n%2Cy+para+completar+nuestra+gama+de+productos+nos+complementamos+con+caf%C3%A9+capuchino%2Ccon+el+autentico+sabor+del+capcchino+italiano+y+nuestro+delicioso+chocolate.Por+otro+lado+n+uestra+gama+para+los+m%C3%A1s+golosos+se+complementa+con+los+sobres+monodosis+de+leche+condensada+para+disfrutar+de+caf%C3%A9+bombon.Como+complementos+az%C3%BAcar+en+sobre+y+stick.Sacarina%2Cvasos+de+plastico+y+paletinas%2Cincluidas+en+el+precio+de+nuestras+monodosis+para+empresas.';
					                                                                    
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 */					                                                            

