/* [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('Firmenprofil'),jdecode(''),'/44.html','true',[],''],
	['PAGE','41291',jdecode('Leistungen'),jdecode(''),'/41291.html','true',[],''],
	['PAGE','41539',jdecode('Bildergalerie+'),jdecode(''),'/41539/home.html','true',[ 
		['PAGE','41307',jdecode('Au%C3%9Fenanlagen'),jdecode(''),'/41539/41307.html','true',[],''],
		['PAGE','41591',jdecode('Geb%C3%A4ude'),jdecode(''),'/41539/41591.html','true',[],'']
	],''],
	['PAGE','41548',jdecode('Madrid%2FSpanien'),jdecode(''),'/41548.html','true',[],''],
	['PAGE','41557',jdecode('Bilten%2FSchweiz'),jdecode(''),'/41557.html','true',[],''],
	['PAGE','42577',jdecode('Schaffhausen%2F+CH'),jdecode(''),'/42577.html','true',[],''],
	['PAGE','42969',jdecode('Winterswijk%2F+NL'),jdecode(''),'/42969.html','true',[],''],
	['PAGE','42908',jdecode('Sandsteine+'),jdecode(''),'/42908.html','true',[],''],
	['PAGE','42462',jdecode('G%C3%A4stebuch'),jdecode(''),'/42462/home.html','true',[ 
		['PAGE','42461',jdecode('Eintr%C3%A4ge'),jdecode(''),'/42462/42461.html','true',[],'']
	],''],
	['PAGE','41316',jdecode('Kontakt'),jdecode(''),'/41316/home.html','true',[ 
		['PAGE','41752',jdecode('Kontakt%2F+Impressum+%28Folgeseite%29'),jdecode(''),'/41316/41752.html','false',[],'']
	],''],
	['PAGE','43058',jdecode('Impressum'),jdecode(''),'/43058.html','true',[],'']];
var siteelementCount=15;
theSitetree.topTemplateName='Seifenblase';
theSitetree.paletteFamily='FF9B5E';
theSitetree.keyvisualId='2353';
theSitetree.keyvisualName='blanko.jpg';
theSitetree.fontsetId='381';
theSitetree.graphicsetId='430';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Seifenblase',
				paletteFamily: 	'FF9B5E',
				keyvisualId: 	'2353',
				keyvisualName: 	'blanko.jpg',
				fontsetId: 		'381',
				graphicsetId: 	'430',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'FFFFFF',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'CC3300',
				e_color: 		'FF3300',
				f_color: 		'FF9966',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['1001']=webappMappings['1001-atoix0i79f38109bffaef7e']={
webappId:    '1001',
documentId:  '41316',
internalId:  'atoix0i79f38109bffaef7e',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0i79f38109bffaef7e']={
webappId:    '1001',
documentId:  '41752',
internalId:  'atoix0i79f38109bffaef7e',
customField: 'followUp'
};
webappMappings['1002']=webappMappings['1002-42462atoix0i79f38']={
webappId:    '1002',
documentId:  '42462',
internalId:  '42462atoix0i79f38',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-42462atoix0i79f38']={
webappId:    '1002',
documentId:  '42461',
internalId:  '42462atoix0i79f38',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20100804-110355'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42577',
internalId:  '',
customField: '20080929-215812'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41291',
internalId:  '',
customField: '20090116-203136'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43058',
internalId:  '',
customField: '20100804-110624'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41539',
internalId:  '',
customField: '20090130-122855'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41307',
internalId:  '',
customField: '20100804-105735'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41591',
internalId:  '',
customField: '20060903-122928'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41548',
internalId:  '',
customField: '20060307-001358'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41557',
internalId:  '',
customField: '20060615-133311'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42462',
internalId:  '',
customField: '20060615-112937'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42461',
internalId:  '',
customField: '20060615-112937'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41316',
internalId:  '',
customField: '20100804-110910'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41752',
internalId:  '',
customField: '20060303-130027'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42908',
internalId:  '',
customField: '20080106-231924'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42969',
internalId:  '',
customField: '20080929-220217'
};
var canonHostname = 'c4awrk06.aul.t-online.de';
var accountId     = 'ATOIX0I79F38';
var companyName   = 'multihandwerker.de';
var htmlTitle	  = 'Handwerker+f%C3%BCr+Innen-%2C+und+Au%C3%9Fenarbeiten';
var metaKeywords  = 'Klaus+Rehm%2C+Angelo+Dias%2C+Michael+Knoedel%2C+Hilchenbach%2C+Kreuztal%2C+Siegen%2C+Naturstein%2C+Deutmannsdorfer-+Sandstein%2C+Mauerbau%2C+Sitzmauer%2C+Brunnen%2C+Terrasse%2C+Gartengestaltung%2C+Treppenanlage%2C+Trockenbau%2C+Pflasterarbeiten%2C+Waermedaemmung%2C+Haussanierung%2C+Maler-+Tappezierarbeiten%2C+Bodenverlegung%2C+Bad-Renovierung%2C+GaLa-Bau%2C+Baumfaellungen%2C+Winterdienst%2C+Handwerker-Service%2C+Bundesweit%2C+';
var metaContents  = 'Handwerker-Fachmann+fuer+den+Innenausbau+und+Au%C3%9Fenbereich.+Fliesen-%2C+Trockenbau-%2C+Malerfacharbeiten.+Sie+beabsichtigen+Ihre+Au%C3%9Fenanlage+neu+zu+gestalten%3F+Wir+setzen+neue+Akzente';
					                                                                    
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 */					                                                            
