/* [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','2201',jdecode('The+Artist'),jdecode(''),'/2201.html','true',[],''],
	['PAGE','13801',jdecode('Flowers+%26+Plants'),jdecode(''),'/13801.html','true',[],''],
	['PAGE','13822',jdecode('Landscapes+%26+Sceneries'),jdecode(''),'/13822.html','true',[],''],
	['PAGE','2378',jdecode('Upcoming+Events'),jdecode(''),'/2378.html','true',[],''],
	['PAGE','2420',jdecode('Galleries+to+Visit'),jdecode(''),'/2420.html','true',[],''],
	['PAGE','18201',jdecode('Interesting+Tidbits'),jdecode(''),'/18201.html','true',[],''],
	['PAGE','20306',jdecode('Guestbook'),jdecode(''),'/20306/index.html','true',[ 
		['PAGE','20301',jdecode('Read+Guestbook'),jdecode(''),'/20306/20301.html','true',[],'']
	],'']];
var siteelementCount=8;
theSitetree.topTemplateName='Caribic';
theSitetree.paletteFamily='1F7E8F';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10419';
theSitetree.graphicsetId='10712';
theSitetree.contentColor='DDDDDD';
theSitetree.contentBGColor='B63636';
var theTemplate={
				name: 			'Caribic',
				paletteFamily: 	'1F7E8F',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10419',
				graphicsetId: 	'10712',
				contentColor: 	'DDDDDD',
				contentBGColor: 'B63636',
				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:  '2201',
internalId:  '1006',
customField: '1006'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '20306',
internalId:  '20306aaff10inlo86',
customField: 'action=form&icq=false'
};
webappMappings['1002']={
webappId:    '1002',
documentId:  '20301',
internalId:  '20306aaff10inlo86',
customField: 'action=list'
};
var canonHostname = 'wsc01.cm4all.affinity.com';
var accountId     = 'AAFF10INLO86';
var companyName   = 'Susan+Cardenas-Watercolors';
var htmlTitle	  = 'Susan+Cardenas+Watercolors';
var metaKeywords  = 'Susan+Cardenas+Watercolors+Windward+Kaneohe+Bay+Koolaus+Okinawa+Miniatures+Art+Paintings+Artist+Stan+Yamauchi+Haiku+Gallery+Island+Treasures+Koko+Marina+Native+Books+Hawaii+Midweek+Oahu+Steven+Cardenas+Violin+Viola+Guitar+Duo+Aloha+Island+Weddings+Windward+String+Orchestra+';
var metaContents  = 'Susan+Cardenas-Watercolors++++Biography+and+Mission+Statement++++Susans+career+in+art+started+while+painting+miniatures+on+mother+of+pearl+in+1979.+There%2C+she+learned+much+about+composition+and+color%2C+as+well+as+an+ability+to+paint+very+tiny.+In+1981%2C+she+studied+oil+panting+under+local+artist+Stan+Yamauchi.+She+went+back+to+school+to+earn+a+degree+in+graphic+arts+in+1984+and+soon+after+worked+as+a+graphic+artist+at+a+local+newspaper%2C+the+Midweek.+Finally+in+1998%2C+she+realized+that+fine+art+was+her+passion+and+pursued+he+dreams+to+make+it+a+full+time+career.+Most+of+her+watercolor+techniques+are+self-taught.++++++Born+in+Okinawa+and+raised+in+Kaneohe%2C+Oahu%2C+Susan+grew+up+between+the+majestic+beauty+of+the+Koolaus+and+the+picturesque+serentiy+of+Kaneohe+Bay.+Only+after+she+became+a+Christian+did+she+really+appreciate+the+beauty+of+the+islands+and+today%2C+her+work+reflects+her+appreciation+of+Gods+creations%2C+the+beautiful+flowers%2C+plants+and+scenery+of+Hawaii.++++++Susan+resides+in+Kaneohe+with+her+husband+and+3+sons.+Her+paintings+may+be+seen+at+Gallery+Haiku+at+the+Windward+Mall%2C+Island+Treasures+at+Koko+Marina%2C+and+at+the+Native+Books+at+Ward+Warehouse.++++++In+the+meantime+you+can+reach+us+at+%5B808%5D+247-3003.+We+are+looking+forward+to+hearing+from+you.+You+can+also+contact+us+at+our+e-mail+address%3A+susancardenas%40hawaii.rr.com++++++++++';
					                                                                    
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 */					                                                            
