/* [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','40208',jdecode('wer+bin+ich'),jdecode(''),'/40208.html','true',[],''],
	['PAGE','40199',jdecode('Meine+Stadt+'),jdecode(''),'/40199.html','true',[],''],
	['PAGE','40217',jdecode('Freizeit'),jdecode(''),'/40217.html','true',[],''],
	['PAGE','43201',jdecode('Meine+Freunde'),jdecode(''),'/43201.html','true',[],''],
	['PAGE','40226',jdecode('Was+mir+gef%C3%A4llt'),jdecode(''),'/40226.html','true',[],''],
	['PAGE','100701',jdecode('Mein+Buch+bei+BookRix'),jdecode(''),'/100701.html','true',[],''],
	['PAGE','42221',jdecode('Meine+Gedichte'),jdecode(''),'/42221.html','true',[],''],
	['PAGE','82401',jdecode('Gedichte+Liebesfacetten+'),jdecode(''),'/82401.html','true',[],''],
	['PAGE','84701',jdecode('Gedichte+Jahreszeiten+'),jdecode(''),'/84701.html','true',[],''],
	['PAGE','96901',jdecode('Meine+Elfchen'),jdecode(''),'/96901.html','true',[],''],
	['PAGE','40442',jdecode('zum+Schmunzeln+und+mehr'),jdecode(''),'/40442.html','false',[],''],
	['PAGE','41144',jdecode('Urlaub'),jdecode(''),'/41144/home.html','true',[ 
		['PAGE','107801',jdecode('Kleinarl'),jdecode(''),'/41144/107801.html','true',[],'']
	],''],
	['PAGE','40236',jdecode('G%C3%A4stebuch'),jdecode(''),'/40236.html','true',[],''],
	['PAGE','40235',jdecode('Eintr%C3%A4ge'),jdecode(''),'/40235.html','true',[],'']];
var siteelementCount=15;
theSitetree.topTemplateName='Billy';
theSitetree.paletteFamily='7179A3';
theSitetree.keyvisualId='7078';
theSitetree.keyvisualName='kv_7078.jpg';
theSitetree.fontsetId='16390';
theSitetree.graphicsetId='12122';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='7179A3';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Billy',
				paletteFamily: 	'7179A3',
				keyvisualId: 	'7078',
				keyvisualName: 	'kv_7078.jpg',
				fontsetId: 		'16390',
				graphicsetId: 	'12122',
				contentColor: 	'FFFFFF',
				contentBGColor: '7179A3',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '40208',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40199',
internalId:  '',
customField: '20090104-172801'
};
webappMappings['1002']=webappMappings['1002-40236atoix0i7eoc2']={
webappId:    '1002',
documentId:  '40236',
internalId:  '40236atoix0i7eoc2',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-40236atoix0i7eoc2']={
webappId:    '1002',
documentId:  '40235',
internalId:  '40236atoix0i7eoc2',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40208',
internalId:  '',
customField: '20110331-115512'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40217',
internalId:  '',
customField: '20090125-171843'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40226',
internalId:  '',
customField: '20110806-094534'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40442',
internalId:  '',
customField: '20100307-130255'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40236',
internalId:  '',
customField: '20070612-140550'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40235',
internalId:  '',
customField: '20070602-185206'
};
webappMappings['1007']=webappMappings['1007-112f5a6d831']={
webappId:    '1007',
documentId:  '41144',
internalId:  '112f5a6d831',
customField: 'g.12bqq9psq.du9nhk6p0n.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42221',
internalId:  '',
customField: '20120109-152147'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '96901',
internalId:  '',
customField: '20090713-132652'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41144',
internalId:  '',
customField: '20090825-193501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '84701',
internalId:  '',
customField: '20101028-140112'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '82401',
internalId:  '',
customField: '20110621-114931'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43201',
internalId:  '',
customField: '20090607-144952'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '100701',
internalId:  '',
customField: '20101028-142039'
};
webappMappings['7060']=webappMappings['7060-41559d0f057d5deb551094862e67a971']={
webappId:    '7060',
documentId:  '107801',
internalId:  '41559d0f057d5deb551094862e67a971',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '107801',
internalId:  '',
customField: '20100525-145225'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0I7EOC2';
var companyName   = 'Meine+Homepage';
var htmlTitle	  = 'Ich+und+Poesie%2C+meine+Homepage';
var metaKeywords  = 'Wiltrud+Mothes%2C+Pforzheim%2C+Gedichte%2C+Witziges%2C+Urlaub%2C+Freizeit+Drei-T%C3%A4ler+Stadt+Goldstadt%2C+Schmuckindustrie%2C+B%C3%BCcher%2C+Musik';
var metaContents  = 'Gedichte%2C+Pforzheim+meine+Stadt+%2C+%C3%BCber+mich';
					                                                                    
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 */					                                                            

