/* [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','2001',jdecode('Texas+Spine+%26+Sports+Therapy+Center'),jdecode(''),'/2001/index.html','true',[ 
		['PAGE','21301',jdecode('Texas+Spine+%26+Sports+Therapy+Center+%28follow+up+page%29'),jdecode(''),'/2001/21301.html','false',[],'']
	],''],
	['PAGE','40701',jdecode('Chiropractic+'),jdecode(''),'/40701.html','true',[],''],
	['PAGE','20601',jdecode('Sports+Therapy'),jdecode(''),'/20601.html','true',[],''],
	['PAGE','8901',jdecode('DRX9000'),jdecode(''),'/8901.html','true',[],''],
	['PAGE','8922',jdecode('DRX9500'),jdecode(''),'/8922.html','true',[],''],
	['PAGE','12601',jdecode('Dr.+Atencio+D.C'),jdecode(''),'/12601.html','true',[],''],
	['PAGE','18801',jdecode('Contact+Us'),jdecode(''),'/18801/index.html','true',[ 
		['PAGE','47701',jdecode('Contact+Us+%28follow+up+page%29'),jdecode(''),'/18801/47701.html','false',[],'']
	],''],
	['PAGE','10601',jdecode('Click+here+for+map'),jdecode(''),'/10601.html','true',[],''],
	['PAGE','27722',jdecode('Reviews+'),jdecode(''),'/27722.html','true',[],'']];
var siteelementCount=11;
theSitetree.topTemplateName='Dispose';
theSitetree.paletteFamily='718DF8';
theSitetree.keyvisualId='9696';
theSitetree.keyvisualName='kv_9696.gif';
theSitetree.fontsetId='10659';
theSitetree.graphicsetId='11186';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='CCCACA';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Dispose',
				paletteFamily: 	'718DF8',
				keyvisualId: 	'9696',
				keyvisualName: 	'kv_9696.gif',
				fontsetId: 		'10659',
				graphicsetId: 	'11186',
				contentColor: 	'000000',
				contentBGColor: 'CCCACA',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1001']={
webappId:    '1001',
documentId:  '18801',
internalId:  'ahw050inxelh11b379a9ebf',
customField: ''
};
webappMappings['2001']={
webappId:    '2001',
documentId:  '10601',
internalId:  'location',
customField: 'language:en;country:US;isIncluded:false;'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '2001',
internalId:  'ahw050inxelh11ac651dd3a',
customField: ''
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '2001',
internalId:  '1006',
customField: '1006'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '21301',
internalId:  'ahw050inxelh11ac651dd3a',
customField: 'followUp'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '47701',
internalId:  'ahw050inxelh11b379a9ebf',
customField: 'followUp'
};
var canonHostname = 'wsc-worker02.chi.us.siteprotect.com';
var accountId     = 'AHW050INXELH';
var companyName   = 'Texas+Spine+And+Sports+Therapy+Center+';
var htmlTitle	  = 'Herniated+Disc+Austin+Decompression%2C+DRX9000';
var metaKeywords  = 'Austin+chiropractor%2Cchiropractic+adjustments%2Cchiropractic+manipulation%2Cchiropratics%2Caustin+decompression%2Cnon-surgical+decompression%2C+DRX9000%2C+DRX9500%2CSports+Therapy%2C+Spine+Force%2CActive+Release+Technique%2Cback+surgery%2Cneck+surgery%2Csports+medicine%2Cback+pain%2Cneck+pain%2Cheadache%2Cdisk+pain%2Cpinched+nerve%2C+bulging+disc%2Cchiropractic+center%2Ccold+laser%2Caustin+physical+therapy%2Crehabilitation%2Corthopedic+austin%2Csports+medicine+austin%2Caustin+texas+chiropractor%2Caustin+chiropractic+center%2Cchiropractor+austin';
var metaContents  = 'Austin+Decompression%2CDRX9000-Spinal%2C1500W.+38th+St.+Austin%2C+TX+78731%2C+Cervical-DRX9500.+Austins+Non-Surgical+Decompression+for+herniated+discs%2Cbulging+discs.+Back+Pain%2C+Neck+Pain%2C+Herniated+Disc%2CWhiplash%2C+Sciatica.+Austin%2C+Round+Rock%2C+Cedar+Park%2C+Lakeway%2C+West+Lake%2C+Bee+Caves%2CPflugerville.+DRX9000%2C+DRX+9000%2C+DRX-9000%2C+Back+Decompression%2Cneck+decompression%2Cheadaches%2Cmigraines%2Cbulging+discs%2Cspinal+disc+pain+Austin';
					                                                                    
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 */					                                                            
