/* [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','4579',jdecode('Home'),jdecode(''),'/4579.html','true',[],''],
	['PAGE','17523',jdecode('Kontakt'),jdecode(''),'/17523/home.html','true',[ 
		['PAGE','17560',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/17523/17560.html','false',[],'']
	],''],
	['PAGE','9701',jdecode('Sch%C3%A4dlingsbek%C3%A4mpfung'),jdecode(''),'/9701/home.html','true',[ 
		['PAGE','16801',jdecode('Schadnager'),jdecode(''),'/9701/16801.html','true',[],''],
		['PAGE','16828',jdecode('Schadinsekten'),jdecode(''),'/9701/16828.html','true',[],'']
	],''],
	['PAGE','9755',jdecode('Holzschutz'),jdecode(''),'/9755/home.html','true',[ 
		['PAGE','16301',jdecode('Referenzen'),jdecode(''),'/9755/16301.html','true',[],'']
	],''],
	['PAGE','9728',jdecode('Vogel+-Taubenabwehr'),jdecode(''),'/9728/home.html','true',[ 
		['PAGE','23485',jdecode('Referenzen'),jdecode(''),'/9728/23485.html','true',[],'']
	],''],
	['PAGE','28833',jdecode('Marder'),jdecode(''),'/28833.html','true',[],''],
	['PAGE','9782',jdecode('Bilder+und+Sonstiges'),jdecode(''),'/9782.html','true',[],''],
	['PAGE','22585',jdecode('Links+%26+Partner'),jdecode(''),'/22585.html','true',[],''],
	['PAGE','19001',jdecode('Impressum'),jdecode(''),'/19001.html','true',[],''],
	['PAGE','24394',jdecode('Anfahrt'),jdecode(''),'/24394.html','true',[],''],
	['PAGE','28585',jdecode('Verkauf+von+Produkten'),jdecode(''),'/28585.html','true',[],'']];
var siteelementCount=16;
theSitetree.topTemplateName='Architekt';
theSitetree.paletteFamily='8CBBD8';
theSitetree.keyvisualId='1685';
theSitetree.keyvisualName='abendstimmung.jpg';
theSitetree.fontsetId='280';
theSitetree.graphicsetId='348';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='8CBBD8';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Architekt',
				paletteFamily: 	'8CBBD8',
				keyvisualId: 	'1685',
				keyvisualName: 	'abendstimmung.jpg',
				fontsetId: 		'280',
				graphicsetId: 	'348',
				contentColor: 	'000000',
				contentBGColor: '8CBBD8',
				a_color: 		'8CBBD8',
				b_color: 		'338299',
				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:  '4579',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']=webappMappings['1501-1976525']={
webappId:    '1501',
documentId:  '4579',
internalId:  '1976525',
customField: '1501'
};
webappMappings['1001']=webappMappings['1001-atoix0inl6i59a5de4d8ffc98570']={
webappId:    '1001',
documentId:  '17523',
internalId:  'atoix0inl6i59a5de4d8ffc98570',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0inl6i59a5de4d8ffc98570']={
webappId:    '1001',
documentId:  '17560',
internalId:  'atoix0inl6i59a5de4d8ffc98570',
customField: 'followUp'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28833',
internalId:  '',
customField: '20081108-171521'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9755',
internalId:  '',
customField: '20070312-141011'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '24394',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28585',
internalId:  '',
customField: '20080127-115527'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9701',
internalId:  '',
customField: '20050319-162713'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4579',
internalId:  '',
customField: '20110405-120522'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16801',
internalId:  '',
customField: '20060322-121940'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16828',
internalId:  '',
customField: '20100810-082957'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16301',
internalId:  '',
customField: '20060804-131221'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9728',
internalId:  '',
customField: '20080220-104308'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23485',
internalId:  '',
customField: '20080127-115048'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9782',
internalId:  '',
customField: '20071025-124907'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19001',
internalId:  '',
customField: '20100406-120747'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22585',
internalId:  '',
customField: '20110108-122613'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17523',
internalId:  '',
customField: '20040612-080155'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17560',
internalId:  '',
customField: '20040612-075932'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24394',
internalId:  '',
customField: '20100406-123214'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0INL6I5';
var companyName   = 'Braun+Sch%C3%A4dlingsbek%C3%A4mpfung';
var htmlTitle	  = 'Reiner+Braun+Sch%C3%A4dlingsbek%C3%A4mpfung%2C+Holzschutz+und+Taubenabwehr';
var metaKeywords  = '0';
var metaContents  = 'Reiner+Braun+Sch%C3%A4dlingsbek%C3%A4mpfung+Deizisau%2CEsslingen%2C%0AStuttgart%2C+Baden+W%C3%BCrttemberg%2C+Sch%C3%A4dlingsbek%C3%A4mpfung%2C+Kammerj%C3%A4ger%2C+Gesundheits-u.-Vorratsschutz%2C%0AHolzschutz%2CTaubenabwehr%2C+Verkauf+von+Produkten+zur%0ASch%C3%A4dlingsbek%C3%A4mpfung';
					                                                                    
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 */					                                                            

