/* [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('Ich+schreibe+f%C3%BCr+Sie%21'),jdecode(''),'/13801.html','true',[],''],
	['PAGE','13822',jdecode('Meine+B%C3%BCcher+'),jdecode(''),'/13822.html','true',[],''],
	['PAGE','91021',jdecode('Veranstaltungen'),jdecode(''),'/91021.html','true',[],''],
	['PAGE','95121',jdecode('Savelia.de'),jdecode(''),'/95121.html','true',[],''],
	['PAGE','91221',jdecode('Bildung+f%C3%BCr+Namibia+'),jdecode(''),'/91221.html','true',[],''],
	['PAGE','13807',jdecode('Presseb%C3%BCro+Karlsruhe'),jdecode(''),'/13807.html','true',[],''],
	['PAGE','25825',jdecode('Ein+bi%C3%9Fchen+Leben'),jdecode(''),'/25825/home.html','true',[ 
		['PAGE','25854',jdecode('Die+Vita'),jdecode(''),'/25825/25854.html','true',[],'']
	],''],
	['PAGE','13837',jdecode('Kontakt%2FImpressum'),jdecode(''),'/13837/home.html','false',[ 
		['PAGE','33802',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/13837/33802.html','false',[],'']
	],''],
	['PAGE','81521',jdecode('Impressum'),jdecode(''),'/81521.html','true',[],''],
	['PAGE','84621',jdecode('Gesch.Bedingungen'),jdecode(''),'/84621.html','true',[],''],
	['PAGE','89821',jdecode('Namibia'),jdecode(''),'/89821.html','false',[],'']];
var siteelementCount=13;
theSitetree.topTemplateName='Art';
theSitetree.paletteFamily='000000';
theSitetree.keyvisualId='1784';
theSitetree.keyvisualName='edv_systemhaus.jpg';
theSitetree.fontsetId='283';
theSitetree.graphicsetId='350';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='000000';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Art',
				paletteFamily: 	'000000',
				keyvisualId: 	'1784',
				keyvisualName: 	'edv_systemhaus.jpg',
				fontsetId: 		'283',
				graphicsetId: 	'350',
				contentColor: 	'FFFFFF',
				contentBGColor: '000000',
				a_color: 		'000000',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				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:  '13801',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '95121',
internalId:  '',
customField: '20100819-180835'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '89821',
internalId:  '',
customField: '20080521-182023'
};
webappMappings['7060']=webappMappings['7060-f4e86f227d010f36c2253df3e82a3a5c']={
webappId:    '7060',
documentId:  '89821',
internalId:  'f4e86f227d010f36c2253df3e82a3a5c',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '91021',
internalId:  '',
customField: '20110317-174642'
};
webappMappings['1001']=webappMappings['1001-atoix0in2i9hff7950cff6']={
webappId:    '1001',
documentId:  '13837',
internalId:  'atoix0in2i9hff7950cff6',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0in2i9hff7950cff6']={
webappId:    '1001',
documentId:  '33802',
internalId:  'atoix0in2i9hff7950cff6',
customField: 'followUp'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13801',
internalId:  '',
customField: '20110223-190704'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13822',
internalId:  '',
customField: '20110313-172631'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '84621',
internalId:  '',
customField: '20080206-084605'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '81521',
internalId:  '',
customField: '20090206-154739'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13807',
internalId:  '',
customField: '20090615-091148'
};
webappMappings['1501']=webappMappings['1501-3328828']={
webappId:    '1501',
documentId:  '13801',
internalId:  '3328828',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25825',
internalId:  '',
customField: '20080612-103743'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25854',
internalId:  '',
customField: '20081227-183237'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '91221',
internalId:  '',
customField: '20110204-091434'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13837',
internalId:  '',
customField: '20041023-134939'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33802',
internalId:  '',
customField: '20041008-181320'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0IN2I9H';
var companyName   = 'Ulf+G.+Stuberger';
var htmlTitle	  = 'Presseb%C3%BCro+Karlsruhe+und+Ulf+G.+Stuberger+schreiben+f%C3%BCr+Sie%21';
var metaKeywords  = 'Journalist%2C+Justiz%2C+Gerichte%2C+Esel%2C+Afrika%2C+Namibia%2C+Reisen%2C+Betriebschroniken%2C+Bundesgerichte%2C+Presseb%C3%BCro%2C+Karlsruhe';
var metaContents  = 'Journalist+Ulf+G.+Stuberger%2C+Korrespondent+bei+den+Obersten+Bundesgerichten%2C+Presseb%C3%BCro+Karlsruhe%2C+Afrika%2C+Namibia%2C+Reisen+nach+Afrika%2C+B%C3%BCcher%2C+Esel%2C+Chroniken+f%C3%BCr+Betriebe+und+Kommunen';
					                                                                    
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 */					                                                            

