/* [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','44',jdecode('BTK+Home'),jdecode(''),'/44.html','true',[],''],
	['PAGE','42263',jdecode('Mauerentfeuchtung'),jdecode(''),'/42263/home.html','true',[ 
		['PAGE','45205',jdecode('Aufsteigende+Feuchte'),jdecode(''),'/42263/45205.html','true',[],''],
		['PAGE','45583',jdecode('Gegenma%C3%9Fnahmen'),jdecode(''),'/42263/45583.html','true',[],''],
		['PAGE','45214',jdecode('Wirkung+%2F+Verfahren'),jdecode(''),'/42263/45214.html','true',[],''],
		['PAGE','45592',jdecode('Vorteile+%2F+Leistungen'),jdecode(''),'/42263/45592.html','true',[],'']
	],''],
	['PAGE','58201',jdecode('Bauwerksabdichtung'),jdecode(''),'/58201.html','true',[],''],
	['PAGE','45601',jdecode('Feuchte+Analyse'),jdecode(''),'/45601/home.html','true',[ 
		['PAGE','45610',jdecode('Messtechniken'),jdecode(''),'/45601/45610.html','true',[],'']
	],''],
	['PAGE','53301',jdecode('Erfolge+aktuell'),jdecode(''),'/53301.html','true',[],''],
	['PAGE','45804',jdecode('Referenzen'),jdecode(''),'/45804.html','true',[],''],
	['PAGE','42730',jdecode('Schimmelpilz'),jdecode(''),'/42730/home.html','true',[ 
		['PAGE','45983',jdecode('Wir+f%C3%BChren+durch...'),jdecode(''),'/42730/45983.html','true',[],''],
		['PAGE','48501',jdecode('Schimmelpilzfrei'),jdecode(''),'/42730/48501.html','true',[],''],
		['PAGE','46301',jdecode('Wie+L%C3%BCfte+ich+richtig%3F'),jdecode(''),'/42730/46301.html','true',[],'']
	],''],
	['PAGE','55701',jdecode('ThermoShield'),jdecode(''),'/55701.html','true',[],''],
	['PAGE','51501',jdecode('Anfrage'),jdecode(''),'/51501.html','true',[],''],
	['PAGE','81401',jdecode('Support++%2F++Links'),jdecode(''),'/81401.html','true',[],''],
	['PAGE','45831',jdecode('Werden+Sie+Partner'),jdecode(''),'/45831.html','true',[],''],
	['PAGE','45849',jdecode('Impressum'),jdecode(''),'/45849.html','true',[],'']];
var siteelementCount=20;
theSitetree.topTemplateName='Spiegelwand';
theSitetree.paletteFamily='C1C5BC';
theSitetree.keyvisualId='10899';
theSitetree.keyvisualName='kv_10899.jpg';
theSitetree.fontsetId='31885';
theSitetree.graphicsetId='13692';
theSitetree.contentColor='DE4C33';
theSitetree.contentBGColor='C1C5BC';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Spiegelwand',
				paletteFamily: 	'C1C5BC',
				keyvisualId: 	'10899',
				keyvisualName: 	'kv_10899.jpg',
				fontsetId: 		'31885',
				graphicsetId: 	'13692',
				contentColor: 	'DE4C33',
				contentBGColor: 'C1C5BC',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1007']=webappMappings['1007-11a2f4bab0c']={
webappId:    '1007',
documentId:  '53301',
internalId:  '11a2f4bab0c',
customField: 'g.138njvin0.7t1kriecvd.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42263',
internalId:  '',
customField: '20110410-143207'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20110706-182455'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45205',
internalId:  '',
customField: '20110410-143228'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45214',
internalId:  '',
customField: '20110410-143305'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45601',
internalId:  '',
customField: '20100108-104223'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45610',
internalId:  '',
customField: '20110410-143358'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45592',
internalId:  '',
customField: '20100108-104140'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42730',
internalId:  '',
customField: '20110410-143448'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45804',
internalId:  '',
customField: '20110410-143434'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45583',
internalId:  '',
customField: '20110410-143247'
};
webappMappings['1007']=webappMappings['1007-1104ff85c07']={
webappId:    '1007',
documentId:  '45804',
internalId:  '1104ff85c07',
customField: 'g.1217v51rn.10f7f43laj.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45849',
internalId:  '',
customField: '20110726-070812'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45831',
internalId:  '',
customField: '20110410-143804'
};
webappMappings['1008']=webappMappings['1008-49388395']={
webappId:    '1008',
documentId:  '51501',
internalId:  '49388395',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['1008']=webappMappings['1008-31824932']={
webappId:    '1008',
documentId:  '45831',
internalId:  '31824932',
customField: 'de:DE:'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '58201',
internalId:  '',
customField: '20110410-143332'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46301',
internalId:  '',
customField: '20110410-143653'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '81401',
internalId:  '',
customField: '20110724-162721'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45983',
internalId:  '',
customField: '20110410-143606'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48501',
internalId:  '',
customField: '20110410-143634'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55701',
internalId:  '',
customField: '20110410-143709'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '53301',
internalId:  '',
customField: '20110410-143418'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '51501',
internalId:  '',
customField: '20110410-143725'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']=webappMappings['1501-15973472']={
webappId:    '1501',
documentId:  '44',
internalId:  '15973472',
customField: '1501'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0I7NSX1';
var companyName   = '++++++++++Fachbetrieb+f%C3%BCr+Mauerwerksentfeuchtung+und+Bauwerksabdichtung';
var htmlTitle	  = 'Bautrockenlegung+%26+Bauwerksabdichtungen+mit+Schimmelsanierungen';
var metaKeywords  = 'Bautrockenlegung%2C+Bauwerksabdichtung%2C+Altbausanierung%2C+Aufsteigendefeuchte%2C+Entfeuchtung%2C+Feuchtemessung%2C+Feuchtesanierung%2C+Kellerfeuchte%2C+Kellertrockenlegung%2C+Mauerentfeuchtung%2C+Mauerentsalzung%2C+Mauerfeuchte%2C+Mauertrockenlegung%2C+Modergeruch%2C+Schimmelpilz%2C+Schimmelsanierung%2C';
var metaContents  = 'Mauerentfeuchtung+auf+wissenschaftlicher+Grundlage.+Seit+10+Jahren+Mauerentfeuchtung.+Wissenschaftlich+geprueft+und+fuer+gut+befunden.+Von+namhaften+Wissenschaftlern+sowie+von+vereidigten+und+bestellten+Bausachverstaendigen+empfohlen.';
					                                                                    
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 */					                                                            

