/* [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('Home+-+Fitness+Services'),jdecode(''),'/401.html','true',[],''],
	['PAGE','452',jdecode('About+us+%26+Contact+Info'),jdecode(''),'/452.html','true',[],''],
	['PAGE','473',jdecode('The+Studio+Team'),jdecode(''),'/473.html','true',[],''],
	['PAGE','515',jdecode('Personal+Training'),jdecode(''),'/515/index.html','true',[ 
		['PAGE','683',jdecode('More+on+Personal+Training'),jdecode(''),'/515/683.html','true',[],'']
	],''],
	['PAGE','536',jdecode('Fitness+Makeovers'),jdecode(''),'/536.html','true',[],''],
	['PAGE','557',jdecode('Orlando+Fitness+Boot+Camp'),jdecode(''),'/557.html','true',[],''],
	['PAGE','578',jdecode('Stroll+%26+Get+Fit'),jdecode(''),'/578.html','true',[],''],
	['PAGE','494',jdecode('Stroll+%26+Get+Fit+Prices+%26+Schedule'),jdecode(''),'/494.html','true',[],''],
	['PAGE','5101',jdecode('Orlando+Teambuilding'),jdecode(''),'/5101.html','true',[],''],
	['PAGE','599',jdecode('Testimonials'),jdecode(''),'/599.html','true',[],''],
	['PAGE','620',jdecode('Pictures'),jdecode(''),'/620.html','true',[],''],
	['PAGE','641',jdecode('Links'),jdecode(''),'/641.html','true',[],''],
	['PAGE','662',jdecode('Tips+%26+Tricks+%26+Glossary'),jdecode(''),'/662.html','true',[],''],
	['PAGE','704',jdecode('Press'),jdecode(''),'/704.html','true',[],'']];
var siteelementCount=15;
theSitetree.topTemplateName='Stylus';
theSitetree.paletteFamily='ffd375';
theSitetree.keyvisualId='1970';
theSitetree.keyvisualName='fitness.jpg';
theSitetree.fontsetId='330';
theSitetree.graphicsetId='385';
theSitetree.contentColor='666666';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Stylus',
				paletteFamily: 	'ffd375',
				keyvisualId: 	'1970',
				keyvisualName: 	'fitness.jpg',
				fontsetId: 		'330',
				graphicsetId: 	'385',
				contentColor: 	'666666',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'ffd375',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1006']={
webappId:    '1006',
documentId:  '401',
internalId:  '1006',
customField: '1006'
};
var canonHostname = 'cm4all.aplus.net';
var accountId     = 'AAPLU0IN3M0O';
var companyName   = 'The+Studio+-+Personal+Training+and+More%21';
var htmlTitle	  = 'The+Studio+-+Personal+Training%2C+Fitness+Boot+Camp%2C+Stroller-cise+and+More';
var metaKeywords  = 'Fitness%2C+personal+training%2C+private+personal+training%2C+boot+camp%2C+orlando+fitness+boot+camp%2C+fitness+bootcamp+in+Orlando%2C+Metro+West%2C+Avalon+Park%2C+Waterford+Lakes%2C+Thornton+Park+Boot+Camp+Orlando+Florida.+Health.+Weight+loss%2C+diet%2C+fitness+makeover%2C+fitness+make-over%2C+Stroller-cise%2C+Exercise+for+Moms+and+Babies%2C+Corporate+Fitness+Boot+Camps%2C+Corporate+Boot+Camps%2C+Operation+Fitness+Boot+Camp%2C+Best+Personal+Training+in+Orlando%2C+Number+one+rated+Boot+Camp+in+Orlando%2C+Best+Boot+Camp+in+Orlando%2C+Best+private+personal+training+and+trainers.+Body-building%2C+fit+moms%2C+baby+boot+camp%2C+Stroller-cise+Exercise+for+Moms+and+Babies%2C+Orlando+Fitness+Bootcamp%2C+Orlando+Fitness+Boot+Camp.';
var metaContents  = 'The+Studio+-+Private+Personal+Training%2C+Fitness+Boot+Camp+and+Stroller-cise.+Also+features+top+rated+Orlando+Fitness+Boot+Camp+www.orlandobootcamp.com%2C+Fitness+Makeovers+including+personal+training%2C+menus%2C+diet%2C+nutritional+consulting%2C+hair+styling%2C+spa+treatments+and+more.+Locations+in+-+Downtown+Orlando%2FThornton+Park%2C+Waterford+Lakes%2FAvalon+Park%2C+Metro-West%2FDr.+Phillips+and+Celebration.+';
					                                                                    
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 */					                                                            

