/* [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('Startseite'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','44626',jdecode('Preis+%26+Leistung'),jdecode(''),'/44626.html','true',[],''],
	['PAGE','46601',jdecode('Zertifizierung'),jdecode(''),'/46601.html','true',[],''],
	['PAGE','44723',jdecode('Bildergalerie'),jdecode(''),'/44723/home.html','true',[ 
		['PAGE','44748',jdecode('Trockenbau+Bio+Cafe+Bad+Steben'),jdecode(''),'/44723/44748.html','true',[],''],
		['PAGE','45409',jdecode('Trockenbau+Pizzeria+LaPosta+Bad+Steben'),jdecode(''),'/44723/45409.html','true',[],''],
		['PAGE','45603',jdecode('Trockenbau+Wohnhaus'),jdecode(''),'/44723/45603.html','true',[],''],
		['PAGE','45512',jdecode('Trockenbau+allgemein'),jdecode(''),'/44723/45512.html','true',[],''],
		['PAGE','44757',jdecode('Verschiedenes'),jdecode(''),'/44723/44757.html','true',[],''],
		['PAGE','44766',jdecode('Gartenhaus'),jdecode(''),'/44723/44766.html','true',[],''],
		['PAGE','45166',jdecode('Haus+und+Terrasse'),jdecode(''),'/44723/45166.html','true',[],''],
		['PAGE','45253',jdecode('F%C3%BCr+unsere+Firmenpartner'),jdecode(''),'/44723/45253.html','true',[],''],
		['PAGE','45026',jdecode('Private+Werke'),jdecode(''),'/44723/45026.html','true',[],'']
	],''],
	['PAGE','40573',jdecode('Impressum'),jdecode(''),'/40573.html','true',[],''],
	['PAGE','40801',jdecode('G%C3%A4stebuch'),jdecode(''),'/40801/home.html','true',[ 
		['PAGE','40800',jdecode('Eintr%C3%A4ge'),jdecode(''),'/40801/40800.html','true',[],'']
	],''],
	['PAGE','40564',jdecode('Kontakt'),jdecode(''),'/40564.html','true',[],''],
	['PAGE','43885',jdecode('Partnerlinks'),jdecode(''),'/43885.html','true',[],''],
	['PAGE','44707',jdecode('Maskottchen'),jdecode(''),'/44707.html','true',[],'']];
var siteelementCount=19;
theSitetree.topTemplateName='TOI_Cars_1';
theSitetree.paletteFamily='0C0C0C';
theSitetree.keyvisualId='10717';
theSitetree.keyvisualName='kv_10717.jpg';
theSitetree.fontsetId='31797';
theSitetree.graphicsetId='13588';
theSitetree.contentColor='FEFDFD';
theSitetree.contentBGColor='0C0C0C';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Cars_1',
				paletteFamily: 	'0C0C0C',
				keyvisualId: 	'10717',
				keyvisualName: 	'kv_10717.jpg',
				fontsetId: 		'31797',
				graphicsetId: 	'13588',
				contentColor: 	'FEFDFD',
				contentBGColor: '0C0C0C',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				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: '20111009-152337'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40564',
internalId:  '',
customField: '20111009-150030'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40573',
internalId:  '',
customField: '20100622-173255'
};
webappMappings['1002']=webappMappings['1002-40801atoix0irs17t']={
webappId:    '1002',
documentId:  '40801',
internalId:  '40801atoix0irs17t',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-40801atoix0irs17t']={
webappId:    '1002',
documentId:  '40800',
internalId:  '40801atoix0irs17t',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40801',
internalId:  '',
customField: '20100405-112932'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43885',
internalId:  '',
customField: '20110212-142147'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40800',
internalId:  '',
customField: '20100405-112932'
};
webappMappings['1501']=webappMappings['1501-70170512']={
webappId:    '1501',
documentId:  '39994',
internalId:  '70170512',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44626',
internalId:  '',
customField: '20100507-163917'
};
webappMappings['1008']=webappMappings['1008-70169078']={
webappId:    '1008',
documentId:  '40564',
internalId:  '70169078',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44707',
internalId:  '',
customField: '20111009-151642'
};
webappMappings['1007']=webappMappings['1007-127ce6b10b3']={
webappId:    '1007',
documentId:  '44723',
internalId:  '127ce6b10b3',
customField: 'g.14v76ea5k.4l11ihihuri.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44723',
internalId:  '',
customField: '20100622-065703'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44748',
internalId:  '',
customField: '20111009-152417'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44757',
internalId:  '',
customField: '20111009-152755'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44766',
internalId:  '',
customField: '20100705-072115'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45166',
internalId:  '',
customField: '20120206-133252'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45603',
internalId:  '',
customField: '20120206-131234'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45026',
internalId:  '',
customField: '20111009-150604'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45512',
internalId:  '',
customField: '20120206-132133'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45253',
internalId:  '',
customField: '20101010-124720'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46601',
internalId:  '',
customField: '20120206-140337'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45409',
internalId:  '',
customField: '20111009-152544'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0IRS17T';
var companyName   = 'Service+mit+Herz+und+Verstand+aus+Bad+Steben';
var htmlTitle	  = 'easym%C3%BCller+Ihr+Partner+rund+um%60s+Haus';
var metaKeywords  = 'easymueller.de+Zwietschi+Schl%C3%BCsseldienst+Trockenbau+W%C3%A4rmed%C3%A4mmung+Fenster+T%C3%BCren+Gartenpflege+Reparatur+';
var metaContents  = 'Haus%2C+Hof%2C+Garten%2C+Trockenbau%2C+Schl%C3%BCsseldienst%2C+Fenster+und+T%C3%BCren%2C+Bodenverlegung%2C+Reparaturen%2C+Zwietschi';
					                                                                    
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 */					                                                            

