/* [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('das+Buch'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','54501',jdecode('die+Story'),jdecode(''),'/54501/home.html','true',[ 
		['PAGE','62001',jdecode('Leseprobe'),jdecode(''),'/54501/62001.html','true',[],'']
	],''],
	['PAGE','66801',jdecode('Was+sagen+die+Kritiker%3F'),jdecode(''),'/66801.html','true',[],''],
	['PAGE','40600',jdecode('der+Autor'),jdecode(''),'/40600/home.html','true',[ 
		['PAGE','72101',jdecode('mehr+von+Oliver+G.+Wachlin'),jdecode(''),'/40600/72101.html','true',[],'']
	],''],
	['PAGE','40609',jdecode('Bestellen+%2F+Kaufen'),jdecode(''),'/40609.html','true',[],''],
	['PAGE','60301',jdecode('Impressum'),jdecode(''),'/60301.html','true',[],''],
	['PAGE','40618',jdecode('Links'),jdecode(''),'/40618.html','true',[],'']];
var siteelementCount=9;
theSitetree.topTemplateName='Kreis';
theSitetree.paletteFamily='D24C59';
theSitetree.keyvisualId='583';
theSitetree.keyvisualName='autohaendler.jpg';
theSitetree.fontsetId='124';
theSitetree.graphicsetId='143';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='000000';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Kreis',
				paletteFamily: 	'D24C59',
				keyvisualId: 	'583',
				keyvisualName: 	'autohaendler.jpg',
				fontsetId: 		'124',
				graphicsetId: 	'143',
				contentColor: 	'FFFFFF',
				contentBGColor: '000000',
				a_color: 		'D24C59',
				b_color: 		'F877A1',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				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: '20090804-140753'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '54501',
internalId:  '',
customField: '20090228-132434'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '66801',
internalId:  '',
customField: '20090228-120308'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40600',
internalId:  '',
customField: '20080525-134305'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62001',
internalId:  '',
customField: '20080916-101847'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '60301',
internalId:  '',
customField: '20080525-140940'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40609',
internalId:  '',
customField: '20080916-101927'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40618',
internalId:  '',
customField: '20090804-141111'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '72101',
internalId:  '',
customField: '20100124-222926'
};
var canonHostname = 'cfawrk08.aul.t-online.de';
var accountId     = 'ATOIX0IR067N';
var companyName   = 'Der+Krimi+zum+Mauerfall+%3A';
var htmlTitle	  = 'Wunderland+-+der+Krimi+zum+Mauerfall';
var metaKeywords  = 'Wunder%2C+Wunderland%2C+Wunderlandkrimi%2C+Mauerfallkrimi%2C+Berlin%2C+Krimi%2C+Oliver+G.+Wachlin%2C+Herbst+1989%2C+Mauer%2C+Mauerfall%2C+Minenfeld%2C+Lebens%2C+falscher+Schritt%2C+Westberlin%2C+Teilung%2C+Kriminalroman%2C+Gef%C3%BChle%2C+Tochter%2C+Tod%2C+Leiche%2C+DDR-B%C3%BCrger%2C+Buch%2C+tot%2C+cleverer%2C+Coup%2C+Fall%2C+Schlittschuhl%C3%A4uferin%2C+Knoop%2C+Kommissar%2C+Russen%2C+Invasion%2C+Eisunfall%2C+Winter%2C+Unfall%2C+Eis%2C+November%2C+Schlittschuhe%2C+elfenhaftes+Wesen%2C+Verkehrschaos%2C+Trabis%2C+gl%C3%BCcklich%2C+Menschen%2C+Arme%2C+wildfremde%2C+Millionen%2C+Westteil%2C+Stra%C3%9Fen%2C+Ausnahmezustand%2C+gefeiert%2C+debattiert%2C+demonstriert%2C+Westberliner%2C+Politiker%2C+beschw%C3%B6ren%2C+Ende%2C+Stadt%2C+Ruhe%2C+Besonnenheit%2C+Kriminalhauptkommissar%2C+Hans+Dieter%2C+Gegenteil%2C+Transitreisen%2C+DDR%2C+Autos%2C+Verkehr%2C+Erliegen%2C+Fake%2C+Warschauer+Pakt%2C+Schuss%2C+qualifizierte+Beamte%2C+r%C3%A4tselhaften+Fall%2C+Wannseeufer%2C+T%C3%BCmpel%2C+Kleine%2C+leibliche+Tochter%2C+Oberstleutnant%2C+Nationale+Volksarmee%2C+neutralen%2C+Boden%2C+l%C3%A4ngst+vergessene+Jugendliebe%2C+taucht%2C+irritierende+Gef%C3%BChle%2C+Im+Minenfeld+des+Lebens%2C+Autor%2C+Schreibtisch%2C+Drehb%C3%BCcher%2C+Film%2C+Fernsehen%2C+Seiten%2C+ehemaligen%2C+Mauerstadt%2C+Ostteil%2C+versuchter+Republikflucht%2C+Gef%C3%A4ngnis%2C+Westen%2C+Familie%2C+Schaupl%C3%A4tzen%2C+Kriminalromans%2C+o.g.wachlin%40wunderlandkrimi.de%2C+www.wunderlandkrimi.de%2C+erscheint+ab+Herbst+2008+bei+Emons%2C+Emons%2C+die+Story%2C+Bestellen+%2F+Kaufen%2C+';
var metaContents  = 'Offizielle+Homepage+zum+Berlinkrimi+WUNDERLAND+von+Oliver+G.+Wachlin.+Herbst+1989%3A+Ein+Wunder+ist+geschehen%2C+die+Mauer+gefallen.+Westberlin+versinkt+im+Chaos.+Hauptkommissar+Knoop+ger%C3%A4t+ins+Minenfeld+des+Lebens.+Ein+falscher+Schritt%2C+und+es+fliegt+ihm+um+die+Ohren.Der+ultimative+Mauerfallkrimi+erscheint+ab+Herbst+2008+bei+Emons.+';
					                                                                    
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 */					                                                            
