/* [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','40607',jdecode('Wir+%C3%BCber+uns'),jdecode(''),'/40607/home.html','true',[ 
		['PAGE','40625',jdecode('Der+Vorstand'),jdecode(''),'/40607/40625.html','true',[],''],
		['PAGE','40652',jdecode('Unser+Team'),jdecode(''),'/40607/40652.html','true',[],'']
	],''],
	['PAGE','40670',jdecode('Mitglied+werden'),jdecode(''),'/40670.html','true',[],''],
	['PAGE','40733',jdecode('Jugendabteilung'),jdecode(''),'/40733.html','true',[],''],
	['PAGE','40679',jdecode('Ergebnisse'),jdecode(''),'/40679.html','true',[],''],
	['PAGE','40788',jdecode('Termine'),jdecode(''),'/40788.html','true',[],''],
	['PAGE','40688',jdecode('Kontakt'),jdecode(''),'/40688.html','true',[],''],
	['PAGE','40724',jdecode('Impressum'),jdecode(''),'/40724.html','true',[],''],
	['PAGE','40880',jdecode('Bildergalerie'),jdecode(''),'/40880/home.html','true',[ 
		['PAGE','40836',jdecode('Vatertag+2010'),jdecode(''),'/40880/40836.html','true',[],''],
		['PAGE','40918',jdecode('Pfingsten+2010+Bad+Kreuznach'),jdecode(''),'/40880/40918.html','true',[],''],
		['PAGE','41022',jdecode('Jugendturier+FTO+15.%2F16.01.11'),jdecode(''),'/40880/41022.html','true',[],''],
		['PAGE','41072',jdecode('Vatertag+2011'),jdecode(''),'/40880/41072.html','true',[],'']
	],''],
	['PAGE','40893',jdecode('G%C3%A4stebuch'),jdecode(''),'/40893/home.html','true',[ 
		['PAGE','40892',jdecode('Eintr%C3%A4ge'),jdecode(''),'/40893/40892.html','true',[],'']
	],''],
	['PAGE','40805',jdecode('Anfahrt'),jdecode(''),'/40805.html','true',[],'']];
var siteelementCount=18;
theSitetree.topTemplateName='Fussball01';
theSitetree.paletteFamily='1F305A';
theSitetree.keyvisualId='10454';
theSitetree.keyvisualName='kv_10454.jpg';
theSitetree.fontsetId='26592';
theSitetree.graphicsetId='13405';
theSitetree.contentColor='A5FF62';
theSitetree.contentBGColor='348400';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Fussball01',
				paletteFamily: 	'1F305A',
				keyvisualId: 	'10454',
				keyvisualName: 	'kv_10454.jpg',
				fontsetId: 		'26592',
				graphicsetId: 	'13405',
				contentColor: 	'A5FF62',
				contentBGColor: '348400',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				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: '20120208-095345'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40607',
internalId:  '',
customField: '20120208-103830'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40688',
internalId:  '',
customField: '20120208-103652'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40625',
internalId:  '',
customField: '20120208-103915'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40652',
internalId:  '',
customField: '20120208-103938'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40679',
internalId:  '',
customField: '20120208-103718'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40880',
internalId:  '',
customField: '20120113-153614'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40670',
internalId:  '',
customField: '20120208-103806'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40724',
internalId:  '',
customField: '20120113-153109'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40788',
internalId:  '',
customField: '20120208-103315'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '40805',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['1002']=webappMappings['1002-40893atoix0irs8sg']={
webappId:    '1002',
documentId:  '40893',
internalId:  '40893atoix0irs8sg',
customField: 'action=form&icq=false'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40733',
internalId:  '',
customField: '20120208-103739'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40805',
internalId:  '',
customField: '20120208-103607'
};
webappMappings['1007']=webappMappings['1007-1293be4a32f']={
webappId:    '1007',
documentId:  '40836',
internalId:  '1293be4a32f',
customField: 'g.154ttvnfk.7ctuf3kqee.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40836',
internalId:  '',
customField: '20120108-205130'
};
webappMappings['1002']=webappMappings['1002-40893atoix0irs8sg']={
webappId:    '1002',
documentId:  '40892',
internalId:  '40893atoix0irs8sg',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40893',
internalId:  '',
customField: '20120208-103629'
};
webappMappings['1007']=webappMappings['1007-1293c447331']={
webappId:    '1007',
documentId:  '40918',
internalId:  '1293c447331',
customField: 'g.154u4fqms.6ck1cjgflp.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40918',
internalId:  '',
customField: '20120208-103421'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40892',
internalId:  '',
customField: '20120113-153709'
};
webappMappings['1008']=webappMappings['1008-69478308']={
webappId:    '1008',
documentId:  '40688',
internalId:  '69478308',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['1007']=webappMappings['1007-12dbde41380']={
webappId:    '1007',
documentId:  '41022',
internalId:  '12dbde41380',
customField: 'g.15muu47m1.1lfc72406u.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41022',
internalId:  '',
customField: '20120108-205215'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41072',
internalId:  '',
customField: '20120108-205243'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0IRS8SG';
var companyName   = 'FT+Oberrrad+07+e.V.';
var htmlTitle	  = '';
var metaKeywords  = '';
var metaContents  = '';
					                                                                    
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 */					                                                            

