/* [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('Willkommen'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','40555',jdecode('Leistungen'),jdecode(''),'/40555.html','true',[],''],
	['PAGE','40564',jdecode('Wissenswertes'),jdecode(''),'/40564.html','true',[],''],
	['PAGE','41307',jdecode('EnEV'),jdecode(''),'/41307.html','true',[],''],
	['PAGE','40749',jdecode('Bildergalerie'),jdecode(''),'/40749.html','true',[],''],
	['PAGE','40591',jdecode('Referenzen'),jdecode(''),'/40591.html','true',[],''],
	['PAGE','40582',jdecode('Service'),jdecode(''),'/40582.html','true',[],''],
	['PAGE','41196',jdecode('downloads'),jdecode(''),'/41196.html','true',[],''],
	['PAGE','40600',jdecode('Kontakt+%2F+Impressum'),jdecode(''),'/40600.html','true',[],'']];
var siteelementCount=9;
theSitetree.topTemplateName='Litfass';
theSitetree.paletteFamily='465461';
theSitetree.keyvisualId='11035';
theSitetree.keyvisualName='kv_11035.jpg';
theSitetree.fontsetId='32075';
theSitetree.graphicsetId='13772';
theSitetree.contentColor='F2F9FF';
theSitetree.contentBGColor='465461';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Litfass',
				paletteFamily: 	'465461',
				keyvisualId: 	'11035',
				keyvisualName: 	'kv_11035.jpg',
				fontsetId: 		'32075',
				graphicsetId: 	'13772',
				contentColor: 	'F2F9FF',
				contentBGColor: '465461',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
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: '20100203-155705'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40600',
internalId:  '',
customField: '20081008-192303'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40555',
internalId:  '',
customField: '20100224-183935'
};
webappMappings['1008']=webappMappings['1008-53128480']={
webappId:    '1008',
documentId:  '40600',
internalId:  '53128480',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40582',
internalId:  '',
customField: '20100224-184748'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40564',
internalId:  '',
customField: '20110322-202230'
};
webappMappings['1501']=webappMappings['1501-53130110']={
webappId:    '1501',
documentId:  '39994',
internalId:  '53130110',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40591',
internalId:  '',
customField: '20111111-174640'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41196',
internalId:  '',
customField: '20090312-150702'
};
webappMappings['1007']=webappMappings['1007-11ce077a865']={
webappId:    '1007',
documentId:  '40749',
internalId:  '11ce077a865',
customField: 'g.13jg7c3pr.4g13t52ape9.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40749',
internalId:  '',
customField: '20081224-130253'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41307',
internalId:  '',
customField: '20110322-203236'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0IR49WC';
var companyName   = 'Menke+Isoliertechnik';
var htmlTitle	  = 'Willkommen+bei+Menke+Isoliertechnik';
var metaKeywords  = 'Menke%2C+Menke+Isoliertechnik%2C+Isoliertechnik%2C+D%C3%A4mmtechnik%2C+Energie%2C+Energiesparen%2C+D%C3%A4mmung%2C+Isolierung%2C+W%C3%A4rme%2C+W%C3%A4rmeschutz%2C+W%C3%A4rmed%C3%A4mmung%2C+W%C3%A4rmeisolierung%2C++K%C3%A4lte%2C+K%C3%A4lteschutz%2C+K%C3%A4lted%C3%A4mmung%2C+K%C3%A4lteisolierung%2C+Schall%2C+Schallschutz%2C+Schalld%C3%A4mmung%2C+Schallschutzd%C3%A4mmung%2C+Schallisolierung%2C+Schallschutzisolierung%2C+Feuer%2C+Feuerschutz%2C+Feuerschutzisolierung%2C+Feuerschutzd%C3%A4mmung%2C+Brand%2C+Brandschutz%2C+Brandschutzisolierung%2C+Brandschutzd%C3%A4mmung%2C+Heizkosten%2C+Heizkosten+senken%2C+%C3%96Lverbrauch%2C+Gasverbrauch%2C++Mineralwolle%2C+Steinwolle%2C+Schalen%2C+Rohrschalen%2C+Armaflex%2C+Alukaschierung%2C+Klemmfilz%2C+Dachd%C3%A4mmung%2C+Rockwool%2C+Paroc%2C+Isover%2C+Okapak%2C+Isogenopak%2C+PVC-Folie%2C+GWK%2C+Cosmo%2C+GH%2C+G%2BH%2C+Kaefer%2C+RM%2C+GWK%2C+Kuhlmann+D%C3%A4mmschalen%2C+D%C3%A4mmsysteme%2C+PUR%2C+Armaflex%2C+Kaiflex%2C+Blech%2C+Blechisolierung%2C+Feinblech%2C+Alublech+Edelstahlblech%2C+Aluminiumblech%2C+Alu%2C+Aluminium%2C+Edelstahl%2C+V2A%2C+Stahlblech%2C+Kappen%2C+Hauben%3B+Stutzen%2C+Bogen%2C+Abzweig%2C+Ausschnitt%2C+Endstelle%2C+Grobkorn%2C+Grobkornbogen%2C+Isolierarbeiten%2C+L%C3%BCftungskanal%2C+Wickelfalzrohr%2C+RLA%2C+';
var metaContents  = 'Ausf%C3%BChrung+von+W%C3%A4rmed%C3%A4mmung%2C+K%C3%A4lted%C3%A4mmung%2C+Schallschutzd%C3%A4mmung+und+Brandschutz%2C+Energieberatung';
					                                                                    
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 */					                                                            

