/* [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','11',jdecode('Home'),jdecode(''),'/11.html','true',[],''],
	['PAGE','32',jdecode('About+Lake+Naomi'),jdecode(''),'/32/index.html','true',[ 
		['PAGE','1093',jdecode('Visitor+Information'),jdecode(''),'/32/1093.html','true',[],'']
	],''],
	['PAGE','1102',jdecode('Lake+Naomi+Club+Amenities'),jdecode(''),'/1102/index.html','true',[ 
		['PAGE','1111',jdecode('Pools'),jdecode(''),'/1102/1111.html','true',[],'']
	],''],
	['PAGE','50',jdecode('Sales+%26+Rentals'),jdecode(''),'/50.html','true',[],''],
	['PAGE','59',jdecode('Newsletter'),jdecode(''),'/59.html','true',[],''],
	['PAGE','68',jdecode('In+the+News'),jdecode(''),'/68.html','true',[],''],
	['PAGE','77',jdecode('Contact+Us'),jdecode(''),'/77.html','true',[],'']];
var siteelementCount=9;
theSitetree.topTemplateName='Flyer';
theSitetree.paletteFamily='000066';
theSitetree.keyvisualId='533';
theSitetree.keyvisualName='sport.jpg';
theSitetree.fontsetId='69';
theSitetree.graphicsetId='68';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='666699';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Flyer',
				paletteFamily: 	'000066',
				keyvisualId: 	'533',
				keyvisualName: 	'sport.jpg',
				fontsetId: 		'69',
				graphicsetId: 	'68',
				contentColor: 	'FFFFFF',
				contentBGColor: '666699',
				a_color: 		'000066',
				b_color: 		'CCCCCC',
				c_color: 		'000000',
				d_color: 		'666699',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1006']={
webappId:    '1006',
documentId:  '11',
internalId:  '1006',
customField: '1006'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '68',
internalId:  '13562245',
customField: 'en:US:'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '77',
internalId:  '13562615',
customField: 'en:US:'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '32',
internalId:  '13562245',
customField: 'en:US:'
};
var canonHostname = 'diywk00.verio.stngva01.us.diy-servers.net';
var accountId     = 'AVEC10IN24JP';
var companyName   = 'Lake+Naomi+Club';
var htmlTitle	  = 'Lake+Naomi';
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 */					                                                            
