/* [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','160201',jdecode('Termine'),jdecode(''),'/160201.html','true',[],''],
	['PAGE','105401',jdecode('Wehr'),jdecode(''),'/105401.html','true',[],''],
	['PAGE','45889',jdecode('Jugendwehr'),jdecode(''),'/45889.html','true',[],''],
	['PAGE','44399',jdecode('Eins%C3%A4tze'),jdecode(''),'/44399/home.html','true',[ 
		['PAGE','163764',jdecode('Statistik'),jdecode(''),'/44399/163764.html','true',[],'']
	],''],
	['PAGE','45871',jdecode('%C3%9Cbungen+%2F+Sonstiges'),jdecode(''),'/45871.html','true',[],''],
	['PAGE','163701',jdecode('Bildergalerie'),jdecode(''),'/163701/home.html','true',[ 
		['PAGE','163722',jdecode('Feuerwehrger%C3%A4tehaus'),jdecode(''),'/163701/163722.html','true',[],''],
		['PAGE','163743',jdecode('Einsatz+Fahrzeuge'),jdecode(''),'/163701/163743.html','true',[],''],
		['PAGE','86001',jdecode('Alte+Fahrzeuge'),jdecode(''),'/163701/86001.html','true',[],'']
	],''],
	['PAGE','45989',jdecode('Ratgeber'),jdecode(''),'/45989.html','true',[],''],
	['PAGE','45462',jdecode('Kontakte+%2F+Links'),jdecode(''),'/45462.html','true',[],''],
	['PAGE','45919',jdecode('Download+-+Intern'),jdecode(''),'/45919.html','true',[],'']];
var siteelementCount=14;
theSitetree.topTemplateName='Movement';
theSitetree.paletteFamily='AC2323';
theSitetree.keyvisualId='1819';
theSitetree.keyvisualName='kv_dummy.jpg';
theSitetree.fontsetId='290';
theSitetree.graphicsetId='356';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='AC2323';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Movement',
				paletteFamily: 	'AC2323',
				keyvisualId: 	'1819',
				keyvisualName: 	'kv_dummy.jpg',
				fontsetId: 		'290',
				graphicsetId: 	'356',
				contentColor: 	'FFFFFF',
				contentBGColor: 'AC2323',
				a_color: 		'AC2323',
				b_color: 		'480F0F',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Times New Roman, Times, serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '163764',
internalId:  '',
customField: '20120210-192210'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45462',
internalId:  '',
customField: '20111025-154459'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20120210-193219'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44399',
internalId:  '',
customField: '20120210-192101'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '105401',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45889',
internalId:  '',
customField: '20110528-141253'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45871',
internalId:  '',
customField: '20120207-195018'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45989',
internalId:  '',
customField: '20110224-152942'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45919',
internalId:  '',
customField: '20111025-155449'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '105401',
internalId:  '',
customField: '20100826-103729'
};
webappMappings['3001']=webappMappings['3001-']={
webappId:    '3001',
documentId:  '45919',
internalId:  '',
customField: ''
};
webappMappings['1008']=webappMappings['1008-55725633']={
webappId:    '1008',
documentId:  '45919',
internalId:  '55725633',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['1008']=webappMappings['1008-74423285']={
webappId:    '1008',
documentId:  '160201',
internalId:  '74423285',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '160201',
internalId:  '',
customField: '20120210-192426'
};
webappMappings['7091']=webappMappings['7091-49710']={
webappId:    '7091',
documentId:  '39994',
internalId:  '49710',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '86001',
internalId:  '',
customField: '20110224-154029'
};
webappMappings['7091']=webappMappings['7091-10162']={
webappId:    '7091',
documentId:  '44399',
internalId:  '10162',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['7091']=webappMappings['7091-43264']={
webappId:    '7091',
documentId:  '45989',
internalId:  '43264',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['1008']=webappMappings['1008-54707840']={
webappId:    '1008',
documentId:  '45462',
internalId:  '54707840',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '163701',
internalId:  '',
customField: '20110224-153731'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '163722',
internalId:  '',
customField: '20110316-171115'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '163743',
internalId:  '',
customField: '20110224-153945'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '39994',
internalId:  '1006',
customField: '1006'
};
webappMappings['7091']=webappMappings['7091-62370']={
webappId:    '7091',
documentId:  '39994',
internalId:  '62370',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['7091']=webappMappings['7091-62369']={
webappId:    '7091',
documentId:  '39994',
internalId:  '62369',
customField: 'align:left;language:de;country:DE;'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0IR4DRK';
var companyName   = '+L%C3%B6schgruppe+Saalhausen';
var htmlTitle	  = 'Freiwillige+Feuerwehr+Lennestadt+-+L%C3%B6schgruppe+Saalhausen';
var metaKeywords  = 'Es+stellt+sich+vor++...++Die+Freiwillige+Feuerwehr+57368+Lennestadt+-+L%C3%B6schgruppe+Saalhausen+';
var metaContents  = 'Es+stellt+sich+vor++...++Die+Freiwillige+Feuerwehr+57368+Lennestadt+-+L%C3%B6schgruppe+Saalhausen+';
					                                                                    
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 */					                                                            

