/* [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','40664',jdecode('Kamin+Kaminofen'),jdecode(''),'/40664.html','true',[],''],
	['PAGE','41341',jdecode('Heizkamin'),jdecode(''),'/41341.html','true',[],''],
	['PAGE','41613',jdecode('Heizkamin'),jdecode(''),'/41613.html','true',[],''],
	['PAGE','41312',jdecode('Heizkamin'),jdecode(''),'/41312.html','true',[],''],
	['PAGE','42400',jdecode('Heizkamin'),jdecode(''),'/42400.html','true',[],''],
	['PAGE','41050',jdecode('Kachelofen%2F+Grundofen'),jdecode(''),'/41050.html','true',[],''],
	['PAGE','41364',jdecode('Kachelofen%2FGrundofen'),jdecode(''),'/41364.html','true',[],''],
	['PAGE','42521',jdecode('Kachelofen%2FGrundofen'),jdecode(''),'/42521.html','true',[],''],
	['PAGE','41059',jdecode('Warmluftofen'),jdecode(''),'/41059.html','true',[],''],
	['PAGE','41129',jdecode('Kachelherd'),jdecode(''),'/41129.html','true',[],''],
	['PAGE','41412',jdecode('Hypokaustenofen+%26+3D+Planung'),jdecode(''),'/41412.html','true',[],''],
	['PAGE','42178',jdecode('Wasser+beheizte+Kachel%C3%B6fen'),jdecode(''),'/42178.html','true',[],''],
	['PAGE','41441',jdecode('Offener+Kamin'),jdecode(''),'/41441.html','true',[],''],
	['PAGE','41138',jdecode('Kleine+Ofenkunde'),jdecode(''),'/41138.html','true',[],''],
	['PAGE','41209',jdecode('Pelletofen'),jdecode(''),'/41209.html','true',[],''],
	['PAGE','41581',jdecode('Gu%C3%9Fofen'),jdecode(''),'/41581.html','true',[],''],
	['PAGE','41525',jdecode('Schornsteinbau+'),jdecode(''),'/41525.html','true',[],''],
	['PAGE','41653',jdecode('Hausback%C3%B6fen'),jdecode(''),'/41653.html','true',[],''],
	['PAGE','41684',jdecode('Impressum'),jdecode(''),'/41684.html','true',[],''],
	['PAGE','42247',jdecode('G%C3%A4stebuch'),jdecode(''),'/42247/home.html','true',[ 
		['PAGE','42246',jdecode('Eintr%C3%A4ge'),jdecode(''),'/42247/42246.html','true',[],'']
	],''],
	['PAGE','42323',jdecode('Anfahrt'),jdecode(''),'/42323.html','true',[],'']];
var siteelementCount=23;
theSitetree.topTemplateName='Antique';
theSitetree.paletteFamily='E4DC4F';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='11064';
theSitetree.graphicsetId='11836';
theSitetree.contentColor='D1C3A6';
theSitetree.contentBGColor='856A3B';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Antique',
				paletteFamily: 	'E4DC4F',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'11064',
				graphicsetId: 	'11836',
				contentColor: 	'D1C3A6',
				contentBGColor: '856A3B',
				a_color: 		'664F23',
				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['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41613',
internalId:  '',
customField: '20110306-182842'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20110306-182508'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41209',
internalId:  '',
customField: '20090830-100235'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40664',
internalId:  '',
customField: '20110306-182738'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41050',
internalId:  '',
customField: '20110601-094112'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41059',
internalId:  '',
customField: '20110624-163728'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41129',
internalId:  '',
customField: '20080526-092455'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41138',
internalId:  '',
customField: '20110213-190018'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41312',
internalId:  '',
customField: '20110109-171209'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41341',
internalId:  '',
customField: '20100412-103435'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41364',
internalId:  '',
customField: '20110619-180853'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41412',
internalId:  '',
customField: '20110213-185816'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41441',
internalId:  '',
customField: '20110601-094923'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41525',
internalId:  '',
customField: '20111119-073919'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41581',
internalId:  '',
customField: '20090627-192442'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41653',
internalId:  '',
customField: '20110619-180702'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41684',
internalId:  '',
customField: '20090927-174151'
};
webappMappings['1002']=webappMappings['1002-42247atoix0i7v3jl']={
webappId:    '1002',
documentId:  '42246',
internalId:  '42247atoix0i7v3jl',
customField: 'action=list'
};
webappMappings['1002']=webappMappings['1002-42247atoix0i7v3jl']={
webappId:    '1002',
documentId:  '42247',
internalId:  '42247atoix0i7v3jl',
customField: 'action=form&icq=false'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42178',
internalId:  '',
customField: '20110213-185448'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '39994',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42247',
internalId:  '',
customField: '20100412-120914'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42246',
internalId:  '',
customField: '20100412-120914'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '42323',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42323',
internalId:  '',
customField: '20100530-114915'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42400',
internalId:  '',
customField: '20110601-094326'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42521',
internalId:  '',
customField: '20110624-163350'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0I7V3JL';
var companyName   = 'Kachel%C3%B6fen-Kamine-Fliesen-Bauermeister';
var htmlTitle	  = 'Kamine-Kachel%C3%B6fen-Ofen';
var metaKeywords  = 'Bauermeister+Meisterbetrieb+++Kamine+Kachelofen+Gu%C3%9F%C3%B6fen+Back%C3%B6fen+Fliesen';
var metaContents  = 'Bau+von+Kaminen+Kachel%C3%B6fen+Back%C3%B6en+Gu%C3%9F%C3%B6fen';
					                                                                    
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 */					                                                            

