/* [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','19701',jdecode('Heiraten+f.+Anf.+38+%2F+1'),jdecode(''),'/19701.html','false',[],''],
	['PAGE','58302',jdecode('Vita'),jdecode(''),'/58302.html','true',[],''],
	['PAGE','38501',jdecode('Publikationen'),jdecode(''),'/38501.html','true',[],''],
	['PAGE','936527',jdecode('Audio'),jdecode(''),'/936527.html','true',[],''],
	['PAGE','19201',jdecode('Pressestimmen'),jdecode(''),'/19201.html','true',[],''],
	['PAGE','267915',jdecode('EmergencyShitKit'),jdecode(''),'/267915.html','true',[],''],
	['PAGE','21854',jdecode('Sarek+auf+Deutsch'),jdecode(''),'/21854.html','true',[],''],
	['PAGE','1120327',jdecode('-+auf+Russisch'),jdecode(''),'/1120327.html','true',[],''],
	['PAGE','270315',jdecode('-+auf+Englisch'),jdecode(''),'/270315.html','true',[],''],
	['PAGE','104602',jdecode('-+auf+Schwedisch'),jdecode(''),'/104602.html','true',[],''],
	['PAGE','40699',jdecode('-+auf+Italienisch'),jdecode(''),'/40699.html','true',[],''],
	['PAGE','47503',jdecode('-+auf+Polnisch'),jdecode(''),'/47503.html','true',[],''],
	['PAGE','99420',jdecode('Polemik'),jdecode(''),'/99420.html','true',[],''],
	['PAGE','83801',jdecode('Lyrik'),jdecode(''),'/83801.html','true',[],''],
	['PAGE','48032',jdecode('Erotik'),jdecode(''),'/48032/home.html','true',[ 
		['PAGE','48001',jdecode('Erotik'),jdecode(''),'/48032/48001.html','true',[],'']
	],''],
	['PAGE','84301',jdecode('Index'),jdecode(''),'/84301.html','true',[],''],
	['PAGE','84501',jdecode('Impressum%2C+Kontakt'),jdecode(''),'/84501.html','true',[],''],
	['PAGE','624427',jdecode('Fotographie'),jdecode(''),'/624427.html','true',[],'']];
var siteelementCount=20;
theSitetree.topTemplateName='TOI_Boutique_01';
theSitetree.paletteFamily='D6D6D6';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='33359';
theSitetree.graphicsetId='14229';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='333333';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Boutique_01',
				paletteFamily: 	'D6D6D6',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'33359',
				graphicsetId: 	'14229',
				contentColor: 	'FFFFFF',
				contentBGColor: '333333',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Palatino Linotype, Book Antiqua, Palatino, serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '13801',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13801',
internalId:  '',
customField: '20120210-185811'
};
webappMappings['3001']=webappMappings['3001-']={
webappId:    '3001',
documentId:  '48001',
internalId:  '',
customField: ''
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '936527',
internalId:  '',
customField: '20110513-164239'
};
webappMappings['4001']=webappMappings['4001-18847489']={
webappId:    '4001',
documentId:  '267915',
internalId:  '18847489',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19701',
internalId:  '',
customField: '20100802-212815'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1120327',
internalId:  '',
customField: '20110902-220044'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '58302',
internalId:  '',
customField: '20110320-215155'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '38501',
internalId:  '',
customField: '20101127-165822'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19201',
internalId:  '',
customField: '20111102-181850'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '267915',
internalId:  '',
customField: '20110508-092250'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21854',
internalId:  '',
customField: '20090301-125449'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '270315',
internalId:  '',
customField: '20060217-120722'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '104602',
internalId:  '',
customField: '20100217-212746'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40699',
internalId:  '',
customField: '20061216-232630'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47503',
internalId:  '',
customField: '20120125-155539'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '99420',
internalId:  '',
customField: '20110927-090250'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '83801',
internalId:  '',
customField: '20120129-195016'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48032',
internalId:  '',
customField: '20080721-113835'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48001',
internalId:  '',
customField: '20091205-224106'
};
webappMappings['7060']=webappMappings['7060-80bebfb96687b7cc0333e63113c3c2a9']={
webappId:    '7060',
documentId:  '624427',
internalId:  '80bebfb96687b7cc0333e63113c3c2a9',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '84301',
internalId:  '',
customField: '20110524-150239'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '84501',
internalId:  '',
customField: '20100217-215139'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '624427',
internalId:  '',
customField: '20070712-214331'
};
webappMappings['1008']=webappMappings['1008-36494907']={
webappId:    '1008',
documentId:  '84501',
internalId:  '36494907',
customField: 'de:DE::;language:de;country:DE;'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0IN2QPX';
var companyName   = 'Stephan+Sarek%2C+Berlin';
var htmlTitle	  = 'Die+Welt+des+Stephan+Sarek';
var metaKeywords  = 'Sarek%2C+Stephan+Sarek%2C+Flucht+aus+Brasilien%2C+Literatur%2C+Berliner+Literatur%2C+Satire%2C+Erz%C3%A4hlungen%2C+Romane%2C+Kurzgeschichten%2C+Moderne+Literatur%2C+Situationskomik%2C+Pinguine%2C+Aldikalypse%2C+Junge+Literatur%2C+African+Tango%2C+Mumien%2C+Hanfkraftwerk%2C+Hanf%2C+Humor%2C+Witz%2C+Truth%C3%BChner%2C+Seemansgarn%2C+Gegenwartsliteratur%2C+Heiraten%2C+Heiraten+f%C3%BCr+Anf%C3%A4nger%2C+Lyrik%2C+Rake%2C+';
var metaContents  = 'Offizielle+Site+des+Berliner+Schriftstellers+Stephan+Sarek.+';
					                                                                    
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 */					                                                            

