/* [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('Aktuelles+News+Wetter'),jdecode(''),'/40555.html','true',[],''],
	['PAGE','40564',jdecode('Eigene+B%C3%BCcher'),jdecode(''),'/40564/home.html','true',[ 
		['PAGE','45242',jdecode('Russland'),jdecode(''),'/40564/45242.html','true',[],''],
		['PAGE','45133',jdecode('Anna+Politkowskaja'),jdecode(''),'/40564/45133.html','true',[],''],
		['PAGE','45251',jdecode('Lenka+Reinerov%C3%A1'),jdecode(''),'/40564/45251.html','true',[],''],
		['PAGE','57401',jdecode('B%C3%B6hmerwald'),jdecode(''),'/40564/57401.html','true',[],''],
		['PAGE','67501',jdecode('Pfalz'),jdecode(''),'/40564/67501.html','true',[],'']
	],''],
	['PAGE','68601',jdecode('Indien+multimedia'),jdecode(''),'/68601.html','true',[],''],
	['PAGE','40573',jdecode('Buchtipps'),jdecode(''),'/40573.html','true',[],''],
	['PAGE','40645',jdecode('Literatur-Links'),jdecode(''),'/40645.html','true',[],''],
	['PAGE','40582',jdecode('Rezensionsarchiv'),jdecode(''),'/40582.html','true',[],''],
	['PAGE','40600',jdecode('Spiegel+online'),jdecode(''),'/40600.html','true',[],''],
	['PAGE','44888',jdecode('Ausland'),jdecode(''),'/44888.html','true',[],''],
	['PAGE','44897',jdecode('Innenpolitik'),jdecode(''),'/44897.html','true',[],''],
	['PAGE','40654',jdecode('Vita'),jdecode(''),'/40654.html','true',[],''],
	['PAGE','40672',jdecode('Kontakt'),jdecode(''),'/40672.html','true',[],''],
	['PAGE','40690',jdecode('Bildarchiv'),jdecode(''),'/40690.html','true',[],''],
	['PAGE','40663',jdecode('Impressum'),jdecode(''),'/40663.html','true',[],'']];
var siteelementCount=19;
theSitetree.topTemplateName='Pencil';
theSitetree.paletteFamily='2D3DA5';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10361';
theSitetree.graphicsetId='10514';
theSitetree.contentColor='2d3da5';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Pencil',
				paletteFamily: 	'2D3DA5',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10361',
				graphicsetId: 	'10514',
				contentColor: 	'2d3da5',
				contentBGColor: 'FFFFFF',
				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:'10',
				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: '20120129-123253'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40600',
internalId:  '',
customField: '20100501-113140'
};
webappMappings['7090']=webappMappings['7090-584484']={
webappId:    '7090',
documentId:  '44897',
internalId:  '584484',
customField: 'type:rss-0.92;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44888',
internalId:  '',
customField: '20110129-135704'
};
webappMappings['7090']=webappMappings['7090-584479']={
webappId:    '7090',
documentId:  '44888',
internalId:  '584479',
customField: 'type:rss-0.92;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44897',
internalId:  '',
customField: '20110129-135557'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40654',
internalId:  '',
customField: '20110908-174303'
};
webappMappings['7090']=webappMappings['7090-584483']={
webappId:    '7090',
documentId:  '44888',
internalId:  '584483',
customField: 'type:rss-0.92;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40672',
internalId:  '',
customField: '20100501-112236'
};
webappMappings['7090']=webappMappings['7090-551814']={
webappId:    '7090',
documentId:  '40600',
internalId:  '551814',
customField: 'type:rss-0.91;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40573',
internalId:  '',
customField: '20120129-132126'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40564',
internalId:  '',
customField: '20110908-180719'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40663',
internalId:  '',
customField: '20100501-120047'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40555',
internalId:  '',
customField: '20110129-143201'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40582',
internalId:  '',
customField: '20110908-172921'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '68601',
internalId:  '',
customField: '20120129-140406'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40645',
internalId:  '',
customField: '20111013-125558'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '67501',
internalId:  '',
customField: '20120129-135916'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40690',
internalId:  '',
customField: '20110908-165904'
};
webappMappings['7090']=webappMappings['7090-584482']={
webappId:    '7090',
documentId:  '44888',
internalId:  '584482',
customField: 'type:rss-0.92;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45242',
internalId:  '',
customField: '20120129-131856'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45133',
internalId:  '',
customField: '20110907-114950'
};
webappMappings['7090']=webappMappings['7090-584486']={
webappId:    '7090',
documentId:  '40555',
internalId:  '584486',
customField: 'type:rss-0.92;language:de;country:DE;'
};
webappMappings['7090']=webappMappings['7090-584481']={
webappId:    '7090',
documentId:  '40555',
internalId:  '584481',
customField: 'type:rss-0.92;language:de;country:DE;'
};
webappMappings['7060']=webappMappings['7060-a5648f6ad6c3a2462bcbb2332bfac37e']={
webappId:    '7060',
documentId:  '68601',
internalId:  'a5648f6ad6c3a2462bcbb2332bfac37e',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45251',
internalId:  '',
customField: '20110908-171057'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '57401',
internalId:  '',
customField: '20110814-093632'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0IRSCUF';
var companyName   = 'Neues+aus+der+Welt+der+B%C3%BCcher';
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 */					                                                            

