/* [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','1401',jdecode('Home'),jdecode(''),'/1401/index.html','true',[ 
		['PAGE','18201',jdecode('links'),jdecode(''),'/1401/18201.html','true',[],''],
		['PAGE','18222',jdecode('meetings'),jdecode(''),'/1401/18222.html','true',[],''],
		['PAGE','57901',jdecode('awareness'),jdecode(''),'/1401/57901.html','true',[],''],
		['PAGE','58601',jdecode('+%3D+1000+words+'),jdecode(''),'/1401/58601.html','true',[],'']
	],''],
	['PAGE','1494',jdecode('Contact'),jdecode(''),'/1494.html','true',[],''],
	['PAGE','1473',jdecode('About+us'),jdecode(''),'/1473.html','true',[],''],
	['PAGE','1452',jdecode('News'),jdecode(''),'/1452/index.html','true',[ 
		['PAGE','46001',jdecode('Ped+Plan'),jdecode(''),'/1452/46001.html','true',[],'']
	],''],
	['PAGE','19401',jdecode('Crosswalks'),jdecode(''),'/19401.html','true',[],''],
	['PAGE','31701',jdecode('Sidewalks'),jdecode(''),'/31701/index.html','true',[ 
		['PAGE','33001',jdecode('Greenwood'),jdecode(''),'/31701/33001.html','true',[],'']
	],''],
	['PAGE','32601',jdecode('Transit'),jdecode(''),'/32601.html','true',[],''],
	['PAGE','31001',jdecode('Tools'),jdecode(''),'/31001/index.html','true',[ 
		['PAGE','31043',jdecode('Software'),jdecode(''),'/31001/31043.html','true',[],''],
		['PAGE','32201',jdecode('Legislation'),jdecode(''),'/31001/32201.html','true',[],''],
		['PAGE','31022',jdecode('Policy'),jdecode(''),'/31001/31022.html','true',[],''],
		['PAGE','31064',jdecode('Hardware'),jdecode(''),'/31001/31064.html','true',[],'']
	],''],
	['PAGE','20201',jdecode('Forums'),jdecode(''),'/20201/index.html','true',[ 
		['PAGE','20222',jdecode('Forum'),jdecode(''),'/20201/20222.html','true',[],''],
		['PAGE','20243',jdecode('Yahoo+Groups'),jdecode(''),'/20201/20243.html','true',[],''],
		['PAGE','20601',jdecode('Other'),jdecode(''),'/20201/20601.html','true',[],'']
	],''],
	['PAGE','42601',jdecode('Government'),jdecode(''),'/42601/index.html','true',[ 
		['PAGE','42622',jdecode('City'),jdecode(''),'/42601/42622.html','true',[],''],
		['PAGE','42222',jdecode('County+'),jdecode(''),'/42601/42222.html','true',[],''],
		['PAGE','42243',jdecode('State+'),jdecode(''),'/42601/42243.html','true',[],''],
		['PAGE','42264',jdecode('Federal+Gov%26%23x27%3Bt'),jdecode(''),'/42601/42264.html','true',[],'']
	],'']];
var siteelementCount=27;
theSitetree.topTemplateName='Fluent';
theSitetree.paletteFamily='4A714E';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10644';
theSitetree.graphicsetId='10521';
theSitetree.contentColor='757675';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Fluent',
				paletteFamily: 	'4A714E',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10644',
				graphicsetId: 	'10521',
				contentColor: 	'757675',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'A4A5A4',
				e_color: 		'4971AD',
				f_color: 		'26487C',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1003']={
webappId:    '1003',
documentId:  '20222',
internalId:  'aen010invqm3115af6717db',
customField: 'en:US:'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '1401',
internalId:  '1006',
customField: '1006'
};
var canonHostname = 'lwsc.ehost-services.com';
var accountId     = 'AEN010INVQM3';
var companyName   = 'The+Bi%2FPed+Safety+Coalition';
var htmlTitle	  = 'Greater+Greenwood+Bi%2FPed+Safety+Coalition';
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 */					                                                            
