/* [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('Oil+Paintings'),jdecode(''),'/952/index.html','true',[ 
		['PAGE','30701',jdecode('%22Praying+Hands%22'),jdecode(''),'/952/30701.html','true',[],''],
		['PAGE','30722',jdecode('%22Seduction%22'),jdecode(''),'/952/30722.html','true',[],''],
		['PAGE','30743',jdecode('%22Garden+with+...%22'),jdecode(''),'/952/30743.html','true',[],''],
		['PAGE','32801',jdecode('%22Garden+with+...%22'),jdecode(''),'/952/32801.html','true',[],''],
		['PAGE','30764',jdecode('%22Pyramids+of...%22'),jdecode(''),'/952/30764.html','true',[],''],
		['PAGE','30785',jdecode('%22Park+Scene%22'),jdecode(''),'/952/30785.html','true',[],''],
		['PAGE','30806',jdecode('%22Meadow+with...%22'),jdecode(''),'/952/30806.html','true',[],''],
		['PAGE','35201',jdecode('%22The+Student%22'),jdecode(''),'/952/35201.html','true',[],''],
		['PAGE','35222',jdecode('%22At+the+Window%22'),jdecode(''),'/952/35222.html','true',[],''],
		['PAGE','35243',jdecode('%22Memories%22'),jdecode(''),'/952/35243.html','true',[],''],
		['PAGE','35264',jdecode('%22Three+Ballerin...%22'),jdecode(''),'/952/35264.html','true',[],''],
		['PAGE','42701',jdecode('%22Big+Sur+Sunset%22'),jdecode(''),'/952/42701.html','true',[],''],
		['PAGE','35285',jdecode('%22Columns+with...%22'),jdecode(''),'/952/35285.html','true',[],''],
		['PAGE','35327',jdecode('%22Visiting+Gran...%22'),jdecode(''),'/952/35327.html','true',[],''],
		['PAGE','35348',jdecode('%22The+Empower...%22'),jdecode(''),'/952/35348.html','true',[],''],
		['PAGE','35369',jdecode('%22Rodeo+Proces...%22'),jdecode(''),'/952/35369.html','true',[],''],
		['PAGE','35390',jdecode('%22Salome%22'),jdecode(''),'/952/35390.html','true',[],''],
		['PAGE','42722',jdecode('%22Bixby+Creek...%22'),jdecode(''),'/952/42722.html','true',[],''],
		['PAGE','35432',jdecode('%22Justice+Rem...%22'),jdecode(''),'/952/35432.html','true',[],''],
		['PAGE','35453',jdecode('%22Classical+Beauty%22'),jdecode(''),'/952/35453.html','true',[],'']
	],''],
	['PAGE','7301',jdecode('Giclees'),jdecode(''),'/7301/index.html','true',[ 
		['PAGE','43501',jdecode('%22Harmony%22'),jdecode(''),'/7301/43501.html','true',[],''],
		['PAGE','47001',jdecode('%22The+Empower...%22'),jdecode(''),'/7301/47001.html','true',[],''],
		['PAGE','43543',jdecode('%22In+the+Solarium%22'),jdecode(''),'/7301/43543.html','true',[],''],
		['PAGE','47022',jdecode('%22The+Letter%22'),jdecode(''),'/7301/47022.html','true',[],''],
		['PAGE','43585',jdecode('%22Justice...%22'),jdecode(''),'/7301/43585.html','true',[],''],
		['PAGE','47043',jdecode('%22Memories%22'),jdecode(''),'/7301/47043.html','true',[],''],
		['PAGE','47064',jdecode('%22Rodeo...%22'),jdecode(''),'/7301/47064.html','true',[],''],
		['PAGE','47085',jdecode('%22Meadow...%22'),jdecode(''),'/7301/47085.html','true',[],''],
		['PAGE','47106',jdecode('%22Young+Girl...%22'),jdecode(''),'/7301/47106.html','true',[],''],
		['PAGE','43606',jdecode('%22At+the+Window%22'),jdecode(''),'/7301/43606.html','true',[],''],
		['PAGE','47127',jdecode('%22Mom%26%23x27%3Bs+Roses%22'),jdecode(''),'/7301/47127.html','true',[],''],
		['PAGE','47148',jdecode('%22La+Menagerie%22'),jdecode(''),'/7301/47148.html','true',[],''],
		['PAGE','43627',jdecode('%22Seduction%22'),jdecode(''),'/7301/43627.html','true',[],''],
		['PAGE','43711',jdecode('%22Black+Pr...%22'),jdecode(''),'/7301/43711.html','true',[],''],
		['PAGE','43753',jdecode('%22The+Pyramid...%22'),jdecode(''),'/7301/43753.html','true',[],'']
	],''],
	['PAGE','7322',jdecode('Sketches'),jdecode(''),'/7322.html','true',[],''],
	['PAGE','7343',jdecode('Previews'),jdecode(''),'/7343.html','true',[],''],
	['PAGE','7385',jdecode('Biography'),jdecode(''),'/7385.html','true',[],''],
	['PAGE','7406',jdecode('Terms'),jdecode(''),'/7406.html','true',[],''],
	['PAGE','994',jdecode('Contact+Us'),jdecode(''),'/994.html','true',[],'']];
var siteelementCount=43;
theSitetree.topTemplateName='Akropolis';
theSitetree.paletteFamily='5E5E5E';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10553';
theSitetree.graphicsetId='10448';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='5e5e5e';
var theTemplate={
				name: 			'Akropolis',
				paletteFamily: 	'5E5E5E',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10553',
				graphicsetId: 	'10448',
				contentColor: 	'FFFFFF',
				contentBGColor: '5e5e5e',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				a_color: 		'5E5E5E',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
var canonHostname = 'localhost';
var accountId     = 'AAFF10IN2A7O';
var companyName   = 'Ashkar+Studios';
var htmlTitle	  = '';
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 */					                                                            

