/* [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('Startseite'),jdecode(''),'/44.html','true',[],''],
	['PAGE','215051',jdecode('Historie'),jdecode(''),'/215051.html','true',[],''],
	['PAGE','45140',jdecode('Wir+%C3%BCber+uns'),jdecode(''),'/45140/home.html','true',[ 
		['PAGE','179951',jdecode('Mannschaft'),jdecode(''),'/45140/179951.html','true',[],''],
		['PAGE','179972',jdecode('Ehrenabteilung'),jdecode(''),'/45140/179972.html','true',[],'']
	],''],
	['PAGE','121851',jdecode('Steinhorst'),jdecode(''),'/121851.html','true',[],''],
	['PAGE','41265',jdecode('Fotoalbum'),jdecode(''),'/41265/home.html','true',[ 
		['PAGE','237851',jdecode('2010'),jdecode(''),'/41265/237851.html','true',[],''],
		['PAGE','187451',jdecode('2009'),jdecode(''),'/41265/187451.html','true',[],''],
		['PAGE','202551',jdecode('Jubil%C3%A4umskommers+2009'),jdecode(''),'/41265/202551.html','true',[],'']
	],''],
	['PAGE','102351',jdecode('Technik'),jdecode(''),'/102351.html','true',[],''],
	['PAGE','184551',jdecode('Dienstgrade'),jdecode(''),'/184551.html','true',[],''],
	['PAGE','45042',jdecode('G%C3%A4stebuch'),jdecode(''),'/45042/home.html','true',[ 
		['PAGE','45041',jdecode('Eintr%C3%A4ge'),jdecode(''),'/45042/45041.html','true',[],'']
	],''],
	['PAGE','45443',jdecode('Intern'),jdecode(''),'/45443.html','true',[],''],
	['PAGE','194651',jdecode('B%C3%BCrgerinfo'),jdecode(''),'/194651.html','true',[],''],
	['PAGE','45061',jdecode('Links'),jdecode(''),'/45061.html','true',[],''],
	['PAGE','189851',jdecode('Spiel+%26+Spa%C3%9F'),jdecode(''),'/189851.html','true',[],''],
	['PAGE','125151',jdecode('Anfahrt'),jdecode(''),'/125151.html','true',[],''],
	['PAGE','45378',jdecode('Impressum'),jdecode(''),'/45378.html','true',[],'']];
var siteelementCount=20;
theSitetree.topTemplateName='Neon';
theSitetree.paletteFamily='CC0000';
theSitetree.keyvisualId='848';
theSitetree.keyvisualName='internet.jpg';
theSitetree.fontsetId='161';
theSitetree.graphicsetId='188';
theSitetree.contentColor='FF0000';
theSitetree.contentBGColor='000000';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Neon',
				paletteFamily: 	'CC0000',
				keyvisualId: 	'848',
				keyvisualName: 	'internet.jpg',
				fontsetId: 		'161',
				graphicsetId: 	'188',
				contentColor: 	'FF0000',
				contentBGColor: '000000',
				a_color: 		'000000',
				b_color: 		'666666',
				c_color: 		'000000',
				d_color: 		'6699CC',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Times New Roman, Times, serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']=webappMappings['1501-3925287']={
webappId:    '1501',
documentId:  '44',
internalId:  '3925287',
customField: '1501'
};
webappMappings['1002']=webappMappings['1002-45042atoix0inpypn']={
webappId:    '1002',
documentId:  '45042',
internalId:  '45042atoix0inpypn',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-45042atoix0inpypn']={
webappId:    '1002',
documentId:  '45041',
internalId:  '45042atoix0inpypn',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20100307-152652'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45140',
internalId:  '',
customField: '20100207-150550'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41265',
internalId:  '',
customField: '20100307-141359'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45443',
internalId:  '',
customField: '20100128-190039'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45042',
internalId:  '',
customField: '20060326-121717'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45041',
internalId:  '',
customField: '20090220-103735'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45061',
internalId:  '',
customField: '20100311-152631'
};
webappMappings['3001']=webappMappings['3001-']={
webappId:    '3001',
documentId:  '45443',
internalId:  '',
customField: ''
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45378',
internalId:  '',
customField: '20090220-103933'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '179951',
internalId:  '',
customField: '20100207-171702'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '102351',
internalId:  '',
customField: '20090226-163956'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '179972',
internalId:  '',
customField: '20100207-150431'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '121851',
internalId:  '',
customField: '20090220-103545'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '125151',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '125151',
internalId:  '',
customField: '20080228-184007'
};
webappMappings['1007']=webappMappings['1007-1200a4f3425']={
webappId:    '1007',
documentId:  '202551',
internalId:  '1200a4f3425',
customField: 'g.14053m1n4.s6nhbsfr7a.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '184551',
internalId:  '',
customField: '20090209-185838'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '215051',
internalId:  '',
customField: '20090913-194136'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '187451',
internalId:  '',
customField: '20091211-192857'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '194651',
internalId:  '',
customField: '20091008-221613'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '189851',
internalId:  '',
customField: '20100116-144204'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '202551',
internalId:  '',
customField: '20090315-150136'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '237851',
internalId:  '',
customField: '20100314-190316'
};
webappMappings['7090']=webappMappings['7090-512495']={
webappId:    '7090',
documentId:  '189851',
internalId:  '512495',
customField: 'type:podcast-1.0;language:de;country:DE;'
};
webappMappings['7091']=webappMappings['7091-39336']={
webappId:    '7091',
documentId:  '44',
internalId:  '39336',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['7091']=webappMappings['7091-43529']={
webappId:    '7091',
documentId:  '44',
internalId:  '43529',
customField: 'align:left;language:de;country:DE;'
};
var canonHostname = 'cfawrk01.aul.t-online.de';
var accountId     = 'ATOIX0INPYPN';
var companyName   = 'retten+-+l%C3%B6schen+-+bergen+-+sch%C3%BCtzen';
var htmlTitle	  = 'FF+Steinhorst';
var metaKeywords  = 'FF%2C+Freiwillige+Feuerwehr%2C+Steinhorst%2C+Rauchmelder%2C+112%2C+Alarm%2C+Feuer%2C+Kameraden%2C+Lauenburg%2C+LF8%2C+retten%2C+l%C3%B6schen%2C+bergen%2C+sch%C3%BCtzen%2C+Schleswig+-+Holstein%2C+MTF%2C+Paulinchen%2C+Dr%C3%A4ger+HPS+6200%2C+Helmlampe+Parat+X-treme+PX+1+LED%2C+Bastelbogen%2C+B%C3%BCrgerinfo';
var metaContents  = 'Herzlich+willkommen+auf+den+Seiten+der+Freiwilligen+Feuerwehr+Steinhorst%2C+hier+finden+Sie+alles+wissenswerte+%C3%BCber+unsere+Ortswehr++';
					                                                                    
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 */					                                                            
