/* [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('Quem+Somos+'),jdecode(''),'/501.html','true',[],''],
	['PAGE','552',jdecode('Produtos+'),jdecode(''),'/552.html','true',[],'']];
var siteelementCount=2;
theSitetree.topTemplateName='Stars';
theSitetree.paletteFamily='11400B';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10510';
theSitetree.graphicsetId='10914';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='11400B';
var theTemplate={
				name: 			'Stars',
				paletteFamily: 	'11400B',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10510',
				graphicsetId: 	'10914',
				contentColor: 	'FFFFFF',
				contentBGColor: '11400B',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'11400B',
				b_color: 		'000000',
				c_color: 		'000000',
				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:  '501',
internalId:  '',
customField: '20120115-220903'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '501',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '552',
internalId:  '',
customField: '20120111-180928'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '501',
internalId:  '7207149',
customField: 'pt:PT:'
};
var canonHostname = 'creator.amenworld.com';
var accountId     = 'AAM010INZ80J';
var companyName   = 'KIMICRABER+DETERGENTES+ECOL%C3%93GICOS';
var htmlTitle	  = 'KIMICRABER+PRODUTOS+LIMPEZA++DETERGENTES+PARA+AUTOMOVEL++QUIMICOS+DETERGENTES+ECOL%C3%93GICOS+AUTOM%C3%93VEIS+PRODUTOS+Hotelaria++Equipamentos+de+Lavagem+de+Ve%C3%ADculos+CARWASH+EQUIPAMENTOS+ESTA%C3%87%C3%95ES+SERVI%C3%87O+ASPIRADORES+MAQUINAS+INDUSTRIAIS+LAVA+ESTOFOS+MAQUINAS+ALTA+P';
var metaKeywords  = 'Esta%C3%A7%C3%B5es+servi%C3%A7o%2Clavagem+auto%2Cautom%C3%B3veis%2Crent+car%2Cmaticraber%2Ckimicraber%2Crepsol%2Cgalp%2Cbp%2Cempresas++transportes+%2Cdesinfectantes%2Cdetergentes+para+automoveis%2C+hotelaria+%2Cindustria+consumiveis+papel+massa+m%C3%A3os+oficinal+gel+m%C3%A3os+produtos+quimicos+de+manuten%C3%A7%C3%A3o+industrial+-+linha+auto+produtos+lavagem+estofos+%2Climpa+vinil%2Climpa+tudo%2Cmultiusos%2C+desengordurante%2C+anticongelante%2Clavagem+estofos+maquinas+de+estofos+aspiradores+profissionais+maquinas+de+alta+press%C3%A3o+nebulizadores+pulverizadores+para+aplicar+detergentes%2Ccar+wash%2C+carwash%2C++car%2C+wash%2C+carwash%2C+touchless%2C+vehicle%2C+auto%2C+cloth%2C+petroleum%2C+full+serve%2C+exterior%2C+touch+free%2C+drive+thru%2C+dryers%2C+side+washers%2C+mitting+curtains%2C+conveyor%2CChemical+Products+%2CIndustrial+Cleaning+Products+%2CChemical+Cleaning+Solutions%2C+Commercial+Cleaning+';
var metaContents  = 'KIMICRABER+PRODUTOS+QUIMICOS+DETERGENTES+ECOL%C3%93GICOS+PARA+AUTOM%C3%93VEIS+Produtos+limpeza+autom%C3%B3veis+Produtos+quimicos+detergentes+ecologicos+equipamentos+para+esta%C3%A7%C3%B5es+servi%C3%A7o+maquinas+lava+estofos+aspiradores+maquinas+alta+pressao++car+wash+lavagem+manual+++linha+exclusiva+para+embelezamento+autom%C3%B3vel++produtos+limpeza+para+Autom%C3%B3veis+toda+uma+gama+de+produtos+sprays+para+tablier%2Cvidros%2Cpenus%2Cceras%2Cshampoo+ambientadores+espumas+coloridas+detergentes+lavagem+sem+esfregar++LINHA+PROFISSIONAL++PRODUTOS+DE+ELEVADA+QUALIDADE+PARA+A+SUA+LAVAGEM+CERAS+PARA+TUNEL+SHAMPOO+ESPUMAS+PARA+PR%C3%89+LAVAGEM+LAVA+MOTORES+LAVA+JANTES+BRILHO+PENEU%2CLIMPA+ESTOFOS++Portugal++Angola+++car%2C+wash%2C+carwash%2C+touchless%2C+vehicle%2C+auto%2C+cloth%2C+petroleum%2C+full+serve%2C+exterior%2C+touch+free%2C+drive+thru%2C+dryers%2C+side+washers%2C+mitting+curtains%2C+conveyor+Chemical+Products+%7C+Industrial+Cleaning+Products+%7C+Chemical+Cleaning+Solutions+%7C+Commercial+Cleaning+';
					                                                                    
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 */					                                                            

