/* [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','44102',jdecode('Home'),jdecode(''),'/44102.html','true',[],''],
	['PAGE','44062',jdecode('Aktuelles'),jdecode(''),'/44062/home.html','true',[ 
		['PAGE','94266',jdecode('Ernst+J%C3%BCnger'),jdecode(''),'/44062/94266.html','true',[],''],
		['PAGE','94245',jdecode('Konrad+Wei%C3%9F'),jdecode(''),'/44062/94245.html','true',[],'']
	],''],
	['PAGE','68445',jdecode('Leopold+Ziegler'),jdecode(''),'/68445.html','true',[],''],
	['PAGE','44111',jdecode('Tradition+und+Transzendenz'),jdecode(''),'/44111/home.html','true',[ 
		['PAGE','44745',jdecode('Inhalt'),jdecode(''),'/44111/44745.html','true',[],''],
		['PAGE','44120',jdecode('Leseprobe'),jdecode(''),'/44111/44120.html','true',[],'']
	],''],
	['PAGE','70745',jdecode('Dichtung'),jdecode(''),'/70745/home.html','true',[ 
		['PAGE','75745',jdecode('Begegnungen+in+Weiss'),jdecode(''),'/70745/75745.html','true',[],''],
		['PAGE','75766',jdecode('Versuch+eines+Winters'),jdecode(''),'/70745/75766.html','true',[],''],
		['PAGE','75787',jdecode('William+Blake'),jdecode(''),'/70745/75787.html','true',[],''],
		['PAGE','75808',jdecode('Gebete+aus+Stein'),jdecode(''),'/70745/75808.html','true',[],'']
	],''],
	['PAGE','60845',jdecode('Trist'),jdecode(''),'/60845.html','true',[],''],
	['PAGE','41001',jdecode('Bibliographie'),jdecode(''),'/41001.html','true',[],''],
	['PAGE','44138',jdecode('Autor+%2F+Kontakt'),jdecode(''),'/44138.html','true',[],''],
	['PAGE','55945',jdecode('Das+Gl%C3%BCck'),jdecode(''),'/55945.html','true',[],'']];
var siteelementCount=17;
theSitetree.topTemplateName='Galerie';
theSitetree.paletteFamily='FFFFCC';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='73';
theSitetree.graphicsetId='96';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='DAD6A7';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Galerie',
				paletteFamily: 	'FFFFCC',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'73',
				graphicsetId: 	'96',
				contentColor: 	'000000',
				contentBGColor: 'DAD6A7',
				a_color: 		'FFFFCC',
				b_color: 		'003333',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44102',
internalId:  '',
customField: '20120123-220914'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '44102',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41001',
internalId:  '',
customField: '20110722-115453'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '68445',
internalId:  '',
customField: '20110406-185109'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '70745',
internalId:  '',
customField: '20110405-094143'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '75745',
internalId:  '',
customField: '20110405-174709'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '75766',
internalId:  '',
customField: '20110405-215859'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '75787',
internalId:  '',
customField: '20110405-112329'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44062',
internalId:  '',
customField: '20120123-215944'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '94266',
internalId:  '',
customField: '20110927-225044'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44111',
internalId:  '',
customField: '20110404-151415'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44745',
internalId:  '',
customField: '20071006-172152'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44120',
internalId:  '',
customField: '20110401-112700'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44138',
internalId:  '',
customField: '20110406-125607'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '75808',
internalId:  '',
customField: '20110406-100213'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '94245',
internalId:  '',
customField: '20110927-233320'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55945',
internalId:  '',
customField: '20090306-133913'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '60845',
internalId:  '',
customField: '20110405-114759'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0INZFPX';
var companyName   = 'timokoelling.de';
var htmlTitle	  = 'Timo+Koelling+%3A+Offizielle+Homepage';
var metaKeywords  = 'Homepage+des+Autors+und+Publizisten+Timo+Koelling.+Lyrik.+Philosophie.+Tradition+und+Transzendenz.+Ideen+zu+einer+europ%C3%A4ischen+Philosophie.+Versuch+eines+Winters.+Begegnungen+in+Weiss.+Ende+und+Anfang.+Silhouetten+im+Nebel.+Leopold+Ziegler.+Ernst+J%C3%BCnger.+Konrad+Weiss.+Carl+Schmitt.+Walter+Benjamin';
var metaContents  = 'Homepage+des+Autors+und+Publizisten+Timo+Koelling';
					                                                                    
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 */					                                                            

