/* [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','13801',jdecode('Home'),jdecode(''),'/13801.html','true',[],''],
	['PAGE','13812',jdecode('Mein+Buch'),jdecode(''),'/13812.html','true',[],''],
	['PAGE','40301',jdecode('Das+2te+Buch'),jdecode(''),'/40301.html','true',[],''],
	['PAGE','40601',jdecode('Bundesverdienstkreuz'),jdecode(''),'/40601.html','true',[],''],
	['PAGE','35401',jdecode('Lebenslauf'),jdecode(''),'/35401.html','true',[],''],
	['PAGE','13817',jdecode('Termine'),jdecode(''),'/13817.html','true',[],''],
	['PAGE','13822',jdecode('Info%C2%B4s'),jdecode(''),'/13822.html','true',[],''],
	['PAGE','39001',jdecode('Bildergalerie'),jdecode(''),'/39001.html','true',[],''],
	['PAGE','19702',jdecode('G%C3%A4stebuch+'),jdecode(''),'/19702/home.html','true',[ 
		['PAGE','19703',jdecode('Eintr%C3%A4ge'),jdecode(''),'/19702/19703.html','true',[],'']
	],''],
	['PAGE','33901',jdecode('Impressum'),jdecode(''),'/33901.html','true',[],'']];
var siteelementCount=11;
theSitetree.topTemplateName='Eatdrink';
theSitetree.paletteFamily='807F7F';
theSitetree.keyvisualId='3358';
theSitetree.keyvisualName='kv_3358.jpg';
theSitetree.fontsetId='10425';
theSitetree.graphicsetId='10737';
theSitetree.contentColor='5C5B5B';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Eatdrink',
				paletteFamily: 	'807F7F',
				keyvisualId: 	'3358',
				keyvisualName: 	'kv_3358.jpg',
				fontsetId: 		'10425',
				graphicsetId: 	'10737',
				contentColor: 	'5C5B5B',
				contentBGColor: 'FFFFFF',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'A83C3C',
				e_color: 		'A83C3C',
				f_color: 		'A83C3C',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1002']=webappMappings['1002-19702atoix0in2afu']={
webappId:    '1002',
documentId:  '19702',
internalId:  '19702atoix0in2afu',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-19702atoix0in2afu']={
webappId:    '1002',
documentId:  '19703',
internalId:  '19702atoix0in2afu',
customField: 'action=list'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '13801',
internalId:  '1006',
customField: '1006'
};
webappMappings['1008']=webappMappings['1008-38809261']={
webappId:    '1008',
documentId:  '33901',
internalId:  '38809261',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40601',
internalId:  '',
customField: '20100322-201743'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13801',
internalId:  '',
customField: '20100730-101453'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13817',
internalId:  '',
customField: '20100423-104314'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13812',
internalId:  '',
customField: '20100103-122145'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '35401',
internalId:  '',
customField: '20100103-121937'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13822',
internalId:  '',
customField: '20091126-120147'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19702',
internalId:  '',
customField: '20040827-021328'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19703',
internalId:  '',
customField: '20040825-152244'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33901',
internalId:  '',
customField: '20100322-194643'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40301',
internalId:  '',
customField: '20100612-080812'
};
webappMappings['1007']=webappMappings['1007-1204d73387a']={
webappId:    '1007',
documentId:  '39001',
internalId:  '1204d73387a',
customField: 'g.1416n3d1i.v20tdcmie.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39001',
internalId:  '',
customField: '20090328-154335'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0IN2AFU';
var companyName   = 'Erika+Riemann';
var htmlTitle	  = 'Erika+Riemann';
var metaKeywords  = 'Erika+Riemann%2C+Die+Schleife+an+Stalins+Bart%2C+M%C3%BClhausen%2C+Konzentrationslager%2C+Sachsenhausen%2C+Heimkehrer%2C+DDR%2C+Stalin%2C+Weltkrieg%2C+Heimkehrer%2C+VDK%2C+Bundesverdienstkreuz%2C+Bundespr%C3%A4sident';
var metaContents  = 'Erika+Riemann%2C+die+Geschichte+einer+gestohlenen+Jugend+und+einer+Befreiung+aus+den+Mauern+des+Schweigens.+Ein+ersch%C3%BCtternder+Lebensbericht.';
					                                                                    
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 */					                                                            
