/* [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','801',jdecode('Home'),jdecode(''),'/801.html','true',[],''],
	['PAGE','852',jdecode('Opening+Hours'),jdecode(''),'/852.html','true',[],''],
	['PAGE','1083',jdecode('The+Practice'),jdecode(''),'/1083.html','true',[],''],
	['PAGE','873',jdecode('Spectrum+of+Practice'),jdecode(''),'/873.html','true',[],''],
	['PAGE','37401',jdecode('Health+Psychology'),jdecode(''),'/37401.html','true',[],''],
	['PAGE','5264',jdecode('Certified+in+Stress+Management+'),jdecode(''),'/5264.html','true',[],''],
	['PAGE','9401',jdecode('Cosmetic+Surgery+%26+Psychology'),jdecode(''),'/9401.html','true',[],''],
	['PAGE','14801',jdecode('Coaching'),jdecode(''),'/14801.html','true',[],''],
	['PAGE','6501',jdecode('Multicultural+Psychology'),jdecode(''),'/6501.html','true',[],''],
	['PAGE','5201',jdecode('Clinical+Psychology'),jdecode(''),'/5201.html','true',[],''],
	['PAGE','5222',jdecode('Forensic+Psychology'),jdecode(''),'/5222.html','true',[],''],
	['PAGE','5722',jdecode('Seminar%2FCourse+Offerings'),jdecode(''),'/5722.html','true',[],''],
	['PAGE','978',jdecode('Service'),jdecode(''),'/978.html','true',[],''],
	['PAGE','25501',jdecode('Media+'),jdecode(''),'/25501.html','true',[],''],
	['PAGE','999',jdecode('Contact'),jdecode(''),'/999.html','true',[],''],
	['PAGE','1020',jdecode('About+Us'),jdecode(''),'/1020/index.html','true',[ 
		['PAGE','1062',jdecode('Our+Team'),jdecode(''),'/1020/1062.html','true',[],''],
		['PAGE','13001',jdecode('Meet+Dr.+Schreier'),jdecode(''),'/1020/13001.html','true',[],'']
	],''],
	['PAGE','28301',jdecode('Dr.+Schreier+Blogs'),jdecode(''),'/28301.html','true',[],''],
	['PAGE','36801',jdecode('S.M.A.R.T.+Store'),jdecode(''),'/36801.html','true',[],'']];
var siteelementCount=20;
theSitetree.topTemplateName='Family';
theSitetree.paletteFamily='D6BDC8';
theSitetree.keyvisualId='3843';
theSitetree.keyvisualName='kv_3843.jpg';
theSitetree.fontsetId='10635';
theSitetree.graphicsetId='11021';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='D6BDC8';
var theTemplate={
				name: 			'Family',
				paletteFamily: 	'D6BDC8',
				keyvisualId: 	'3843',
				keyvisualName: 	'kv_3843.jpg',
				fontsetId: 		'10635',
				graphicsetId: 	'11021',
				contentColor: 	'000000',
				contentBGColor: 'D6BDC8',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'AEAEAF',
				e_color: 		'AEAEAF',
				f_color: 		'AEAEAF',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1008']={
webappId:    '1008',
documentId:  '852',
internalId:  '10408550',
customField: 'en:US:'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '5264',
internalId:  '10408550',
customField: 'en:US:'
};
var canonHostname = 'diywk01.verio.stngva01.us.diy-servers.net';
var accountId     = 'AVEC10INFWYR';
var companyName   = 'S.M.A.R.T.+Living%2C+LLC++';
var htmlTitle	  = 'Stress+Management+-+Chicago+Counseling+-+Dr.+Schreier';
var metaKeywords  = 'Daniela+E.+Schreier%2C+Psy.D.%3B+S.M.A.R.T.+Living%3B+Clinical+Psychology%3B+Forensic+Psychology%3B+Stress+Management%3B+The+Colors+of+the+Rainbow%3B+Health%3B+Coaching%3B+Dr.+Schreier%3B+Chicago+Cosmetic+Surgery%3B+Multicultural+Psychology%3B+Therapists+in+Chicago%3B+Chicago+counseling%2C+Chicago+psychologist%2C+clinical+psychology%2C++daniela+e+schreier%2C+forensic+psychology%2C+the+colors+of+the+rainbow%2C+Chicago+Therapists%3B+Coaching+Chicago%3B+Costudy+Evaluations+Chciago%3B+business+consulting%2C+Chicago+Stress+Management%3B+Chicago+Child+Custody+Evaluations%2C+Chicago+Child+Sexual+Abuse+Allegations';
var metaContents  = 'Dr.+Daniela+E+Schreier+offers+clinical+psychology++forensic+psychology+services+as+a+certified+licensed+Chicago+psychologist.+Dr.+Schreier+provides+Chicago+counseling++specializes+in+stress++management.+Dr.+Schreier+provides+Chicago+coaching+for+cosmetic+surgery+patients.+Dr.+Schreier+provides+Chicago+custody+evaluations++business+consulting.';
					                                                                    
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 */					                                                            

