/* [nodename, id, name, navigationtext, href, isnavigation, childs[], templatename] */

if (typeof(decodeURIComponent) == 'undefined') {
  decodeURIComponent = function(s) {
    return unescape(s);
  }
}

function jdecode(s) {
    s = s.replace(/\+/g, "%20")
    return decodeURIComponent(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','9801',jdecode('Home'),jdecode(''),'/9801.html','true',[],''],
	['PAGE','14564',jdecode('Vita'),jdecode(''),'/14564.html','true',[],''],
	['PAGE','77801',jdecode('Pappnasen'),jdecode(''),'/77801.html','true',[],''],
	['PAGE','21601',jdecode('Malunterricht'),jdecode(''),'/21601/home.html','true',[ 
		['PAGE','51301',jdecode('Malen+und+Picknick'),jdecode(''),'/21601/51301.html','true',[],'']
	],''],
	['PAGE','69301',jdecode('Ausstellung'),jdecode(''),'/69301.html','true',[],''],
	['PAGE','19601',jdecode('Aquarelle'),jdecode(''),'/19601.html','true',[],''],
	['PAGE','25501',jdecode('Aktmalerei'),jdecode(''),'/25501.html','true',[],''],
	['PAGE','22201',jdecode('Poesie'),jdecode(''),'/22201.html','true',[],''],
	['PAGE','26301',jdecode('Multimedia'),jdecode(''),'/26301.html','true',[],''],
	['PAGE','44806',jdecode('G%C3%A4stebuch'),jdecode(''),'/44806/home.html','false',[ 
		['PAGE','44801',jdecode('Eintr%C3%A4ge'),jdecode(''),'/44806/44801.html','true',[],'']
	],''],
	['PAGE','39401',jdecode('Links'),jdecode(''),'/39401.html','true',[],''],
	['PAGE','56601',jdecode('Wanderverein'),jdecode(''),'/56601.html','false',[],''],
	['PAGE','75201',jdecode('GeDe'),jdecode(''),'/75201.html','true',[],'']];
var siteelementCount=15;
theSitetree.topTemplateName='Time';
theSitetree.paletteFamily='401A1A';
theSitetree.keyvisualId='2302';
theSitetree.keyvisualName='korrespondenz.jpg';
theSitetree.fontsetId='269';
theSitetree.graphicsetId='338';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Time',
				paletteFamily: 	'401A1A',
				keyvisualId: 	'2302',
				keyvisualName: 	'korrespondenz.jpg',
				fontsetId: 		'269',
				graphicsetId: 	'338',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'4D1A1A',
				b_color: 		'C55050',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Times New Roman, Times, serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9801',
internalId:  '',
customField: '20120122-125307'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '75201',
internalId:  '',
customField: '20111109-202953'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14564',
internalId:  '',
customField: '20100718-133408'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19601',
internalId:  '',
customField: '20120122-150806'
};
webappMappings['1501']=webappMappings['1501-33139098']={
webappId:    '1501',
documentId:  '9801',
internalId:  '33139098',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44801',
internalId:  '',
customField: '20100425-081649'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39401',
internalId:  '',
customField: '20110507-234825'
};
webappMappings['1002']=webappMappings['1002-44806atoix0ine28t']={
webappId:    '1002',
documentId:  '44806',
internalId:  '44806atoix0ine28t',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-44806atoix0ine28t']={
webappId:    '1002',
documentId:  '44801',
internalId:  '44806atoix0ine28t',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44806',
internalId:  '',
customField: '20100425-081649'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21601',
internalId:  '',
customField: '20120122-150116'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22201',
internalId:  '',
customField: '20111109-203123'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '51301',
internalId:  '',
customField: '20100624-091554'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25501',
internalId:  '',
customField: '20100101-190541'
};
webappMappings['7060']=webappMappings['7060-71cf3392ad2d838cc2bb07b49fd38237']={
webappId:    '7060',
documentId:  '26301',
internalId:  '71cf3392ad2d838cc2bb07b49fd38237',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26301',
internalId:  '',
customField: '20090209-082546'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56601',
internalId:  '',
customField: '20110806-203845'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '69301',
internalId:  '',
customField: '20110911-180735'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '9801',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '77801',
internalId:  '',
customField: '20111110-203837'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0INE28T';
var companyName   = 'anneva+art...+kunst+und+poesie...';
var htmlTitle	  = 'malerei...+kunst+und+so';
var metaKeywords  = 'anneva-art.de%2C+Anneliese+Friedrich%2C+Anneliese+Eva+Friedrich%2C+Main+Spessart%2C+Kunst%2C+Kultur%2C+Malerei%2C+Aquarellmalerei%2C+painting%2C+Aquarell%2C+aquarell%2C+malen%2C+VHS-Kurse%2C+msp';
var metaContents  = 'Willkommen+bei+anneva-art.+Malerei%2C+Aquarelle%2C+Malkurse%2C+msp%2C+unterfranken%2C+graefendorf%2C+gr%C3%A4fendorf+painting%2C+kurse%2C+Freude+am+Aquarellieren%2C+Anneliese+Friedrich%2C+Anneliese+Eva+Friedrich%2C+Main+Spessart%2C+';
					                                                                    
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;                                                                     
	};                                                                               
theSitetree.getByXx = function(lookup, xx, ar) {									 
    if (typeof(ar) == 'undefined')												 
    	ar = this;																	 
    for (var i=0; i < ar.length; i++) {										     
        if (ar[i][xx] == lookup)													 
        	return ar[i];															 
        if (ar[i][POS_CHILDS].length > 0) {										 
        	var result=this.getByXx(lookup, xx, ar[i][POS_CHILDS]);					 
            if (result != null)													 
                return result;													 
        }																			 
    }																				 
    return null;																	 
};																				 
function gotoPage(lookup) {														 
    var page = theSitetree.getHREF(lookup);										 
    if (!page) {																	 
  		var testFor = [ POS_NAME, POS_NAVIGATIONTEXT ];							 
            for (var i=0 ; i < testFor.length ; i++) {							 
                    var p = theSitetree.getByXx(lookup, testFor[i]);				 
                    if (p != null) {												 
                            page = p[POS_HREF];									 
                            break;												 
                    }																 
            }																		 
    }																				 
 document.location.href = (new URL(__path_prefix__ + page, true, true)).toString();
}
/* EOF */					                                                            

