/* [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','10684',jdecode('Home'),jdecode(''),'/10684.html','true',[],''],
	['PAGE','10690',jdecode('Mein+Steckbrief'),jdecode(''),'/10690.html','true',[],''],
	['PAGE','10695',jdecode('Meine+Texte'),jdecode(''),'/10695/home.html','true',[ 
		['PAGE','76463',jdecode('Anthologie+%22Aus+dreizehn+Federn%22'),jdecode(''),'/10695/76463.html','true',[],''],
		['PAGE','52926',jdecode('Gedichtband+Treibgut'),jdecode(''),'/10695/52926.html','true',[],''],
		['PAGE','52905',jdecode('Gedichtband+Zwischenruf'),jdecode(''),'/10695/52905.html','true',[],''],
		['PAGE','52884',jdecode('Kinderbuch+Abenteuer+in+Furchib'),jdecode(''),'/10695/52884.html','true',[],''],
		['PAGE','52863',jdecode('Gedichtband+Zeitzeichen'),jdecode(''),'/10695/52863.html','true',[],'']
	],''],
	['PAGE','10700',jdecode('Meine+Musik'),jdecode(''),'/10700/home.html','true',[ 
		['PAGE','52947',jdecode('Liedermacher'),jdecode(''),'/10700/52947.html','true',[],''],
		['PAGE','52989',jdecode('Instrumental%2F+Sonstiges'),jdecode(''),'/10700/52989.html','true',[],''],
		['PAGE','52968',jdecode('Techno'),jdecode(''),'/10700/52968.html','true',[],'']
	],''],
	['PAGE','53010',jdecode('Pressestimmen'),jdecode(''),'/53010.html','true',[],''],
	['PAGE','10935',jdecode('G%C3%A4stebuch'),jdecode(''),'/10935/home.html','true',[ 
		['PAGE','10936',jdecode('Eintr%C3%A4ge'),jdecode(''),'/10935/10936.html','true',[],'']
	],''],
	['PAGE','33424',jdecode('Fotos'),jdecode(''),'/33424.html','true',[],''],
	['PAGE','10710',jdecode('nicht+%C3%B6ffentlicher+Teil'),jdecode(''),'/10710/home.html','true',[ 
		['PAGE','33963',jdecode('Urlaub+2005'),jdecode(''),'/10710/33963.html','true',[],'']
	],''],
	['PAGE','10705',jdecode('Kontakt%2FFeedback'),jdecode(''),'/10705/home.html','true',[ 
		['PAGE','26896',jdecode('Kontakt%2FFeedback+%28Folgeseite%29'),jdecode(''),'/10705/26896.html','false',[],'']
	],'']];
var siteelementCount=20;
theSitetree.topTemplateName='Flat';
theSitetree.paletteFamily='999933';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='16705';
theSitetree.graphicsetId='12241';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='BCBC6F';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Flat',
				paletteFamily: 	'999933',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'16705',
				graphicsetId: 	'12241',
				contentColor: 	'000000',
				contentBGColor: 'BCBC6F',
				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',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1002']=webappMappings['1002-10935atoix0in2ywe']={
webappId:    '1002',
documentId:  '10935',
internalId:  '10935atoix0in2ywe',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-10935atoix0in2ywe']={
webappId:    '1002',
documentId:  '10936',
internalId:  '10935atoix0in2ywe',
customField: 'action=list'
};
webappMappings['1501']=webappMappings['1501-3477681']={
webappId:    '1501',
documentId:  '10684',
internalId:  '3477681',
customField: '1501'
};
webappMappings['3001']=webappMappings['3001-']={
webappId:    '3001',
documentId:  '10710',
internalId:  '',
customField: ''
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '10684',
internalId:  '1006',
customField: '1006'
};
webappMappings['1007']=webappMappings['1007-1057b49871c']={
webappId:    '1007',
documentId:  '33424',
internalId:  '1057b49871c',
customField: 'g.10ltked9p.d90gk7u4f0.3o'
};
webappMappings['1001']=webappMappings['1001-atoix0in2ywe1055d4c0b73']={
webappId:    '1001',
documentId:  '10705',
internalId:  'atoix0in2ywe1055d4c0b73',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0in2ywe1055d4c0b73']={
webappId:    '1001',
documentId:  '26896',
internalId:  'atoix0in2ywe1055d4c0b73',
customField: 'followUp'
};
webappMappings['1007']=webappMappings['1007-1066d799644']={
webappId:    '1007',
documentId:  '33963',
internalId:  '1066d799644',
customField: 'g.10pmnh4sg.oefmbg75ja.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10684',
internalId:  '',
customField: '20101209-195112'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10690',
internalId:  '',
customField: '20100811-075708'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10695',
internalId:  '',
customField: '20100811-075920'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10700',
internalId:  '',
customField: '20110206-172204'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10935',
internalId:  '',
customField: '20071211-094422'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10936',
internalId:  '',
customField: '20041010-060711'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33424',
internalId:  '',
customField: '20050804-053559'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10710',
internalId:  '',
customField: '20051006-042058'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33963',
internalId:  '',
customField: '20050929-132751'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10705',
internalId:  '',
customField: '20050728-135758'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26896',
internalId:  '',
customField: '20050728-135529'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '52863',
internalId:  '',
customField: '20111220-123149'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '52884',
internalId:  '',
customField: '20100518-051841'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '52926',
internalId:  '',
customField: '20100518-052119'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '52905',
internalId:  '',
customField: '20080219-123450'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '52947',
internalId:  '',
customField: '20100615-072119'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '52968',
internalId:  '',
customField: '20100629-190004'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '52989',
internalId:  '',
customField: '20100629-185202'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '53010',
internalId:  '',
customField: '20071213-074023'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '76463',
internalId:  '',
customField: '20081209-163838'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0IN2YWE';
var companyName   = 'Liedermacher+-+Thomas+Stein';
var htmlTitle	  = 'Liedermacher+Thomas+Stein';
var metaKeywords  = 'Literatur%2CLiedermacher%2CThomas+Stein%2CLieder%2CLyrik%2CSchriftsteller%2CKinderbuchautor';
var metaContents  = 'Liedermacher+und+Kinderbuchautor+Thomas+Stein';
					                                                                    
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 */					                                                            

