/* [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','51201',jdecode('News'),jdecode(''),'/51201.html','true',[],''],
	['PAGE','40555',jdecode('Wir+%C3%BCber+uns'),jdecode(''),'/40555/home.html','true',[ 
		['PAGE','42569',jdecode('Trainer'),jdecode(''),'/40555/42569.html','true',[],''],
		['PAGE','40573',jdecode('Vorstand'),jdecode(''),'/40555/40573.html','true',[],''],
		['PAGE','40582',jdecode('Satzung'),jdecode(''),'/40555/40582.html','true',[],'']
	],''],
	['PAGE','40627',jdecode('Trainingshallen+und+-Zeiten'),jdecode(''),'/40627.html','true',[],''],
	['PAGE','40600',jdecode('Mitglied+werden'),jdecode(''),'/40600.html','true',[],''],
	['PAGE','42685',jdecode('Turnierfechten'),jdecode(''),'/42685/home.html','true',[ 
		['PAGE','40609',jdecode('Ergebnisse'),jdecode(''),'/42685/40609.html','true',[],'']
	],''],
	['PAGE','42047',jdecode('Presse'),jdecode(''),'/42047.html','true',[],''],
	['PAGE','42694',jdecode('Freunde%2FSponsoren'),jdecode(''),'/42694.html','true',[],''],
	['PAGE','42610',jdecode('Super-sauber-Oberhausen'),jdecode(''),'/42610/home.html','true',[ 
		['PAGE','44101',jdecode('Umwelt-Tipps'),jdecode(''),'/42610/44101.html','true',[],'']
	],''],
	['PAGE','72901',jdecode('Fotos+%22B%C3%BCtgenbach%22'),jdecode(''),'/72901.html','true',[],''],
	['PAGE','42310',jdecode('Multimedia+%28FAO-FILM%21%29'),jdecode(''),'/42310.html','true',[],''],
	['PAGE','41957',jdecode('G%C3%A4stebuch'),jdecode(''),'/41957/home.html','true',[ 
		['PAGE','41956',jdecode('Eintr%C3%A4ge'),jdecode(''),'/41957/41956.html','true',[],'']
	],''],
	['PAGE','41947',jdecode('Kontakt%2FImpressum'),jdecode(''),'/41947.html','true',[],'']];
var siteelementCount=19;
theSitetree.topTemplateName='Litfass';
theSitetree.paletteFamily='F4EBCE';
theSitetree.keyvisualId='11035';
theSitetree.keyvisualName='kv_11035.jpg';
theSitetree.fontsetId='32074';
theSitetree.graphicsetId='13768';
theSitetree.contentColor='696558';
theSitetree.contentBGColor='F4EBCE';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Litfass',
				paletteFamily: 	'F4EBCE',
				keyvisualId: 	'11035',
				keyvisualName: 	'kv_11035.jpg',
				fontsetId: 		'32074',
				graphicsetId: 	'13768',
				contentColor: 	'696558',
				contentBGColor: 'F4EBCE',
				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:  '39994',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20120126-221317'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40555',
internalId:  '',
customField: '20111201-214226'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42610',
internalId:  '',
customField: '20110330-211652'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40573',
internalId:  '',
customField: '20110717-223107'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40627',
internalId:  '',
customField: '20091109-221359'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42694',
internalId:  '',
customField: '20111117-215251'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40582',
internalId:  '',
customField: '20080809-135859'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '51201',
internalId:  '',
customField: '20111211-222631'
};
webappMappings['1002']=webappMappings['1002-41957atoix0i7hjmf']={
webappId:    '1002',
documentId:  '41957',
internalId:  '41957atoix0i7hjmf',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-41957atoix0i7hjmf']={
webappId:    '1002',
documentId:  '41956',
internalId:  '41957atoix0i7hjmf',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41957',
internalId:  '',
customField: '20080312-210334'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41956',
internalId:  '',
customField: '20080312-205004'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40600',
internalId:  '',
customField: '20110227-181832'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40609',
internalId:  '',
customField: '20110817-101505'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41947',
internalId:  '',
customField: '20090312-231605'
};
webappMappings['7060']=webappMappings['7060-7ec11aadc538003e8b42c95818f52408']={
webappId:    '7060',
documentId:  '72901',
internalId:  '7ec11aadc538003e8b42c95818f52408',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '72901',
internalId:  '',
customField: '20090601-081930'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42047',
internalId:  '',
customField: '20100506-221609'
};
webappMappings['7060']=webappMappings['7060-3a743964a008c85bc2c3c84b972f9cc4']={
webappId:    '7060',
documentId:  '42310',
internalId:  '3a743964a008c85bc2c3c84b972f9cc4',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42310',
internalId:  '',
customField: '20080331-164826'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44101',
internalId:  '',
customField: '20081101-132020'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42569',
internalId:  '',
customField: '20090224-172602'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42685',
internalId:  '',
customField: '20120124-155519'
};
webappMappings['1008']=webappMappings['1008-55871450']={
webappId:    '1008',
documentId:  '40600',
internalId:  '55871450',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['1008']=webappMappings['1008-67451473']={
webappId:    '1008',
documentId:  '42685',
internalId:  '67451473',
customField: 'de:DE::;language:de;country:DE;'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0I7HJMF';
var companyName   = 'Fecht-Akademie+Oberhausen';
var htmlTitle	  = 'Fechtakademie+Oberhausen';
var metaKeywords  = 'Fechten%2C+Fechtsport%2C+Oberhausen%2C+Sport%2C+Spa%C3%9F%2C+Vorstand%2C+Trainer%2C+Training%2C+Trainingsorte%2C+News%2C+Sauberes+Oberhausen%2C+Hobbysport++';
var metaContents  = 'Willkommen+in+der+Fechtakademie+-+Fechten+f%C3%BCr+Jedermann%3A+Anf%C3%A4nger+bis+Profi%2C+Jung+bis+Alt%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 */					                                                            

