/* [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','301',jdecode('Home'),jdecode(''),'/301.html','true',[],''],
	['PAGE','21701',jdecode('Marca'),jdecode(''),'/21701.html','true',[],''],
	['PAGE','27001',jdecode('Cole%C3%A7%C3%B5es'),jdecode(''),'/27001/index.html','true',[ 
		['PAGE','38301',jdecode('Summer+Glam'),jdecode(''),'/27001/38301.html','true',[],''],
		['PAGE','31601',jdecode('Combinations'),jdecode(''),'/27001/31601.html','true',[],''],
		['PAGE','27022',jdecode('Beach+Glam'),jdecode(''),'/27001/27022.html','true',[],'']
	],''],
	['PAGE','13001',jdecode('Eventos'),jdecode(''),'/13001.html','true',[],''],
	['PAGE','25801',jdecode('Na+M%C3%ADdia'),jdecode(''),'/25801.html','true',[],''],
	['PAGE','415',jdecode('Onde+Comprar'),jdecode(''),'/415.html','true',[],''],
	['PAGE','436',jdecode('Contato'),jdecode(''),'/436.html','true',[],''],
	['PAGE','24106',jdecode('Deixe+sua+mensagem'),jdecode(''),'/24106/index.html','true',[ 
		['PAGE','24101',jdecode('Escreva+sua+mensagem+e+insira+seus+dados+aqui%3A'),jdecode(''),'/24106/24101.html','true',[],'']
	],'']];
var siteelementCount=12;
theSitetree.topTemplateName='Qben';
theSitetree.paletteFamily='AA7138';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='17184';
theSitetree.graphicsetId='12656';
theSitetree.contentColor='2E2E2E';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'true',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'true',
				hasCompanyname: 'false',
				name: 			'Qben',
				paletteFamily: 	'AA7138',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'17184',
				graphicsetId: 	'12656',
				contentColor: 	'2E2E2E',
				contentBGColor: 'FFFFFF',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'FFFFFF',
				d_color: 		'A7E333',
				e_color: 		'D28C7F',
				f_color: 		'A7E333',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1006']={
webappId:    '1006',
documentId:  '301',
internalId:  '1006',
customField: '1006'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '13001',
internalId:  '1154a403ca4',
customField: 'g.12l53ve4q.mc72tlh74h.5k'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '24106',
internalId:  '24106avec10inlfzz',
customField: 'action=form&icq=false'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '24101',
internalId:  '24106avec10inlfzz',
customField: 'action=list'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '25801',
internalId:  '116eb24af85',
customField: 'g.12rli5nfv.ltuvd6nssts.3o'
};
var canonHostname = 'diywk00.verio.stngva01.us.diy-servers.net';
var accountId     = 'AVEC10INLFZZ';
var companyName   = '';
var htmlTitle	  = 'ITS+NECESSARY';
var metaKeywords  = 'mariana+sabbagk+++its+necessary+necessaires+necessaire+bolsinhas+bolsos+divis%C3%B3rias+matelass%C3%AA+couro+verniz+clutches+carteiras+praia+cosm%C3%A9ticos+maquiagem+frasqueira+';
var metaContents  = 'necessaires+necessary+bolsas+matelass%C3%AA+glamurama+acess%C3%B3rios+design+verniz++praia+moda+mariana+sabbagk';
					                                                                    
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 */					                                                            
