/* [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','53801',jdecode('Startseite'),jdecode(''),'/53801.html','true',[],''],
	['PAGE','40969',jdecode('Aktuelles'),jdecode(''),'/40969/home.html','true',[ 
		['PAGE','53201',jdecode('Wettkampf-Vorschau'),jdecode(''),'/40969/53201.html','true',[],''],
		['PAGE','53827',jdecode('Veranstaltungsberichte'),jdecode(''),'/40969/53827.html','true',[],'']
	],''],
	['PAGE','40958',jdecode('Wir+%C3%BCber+uns'),jdecode(''),'/40958/home.html','true',[ 
		['PAGE','40987',jdecode('Der+Vorstand'),jdecode(''),'/40958/40987.html','true',[],''],
		['PAGE','40996',jdecode('Mitgliedsbeitr%C3%A4ge%2FSatzung'),jdecode(''),'/40958/40996.html','true',[],''],
		['PAGE','41005',jdecode('Abteilung'),jdecode(''),'/40958/41005.html','false',[],''],
		['PAGE','58722',jdecode('Team-Bekleidung'),jdecode(''),'/40958/58722.html','true',[],'']
	],''],
	['PAGE','42907',jdecode('9.+Illinger+EnBW-Lauf'),jdecode(''),'/42907/home.html','true',[ 
		['PAGE','63101',jdecode('Ausschreibung'),jdecode(''),'/42907/63101.html','true',[],''],
		['PAGE','62701',jdecode('Anmeldung'),jdecode(''),'/42907/62701.html','true',[],''],
		['PAGE','68801',jdecode('Ergebnisse+%2B+Urkunden'),jdecode(''),'/42907/68801.html','true',[],'']
	],''],
	['PAGE','53848',jdecode('Training'),jdecode(''),'/53848.html','true',[],''],
	['PAGE','41053',jdecode('Bildgalerie'),jdecode(''),'/41053/home.html','true',[ 
		['PAGE','56001',jdecode('Bilderarchiv'),jdecode(''),'/41053/56001.html','true',[],'']
	],''],
	['PAGE','41023',jdecode('Sponsoren%2FLinks'),jdecode(''),'/41023.html','true',[],''],
	['PAGE','41014',jdecode('Mitglied+werden'),jdecode(''),'/41014.html','true',[],''],
	['PAGE','41041',jdecode('Kontakt'),jdecode(''),'/41041.html','true',[],'']];
var siteelementCount=19;
theSitetree.topTemplateName='Alpha';
theSitetree.paletteFamily='FDBC3F';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10555';
theSitetree.graphicsetId='10896';
theSitetree.contentColor='0000A5';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Alpha',
				paletteFamily: 	'FDBC3F',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10555',
				graphicsetId: 	'10896',
				contentColor: 	'0000A5',
				contentBGColor: 'FFFFFF',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'FDBC3F',
				e_color: 		'FDBC3F',
				f_color: 		'FDBC3F',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '58722',
internalId:  '',
customField: '20110317-215618'
};
webappMappings['1007']=webappMappings['1007-10db567e82d']={
webappId:    '1007',
documentId:  '41053',
internalId:  '10db567e82d',
customField: 'g.11mqlr36u.9ufjig0mva4.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40969',
internalId:  '',
customField: '20110512-113659'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40958',
internalId:  '',
customField: '20101215-204212'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '40958',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62701',
internalId:  '',
customField: '20110412-191412'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42907',
internalId:  '',
customField: '20110427-192906'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40987',
internalId:  '',
customField: '20110416-155637'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40996',
internalId:  '',
customField: '20101007-233455'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41005',
internalId:  '',
customField: '20091020-184626'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41014',
internalId:  '',
customField: '20090215-093833'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41023',
internalId:  '',
customField: '20110415-120330'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41053',
internalId:  '',
customField: '20110115-004135'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41041',
internalId:  '',
customField: '20101018-213425'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '53201',
internalId:  '',
customField: '20110512-110511'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '53801',
internalId:  '',
customField: '20110427-202407'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '53827',
internalId:  '',
customField: '20110512-114156'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '53848',
internalId:  '',
customField: '20110114-234028'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '68801',
internalId:  '',
customField: '20110417-211409'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56001',
internalId:  '',
customField: '20110315-212245'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '63101',
internalId:  '',
customField: '20110412-191807'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0I78QAK';
var companyName   = '++++++++TEAM+SPORT+EVOLUTION+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 */					                                                            

