/* [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','39994',jdecode('Startseite'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','40555',jdecode('Lydia%C2%B4s+Leben'),jdecode(''),'/40555.html','true',[],''],
	['PAGE','40564',jdecode('Die+Krankheit'),jdecode(''),'/40564.html','true',[],''],
	['PAGE','41068',jdecode('Julia+%C3%BCber+Lydia'),jdecode(''),'/41068.html','true',[],''],
	['PAGE','41344',jdecode('Lydia%C2%B4s+Stern'),jdecode(''),'/41344.html','true',[],''],
	['PAGE','40621',jdecode('Lydia%C2%B4s+Fotogalerie'),jdecode(''),'/40621.html','true',[],''],
	['PAGE','41056',jdecode('Lydia%C2%B4s+Kunstwerke'),jdecode(''),'/41056.html','true',[],''],
	['PAGE','41458',jdecode('Anzeigen+%2F+Grab'),jdecode(''),'/41458.html','true',[],''],
	['PAGE','41077',jdecode('%22Stra%C3%9Fe+der+Besten%22'),jdecode(''),'/41077.html','true',[],''],
	['PAGE','40592',jdecode('G%C3%A4stebuch'),jdecode(''),'/40592/home.html','true',[ 
		['PAGE','40591',jdecode('Eintr%C3%A4ge'),jdecode(''),'/40592/40591.html','true',[],'']
	],''],
	['PAGE','40966',jdecode('Links'),jdecode(''),'/40966.html','true',[],''],
	['PAGE','40695',jdecode('Impressum'),jdecode(''),'/40695.html','true',[],'']];
var siteelementCount=13;
theSitetree.topTemplateName='TOI_Mysticelements';
theSitetree.paletteFamily='010101';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='33453';
theSitetree.graphicsetId='14303';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='EAE1AC';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Mysticelements',
				paletteFamily: 	'010101',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'33453',
				graphicsetId: 	'14303',
				contentColor: 	'000000',
				contentBGColor: 'EAE1AC',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '39994',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20091222-162129'
};
webappMappings['1002']=webappMappings['1002-40592atoix0iruwfg']={
webappId:    '1002',
documentId:  '40592',
internalId:  '40592atoix0iruwfg',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-40592atoix0iruwfg']={
webappId:    '1002',
documentId:  '40591',
internalId:  '40592atoix0iruwfg',
customField: 'action=list'
};
webappMappings['1007']=webappMappings['1007-125a6feb46c']={
webappId:    '1007',
documentId:  '40621',
internalId:  '125a6feb46c',
customField: 'g.14mjfrudh.mbpaaadn49.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40564',
internalId:  '',
customField: '20091222-184627'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40555',
internalId:  '',
customField: '20091224-125152'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40592',
internalId:  '',
customField: '20091219-133717'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40591',
internalId:  '',
customField: '20091219-133717'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40621',
internalId:  '',
customField: '20091222-184101'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40695',
internalId:  '',
customField: '20091220-184644'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40966',
internalId:  '',
customField: '20091223-190958'
};
webappMappings['1007']=webappMappings['1007-125ad3627fd']={
webappId:    '1007',
documentId:  '41056',
internalId:  '125ad3627fd',
customField: 'g.14mmjaujf.5bn4u6fl1i0.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41068',
internalId:  '',
customField: '20091223-205531'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41056',
internalId:  '',
customField: '20091222-184111'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41077',
internalId:  '',
customField: '20100927-130408'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41344',
internalId:  '',
customField: '20091224-134051'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41458',
internalId:  '',
customField: '20101019-112651'
};
var canonHostname = 'c4awrk05.aul.t-online.de';
var accountId     = 'ATOIX0IRUWFG';
var companyName   = 'Lydia+Eifler%2C+ein+viel+zu+kurzes+Leben+...';
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;                                                                     
	};                                                                               
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 */					                                                            

