/* [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','10823',jdecode('Startseite'),jdecode(''),'/10823.html','true',[],''],
	['PAGE','10687',jdecode('News'),jdecode(''),'/10687/home.html','true',[ 
		['PAGE','10813',jdecode('Archiv'),jdecode(''),'/10687/10813.html','true',[],'']
	],''],
	['PAGE','10696',jdecode('Vorstand'),jdecode(''),'/10696/home.html','true',[ 
		['PAGE','11801',jdecode('Satzung'),jdecode(''),'/10696/11801.html','true',[],'']
	],''],
	['PAGE','10705',jdecode('Vereine'),jdecode(''),'/10705.html','true',[],''],
	['PAGE','10714',jdecode('Bereich+Jugend'),jdecode(''),'/10714/home.html','true',[ 
		['PAGE','10723',jdecode('Punktspiele'),jdecode(''),'/10714/10723.html','true',[],''],
		['PAGE','10732',jdecode('Turniere'),jdecode(''),'/10714/10732.html','true',[],''],
		['PAGE','10741',jdecode('Bezirkstraining'),jdecode(''),'/10714/10741.html','true',[],''],
		['PAGE','24301',jdecode('Fotos'),jdecode(''),'/10714/24301.html','true',[],''],
		['PAGE','21201',jdecode('Archiv'),jdecode(''),'/10714/21201.html','true',[],'']
	],''],
	['PAGE','10750',jdecode('Bereich+Erwachsene'),jdecode(''),'/10750/home.html','true',[ 
		['PAGE','10759',jdecode('Punktspiele'),jdecode(''),'/10750/10759.html','true',[],''],
		['PAGE','10768',jdecode('Turniere'),jdecode(''),'/10750/10768.html','true',[],'']
	],''],
	['PAGE','10777',jdecode('Breitensport'),jdecode(''),'/10777.html','true',[],''],
	['PAGE','10786',jdecode('Schultennis'),jdecode(''),'/10786.html','true',[],''],
	['PAGE','10795',jdecode('Links'),jdecode(''),'/10795.html','true',[],''],
	['PAGE','10804',jdecode('Kontakt'),jdecode(''),'/10804.html','true',[],'']];
var siteelementCount=19;
theSitetree.topTemplateName='Fussball10';
theSitetree.paletteFamily='525F6F';
theSitetree.keyvisualId='10498';
theSitetree.keyvisualName='kv_10498.jpg';
theSitetree.fontsetId='26629';
theSitetree.graphicsetId='13443';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='525F6F';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Fussball10',
				paletteFamily: 	'525F6F',
				keyvisualId: 	'10498',
				keyvisualName: 	'kv_10498.jpg',
				fontsetId: 		'26629',
				graphicsetId: 	'13443',
				contentColor: 	'FFFFFF',
				contentBGColor: '525F6F',
				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['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10823',
internalId:  '',
customField: '20091211-093346'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10687',
internalId:  '',
customField: '20091004-111109'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10696',
internalId:  '',
customField: '20090320-152621'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10705',
internalId:  '',
customField: '20080609-200847'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10714',
internalId:  '',
customField: '20100124-091637'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10750',
internalId:  '',
customField: '20100121-221449'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10777',
internalId:  '',
customField: '20090320-161057'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10786',
internalId:  '',
customField: '20091004-094856'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10795',
internalId:  '',
customField: '20081031-104845'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10804',
internalId:  '',
customField: '20081201-201435'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10813',
internalId:  '',
customField: '20081001-093942'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10759',
internalId:  '',
customField: '20090907-213622'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10768',
internalId:  '',
customField: '20090615-220305'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10723',
internalId:  '',
customField: '20090826-065226'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10732',
internalId:  '',
customField: '20090709-214550'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10741',
internalId:  '',
customField: '20081001-104514'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '10823',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11801',
internalId:  '',
customField: '20081001-100946'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21201',
internalId:  '',
customField: '20091014-212119'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24301',
internalId:  '',
customField: '20090709-213830'
};
webappMappings['1007']=webappMappings['1007-120e94a0889']={
webappId:    '1007',
documentId:  '24301',
internalId:  '120e94a0889',
customField: 'g.143kj5t96.i6t1jpk2s4.3o'
};
var canonHostname = 'cfawrk06.aul.t-online.de';
var accountId     = 'ATOIX0INL11W';
var companyName   = 'TV+Schleswig-Holstein+e.V.+-+Bezirk+S%C3%BCd';
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 */					                                                            
