/* [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/home.html','true',[ 
		['PAGE','43212',jdecode('Aktuelles'),jdecode(''),'/44/43212.html','true',[],''],
		['PAGE','42236',jdecode('Berichte'),jdecode(''),'/44/42236.html','true',[],'']
	],''],
	['PAGE','41273',jdecode('Aktive'),jdecode(''),'/41273/home.html','true',[ 
		['PAGE','41282',jdecode('Dienstplan'),jdecode(''),'/41273/41282.html','true',[],''],
		['PAGE','41449',jdecode('Fahrzeug+%2F+Ger%C3%A4te'),jdecode(''),'/41273/41449.html','true',[],'']
	],''],
	['PAGE','41300',jdecode('Jugendfeuerwehr'),jdecode(''),'/41300/home.html','true',[ 
		['PAGE','41291',jdecode('Chronik'),jdecode(''),'/41300/41291.html','true',[],''],
		['PAGE','41707',jdecode('Dienstplan'),jdecode(''),'/41300/41707.html','true',[],''],
		['PAGE','43543',jdecode('Fotos'),jdecode(''),'/41300/43543.html','true',[],'']
	],''],
	['PAGE','57214',jdecode('Kinderfeuerwehr'),jdecode(''),'/57214.html','true',[],''],
	['PAGE','41881',jdecode('Kameradschaft'),jdecode(''),'/41881.html','true',[],''],
	['PAGE','41264',jdecode('Vereinsgeschichte'),jdecode(''),'/41264/home.html','true',[ 
		['PAGE','41684',jdecode('Kleines+Museum'),jdecode(''),'/41264/41684.html','true',[],'']
	],''],
	['PAGE','43089',jdecode('Unser+Ort'),jdecode(''),'/43089.html','true',[],''],
	['PAGE','41890',jdecode('Veranstaltungen'),jdecode(''),'/41890.html','true',[],''],
	['PAGE','41309',jdecode('Kontakt'),jdecode(''),'/41309.html','true',[],''],
	['PAGE','41367',jdecode('G%C3%A4stebuch'),jdecode(''),'/41367/home.html','true',[ 
		['PAGE','41366',jdecode('Eintr%C3%A4ge'),jdecode(''),'/41367/41366.html','true',[],'']
	],''],
	['PAGE','41318',jdecode('Links'),jdecode(''),'/41318.html','true',[],'']];
var siteelementCount=20;
theSitetree.topTemplateName='Cable';
theSitetree.paletteFamily='D30303';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10575';
theSitetree.graphicsetId='10527';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='000000';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Cable',
				paletteFamily: 	'D30303',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10575',
				graphicsetId: 	'10527',
				contentColor: 	'FFFFFF',
				contentBGColor: '000000',
				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:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['1002']=webappMappings['1002-41367atoix0inporr']={
webappId:    '1002',
documentId:  '41367',
internalId:  '41367atoix0inporr',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-41367atoix0inporr']={
webappId:    '1002',
documentId:  '41366',
internalId:  '41367atoix0inporr',
customField: 'action=list'
};
webappMappings['1501']=webappMappings['1501-3795018']={
webappId:    '1501',
documentId:  '44',
internalId:  '3795018',
customField: '1501'
};
webappMappings['1007']=webappMappings['1007-107fcd537e8']={
webappId:    '1007',
documentId:  '41684',
internalId:  '107fcd537e8',
customField: 'g.10vuclc6c.4rtpj0c6um.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20110506-162102'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41273',
internalId:  '',
customField: '20120104-140758'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41282',
internalId:  '',
customField: '20120104-134731'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41300',
internalId:  '',
customField: '20100706-105010'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41707',
internalId:  '',
customField: '20110126-185212'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41890',
internalId:  '',
customField: '20111019-222137'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42236',
internalId:  '',
customField: '20111021-083133'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41264',
internalId:  '',
customField: '20110320-002223'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41684',
internalId:  '',
customField: '20051207-184412'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41881',
internalId:  '',
customField: '20110226-075438'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41449',
internalId:  '',
customField: '20080329-112803'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41291',
internalId:  '',
customField: '20110415-235428'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41309',
internalId:  '',
customField: '20110810-083026'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '57214',
internalId:  '',
customField: '20111021-084337'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41367',
internalId:  '',
customField: '20070716-230031'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41366',
internalId:  '',
customField: '20051204-234841'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41318',
internalId:  '',
customField: '20110226-075615'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43089',
internalId:  '',
customField: '20091206-042856'
};
webappMappings['7090']=webappMappings['7090-67713']={
webappId:    '7090',
documentId:  '44',
internalId:  '67713',
customField: 'type:rss-2.0;language:de;country:DE;'
};
webappMappings['7090']=webappMappings['7090-67679']={
webappId:    '7090',
documentId:  '43212',
internalId:  '67679',
customField: 'type:rss-2.0;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43212',
internalId:  '',
customField: '20120104-135002'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43543',
internalId:  '',
customField: '20090115-081732'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0INPORR';
var companyName   = 'Freiwillige+Feuerwehr+Barlissen';
var htmlTitle	  = 'Feuerwehr+Barlissen';
var metaKeywords  = 'Feuerwehr%2C+Feuerwehr+Barlissen%2C+Barlissen%2C+FFW%2C+FFW+Barlissen%2C+Freiwillige%2C+FFW-Barlissen%2C+Dransfeld%2C+J%C3%BChnde%2C+Jugendfeuerwehr';
var metaContents  = 'Feuerwehr+Barlissen%21+Alles+%C3%BCber+unsere+kleine+aber+feine+Ortswehr%21';
					                                                                    
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 */					                                                            

