/* [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','4579',jdecode('Home'),jdecode(''),'/4579.html','true',[],''],
	['PAGE','13612',jdecode('%C3%BCber+uns+'),jdecode(''),'/13612/home.html','true',[ 
		['PAGE','63080',jdecode('Ausbildung'),jdecode(''),'/13612/63080.html','true',[],'']
	],''],
	['PAGE','62439',jdecode('Termine'),jdecode(''),'/62439.html','true',[],''],
	['PAGE','13558',jdecode('Aktionen+%26+Aktuelles'),jdecode(''),'/13558.html','true',[],''],
	['PAGE','62656',jdecode('Alarmierung'),jdecode(''),'/62656.html','true',[],''],
	['PAGE','13585',jdecode('Eins%C3%A4tze'),jdecode(''),'/13585.html','true',[],''],
	['PAGE','109201',jdecode('%C3%9Cbungsdienst'),jdecode(''),'/109201.html','true',[],''],
	['PAGE','62457',jdecode('Fahrzeuge'),jdecode(''),'/62457/home.html','true',[ 
		['PAGE','109301',jdecode('Ausr%C3%BCstung+der+Fahrzeuge'),jdecode(''),'/62457/109301.html','false',[],''],
		['PAGE','62868',jdecode('ehemalige+Fahrzeuge'),jdecode(''),'/62457/62868.html','true',[],'']
	],''],
	['PAGE','62448',jdecode('Ger%C3%A4tehaus'),jdecode(''),'/62448/home.html','true',[ 
		['PAGE','51335',jdecode('Projekt+Ger%C3%A4tehaus'),jdecode(''),'/62448/51335.html','true',[],'']
	],''],
	['PAGE','62466',jdecode('Jugendfeuerwehr'),jdecode(''),'/62466.html','true',[],''],
	['PAGE','63061',jdecode('F%C3%B6rderverein+%26+Sponsoren'),jdecode(''),'/63061.html','false',[],''],
	['PAGE','13639',jdecode('Links'),jdecode(''),'/13639.html','true',[],''],
	['PAGE','14371',jdecode('Mitgliederbereich'),jdecode(''),'/14371/home.html','true',[ 
		['PAGE','62665',jdecode('Downloadbereich'),jdecode(''),'/14371/62665.html','true',[],''],
		['PAGE','14511',jdecode('Wehr+-+NEWS+'),jdecode(''),'/14371/14511.html','false',[],'']
	],''],
	['PAGE','13531',jdecode('Impressum+u.+Linkhinweis'),jdecode(''),'/13531.html','true',[],'']];
var siteelementCount=20;
theSitetree.topTemplateName='Button';
theSitetree.paletteFamily='96010A';
theSitetree.keyvisualId='10950';
theSitetree.keyvisualName='kv_10950.jpg';
theSitetree.fontsetId='31906';
theSitetree.graphicsetId='13722';
theSitetree.contentColor='5D0108';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Button',
				paletteFamily: 	'96010A',
				keyvisualId: 	'10950',
				keyvisualName: 	'kv_10950.jpg',
				fontsetId: 		'31906',
				graphicsetId: 	'13722',
				contentColor: 	'5D0108',
				contentBGColor: 'FFFFFF',
				a_color: 		'000000',
				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['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '4579',
internalId:  '1006',
customField: '1006'
};
webappMappings['3001']=webappMappings['3001-']={
webappId:    '3001',
documentId:  '14371',
internalId:  '',
customField: ''
};
webappMappings['1501']=webappMappings['1501-451097']={
webappId:    '1501',
documentId:  '4579',
internalId:  '451097',
customField: '1501'
};
webappMappings['1007']=webappMappings['1007-10582e0bc19']={
webappId:    '1007',
documentId:  '51335',
internalId:  '10582e0bc19',
customField: 'g.10m1e1f0p.1du84jm58qcpg.6rn80'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4579',
internalId:  '',
customField: '20120116-083115'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13531',
internalId:  '',
customField: '20071221-225844'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13558',
internalId:  '',
customField: '20110417-123217'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13585',
internalId:  '',
customField: '20120116-091041'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13612',
internalId:  '',
customField: '20110415-211114'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13639',
internalId:  '',
customField: '20110903-183758'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '109201',
internalId:  '',
customField: '20110415-230610'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14371',
internalId:  '',
customField: '20120101-185337'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '51335',
internalId:  '',
customField: '20081005-131619'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '109301',
internalId:  '',
customField: '20090905-165552'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14511',
internalId:  '',
customField: '20080803-123813'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62439',
internalId:  '',
customField: '20111123-202530'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62448',
internalId:  '',
customField: '20120101-151532'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62457',
internalId:  '',
customField: '20110617-213641'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62466',
internalId:  '',
customField: '20110118-125447'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62656',
internalId:  '',
customField: '20110415-211055'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62665',
internalId:  '',
customField: '20120104-090908'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '63061',
internalId:  '',
customField: '20071125-163527'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62868',
internalId:  '',
customField: '20110617-214656'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '63080',
internalId:  '',
customField: '20110106-203219'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0IN3F7D';
var companyName   = 'Freiwillige+Feuerwehr+Vettwei%C3%9F+-+L%C3%B6schgruppe+Gladbach';
var htmlTitle	  = 'Freiwillige+Feuerwehr+Vettweiss+-+L%C3%B6schgruppe+Gladbach';
var metaKeywords  = 'feuerwehr%2C+vettweiss%2C+l%C3%B6schgruppe%2C+gladbach%2C+eins%C3%A4tze%2C+vereine%2C+beh%C3%B6rden%2C+bos%2C++';
var metaContents  = 'Homepage+der+Freiwilligen+Feuerwehr+Vettweiss+-+L%C3%B6schgruppe+Gladbach++';
					                                                                    
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 */					                                                            

