/* [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','41377',jdecode('Wir+%C3%BCber+uns'),jdecode(''),'/41377/home.html','true',[ 
		['PAGE','41386',jdecode('Geschichte'),jdecode(''),'/41377/41386.html','true',[],''],
		['PAGE','41395',jdecode('Der+Vorstand'),jdecode(''),'/41377/41395.html','true',[],'']
	],''],
	['PAGE','41404',jdecode('News'),jdecode(''),'/41404.html','true',[],''],
	['PAGE','41640',jdecode('Herzsport'),jdecode(''),'/41640.html','true',[],''],
	['PAGE','41658',jdecode('Kegeln'),jdecode(''),'/41658.html','true',[],''],
	['PAGE','41649',jdecode('Kindergruppe'),jdecode(''),'/41649.html','true',[],''],
	['PAGE','41593',jdecode('Leichtathletik'),jdecode(''),'/41593.html','true',[],''],
	['PAGE','41584',jdecode('Schwimmen'),jdecode(''),'/41584.html','true',[],''],
	['PAGE','41458',jdecode('Torball'),jdecode(''),'/41458/home.html','true',[ 
		['PAGE','41566',jdecode('Das+Spiel'),jdecode(''),'/41458/41566.html','true',[],''],
		['PAGE','41557',jdecode('Training'),jdecode(''),'/41458/41557.html','true',[],''],
		['PAGE','41548',jdecode('Trainer'),jdecode(''),'/41458/41548.html','true',[],''],
		['PAGE','41530',jdecode('Aktuelles'),jdecode(''),'/41458/41530.html','true',[],''],
		['PAGE','41512',jdecode('Termine'),jdecode(''),'/41458/41512.html','true',[],''],
		['PAGE','41521',jdecode('Ergebnisse'),jdecode(''),'/41458/41521.html','true',[],''],
		['PAGE','41948',jdecode('Erfolge'),jdecode(''),'/41458/41948.html','true',[],''],
		['PAGE','41911',jdecode('Sponsoren'),jdecode(''),'/41458/41911.html','true',[],''],
		['PAGE','41887',jdecode('Galerie'),jdecode(''),'/41458/41887.html','true',[],''],
		['PAGE','41575',jdecode('Links'),jdecode(''),'/41458/41575.html','true',[],''],
		['PAGE','42217',jdecode('Archiv'),jdecode(''),'/41458/42217.html','true',[],'']
	],''],
	['PAGE','41422',jdecode('Interessante+Links'),jdecode(''),'/41422.html','true',[],''],
	['PAGE','41440',jdecode('Kontakt'),jdecode(''),'/41440.html','true',[],''],
	['PAGE','41449',jdecode('Impressum'),jdecode(''),'/41449.html','true',[],'']];
var siteelementCount=25;
theSitetree.topTemplateName='Match';
theSitetree.paletteFamily='FF3333';
theSitetree.keyvisualId='2696';
theSitetree.keyvisualName='basketball.jpg';
theSitetree.fontsetId='10404';
theSitetree.graphicsetId='10635';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='CCCCCC';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Match',
				paletteFamily: 	'FF3333',
				keyvisualId: 	'2696',
				keyvisualName: 	'basketball.jpg',
				fontsetId: 		'10404',
				graphicsetId: 	'10635',
				contentColor: 	'000000',
				contentBGColor: 'CCCCCC',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'FF3333',
				e_color: 		'545353',
				f_color: 		'545353',
				hasCustomLogo: 	'true',
				contentFontFace:'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: '20071121-174708'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41458',
internalId:  '',
customField: '20110509-204031'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41512',
internalId:  '',
customField: '20110509-203001'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41377',
internalId:  '',
customField: '20080123-122519'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41386',
internalId:  '',
customField: '20071122-173447'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41395',
internalId:  '',
customField: '20090612-103432'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41404',
internalId:  '',
customField: '20110509-203930'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41521',
internalId:  '',
customField: '20110509-204352'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41530',
internalId:  '',
customField: '20090616-065022'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42217',
internalId:  '',
customField: '20090616-065102'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41548',
internalId:  '',
customField: '20080123-121219'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41557',
internalId:  '',
customField: '20071122-210048'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41566',
internalId:  '',
customField: '20071126-105130'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41575',
internalId:  '',
customField: '20071115-204148'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41584',
internalId:  '',
customField: '20071115-204148'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41593',
internalId:  '',
customField: '20090610-102017'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41422',
internalId:  '',
customField: '20071115-201250'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41440',
internalId:  '',
customField: '20090610-103040'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41449',
internalId:  '',
customField: '20071121-174002'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41911',
internalId:  '',
customField: '20071123-095115'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41948',
internalId:  '',
customField: '20110509-204114'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41640',
internalId:  '',
customField: '20110509-204017'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41649',
internalId:  '',
customField: '20080123-123639'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41658',
internalId:  '',
customField: '20090610-101707'
};
webappMappings['1007']=webappMappings['1007-116682e0855']={
webappId:    '1007',
documentId:  '41887',
internalId:  '116682e0855',
customField: 'g.12pk2bkcr.1abcd31j012.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41887',
internalId:  '',
customField: '20071122-220923'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0I7HUAT';
var companyName   = 'VSG+Frankfurt+';
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 */					                                                            

