/* [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','901',jdecode('Home'),jdecode(''),'/901.html','true',[],''],
	['PAGE','952',jdecode('Our+Mission'),jdecode(''),'/952.html','true',[],''],
	['PAGE','973',jdecode('Our+Purpose'),jdecode(''),'/973.html','true',[],''],
	['PAGE','994',jdecode('About+Us'),jdecode(''),'/994.html','true',[],''],
	['PAGE','1015',jdecode('Resident+Requirements'),jdecode(''),'/1015/index.html','true',[ 
		['PAGE','1036',jdecode('Unadoptable'),jdecode(''),'/1015/1036.html','true',[],''],
		['PAGE','1057',jdecode('Orphaned'),jdecode(''),'/1015/1057.html','true',[],''],
		['PAGE','1078',jdecode('Infirm'),jdecode(''),'/1015/1078.html','true',[],'']
	],''],
	['PAGE','1099',jdecode('Contact+Us+'),jdecode(''),'/1099.html','true',[],''],
	['PAGE','1120',jdecode('Donate+Now'),jdecode(''),'/1120.html','true',[],''],
	['PAGE','1141',jdecode('Volunteer'),jdecode(''),'/1141.html','true',[],''],
	['PAGE','1162',jdecode('Wish+List'),jdecode(''),'/1162/index.html','true',[ 
		['PAGE','13201',jdecode('Wish+List+%28follow+up+page%29'),jdecode(''),'/1162/13201.html','false',[],'']
	],''],
	['PAGE','1183',jdecode('Board+Members'),jdecode(''),'/1183.html','true',[],''],
	['PAGE','1204',jdecode('Links'),jdecode(''),'/1204.html','true',[],''],
	['PAGE','1225',jdecode('News'),jdecode(''),'/1225.html','true',[],''],
	['PAGE','1246',jdecode('Events'),jdecode(''),'/1246.html','true',[],''],
	['PAGE','1267',jdecode('Financial'),jdecode(''),'/1267.html','true',[],''],
	['PAGE','2406',jdecode('Guestbook'),jdecode(''),'/2406/index.html','true',[ 
		['PAGE','2401',jdecode('Read+Guestbook'),jdecode(''),'/2406/2401.html','true',[],'']
	],'']];
var siteelementCount=20;
theSitetree.topTemplateName='Antigua';
theSitetree.paletteFamily='978B5C';
theSitetree.keyvisualId='6919';
theSitetree.keyvisualName='kv_6919.jpg';
theSitetree.fontsetId='11216';
theSitetree.graphicsetId='12039';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='B4A87B';
var theTemplate={
				name: 			'Antigua',
				paletteFamily: 	'978B5C',
				keyvisualId: 	'6919',
				keyvisualName: 	'kv_6919.jpg',
				fontsetId: 		'11216',
				graphicsetId: 	'12039',
				contentColor: 	'000000',
				contentBGColor: 'B4A87B',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1006']={
webappId:    '1006',
documentId:  '901',
internalId:  '1006',
customField: '1006'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '2406',
internalId:  '2406aaff10in20xn',
customField: 'action=form&icq=false'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '2401',
internalId:  '2406aaff10in20xn',
customField: 'action=list'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '1162',
internalId:  'aaff10in20xn10bac6458d6',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '13201',
internalId:  'aaff10in20xn10bac6458d6',
customField: 'followUp'
};
var canonHostname = 'localhost';
var accountId     = 'AAFF10IN20XN';
var companyName   = 'Seven+Blessings+Animal+Sanctuary....providing+a+forever+home.....';
var htmlTitle	  = 'www.sevenblessingsanimalsanctuary.org';
var metaKeywords  = 'animal+sanctuary%2C+tennessee%2C+forever+home%2C+planning+for+your+pets+future%2C+estate+planning+to+include+your+pet%2C+distance+adoption';
var metaContents  = 'providing+permanent+homes+for+older+pets+as+well+as+offering+plans+for+extended+pet+care+after+its+owner+has+died+or+can+no+longer+provide+the+quality+care+the+pet+is+accustom+too.';
					                                                                    
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 */					                                                            
