/* [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','601',jdecode('Home'),jdecode(''),'/601.html','true',[],''],
	['PAGE','652',jdecode('P%C3%A1gina+inicial'),jdecode(''),'/652.html','true',[],''],
	['PAGE','673',jdecode('Ofertas+de+viagens'),jdecode(''),'/673/index.html','true',[ 
		['PAGE','694',jdecode('Pacote+de+viagem'),jdecode(''),'/673/694.html','true',[],''],
		['PAGE','715',jdecode('Cruzeiros'),jdecode(''),'/673/715.html','true',[],''],
		['PAGE','736',jdecode('Passagens+Nacionais'),jdecode(''),'/673/736.html','true',[],''],
		['PAGE','757',jdecode('Passagens+Internacionais'),jdecode(''),'/673/757.html','true',[],''],
		['PAGE','778',jdecode('Pacote+Terrestre'),jdecode(''),'/673/778.html','true',[],''],
		['PAGE','799',jdecode('Intercambio'),jdecode(''),'/673/799.html','true',[],''],
		['PAGE','820',jdecode('Last+Minute'),jdecode(''),'/673/820.html','true',[],'']
	],''],
	['PAGE','841',jdecode('Servi%C3%A7o'),jdecode(''),'/841/index.html','true',[ 
		['PAGE','862',jdecode('Vistos+Consulares'),jdecode(''),'/841/862.html','true',[],''],
		['PAGE','883',jdecode('Aluguel+de+Carro'),jdecode(''),'/841/883.html','true',[],''],
		['PAGE','904',jdecode('Seguro+Viagem'),jdecode(''),'/841/904.html','true',[],''],
		['PAGE','925',jdecode('Fretamento+de+Aeronave'),jdecode(''),'/841/925.html','true',[],''],
		['PAGE','946',jdecode('Fretamente+de+embarc%C3%A3o'),jdecode(''),'/841/946.html','true',[],''],
		['PAGE','967',jdecode('Passeios'),jdecode(''),'/841/967.html','true',[],'']
	],''],
	['PAGE','988',jdecode('Compra+On-line'),jdecode(''),'/988.html','true',[],''],
	['PAGE','1009',jdecode('Solicitar+On-line'),jdecode(''),'/1009.html','true',[],''],
	['PAGE','1030',jdecode('Solicitar+o+prospecto'),jdecode(''),'/1030.html','true',[],''],
	['PAGE','1051',jdecode('Contato'),jdecode(''),'/1051.html','true',[],''],
	['PAGE','1072',jdecode('Condi%C3%A7%C3%B5es+gerais'),jdecode(''),'/1072.html','true',[],''],
	['PAGE','1093',jdecode('Quem+somos'),jdecode(''),'/1093/index.html','true',[ 
		['PAGE','1114',jdecode('Nossa+equipe'),jdecode(''),'/1093/1114.html','true',[],''],
		['PAGE','1135',jdecode('Onde+estamos'),jdecode(''),'/1093/1135.html','true',[],'']
	],'']];
var siteelementCount=25;
theSitetree.topTemplateName='Stylus';
theSitetree.paletteFamily='b0cbd6';
theSitetree.keyvisualId='1990';
theSitetree.keyvisualName='strand.jpg';
theSitetree.fontsetId='328';
theSitetree.graphicsetId='383';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Stylus',
				paletteFamily: 	'b0cbd6',
				keyvisualId: 	'1990',
				keyvisualName: 	'strand.jpg',
				fontsetId: 		'328',
				graphicsetId: 	'383',
				contentColor: 	'000000',
				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 = {};
var canonHostname = 'diywk01.verio.stngva01.us.diy-servers.net';
var accountId     = 'AVEC10INPOBR';
var companyName   = 'SOLLO+TURISMO+';
var htmlTitle	  = 'www.solloturismo.com.br';
var metaKeywords  = '';
var metaContents  = '';
					                                                                    
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 */					                                                            
