/* [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','4579',jdecode('Home'),jdecode(''),'/4579.html','true',[],''],
	['PAGE','13698',jdecode('Vorstand+%2B+Kontakt'),jdecode(''),'/13698.html','true',[],''],
	['PAGE','13671',jdecode('TSG+Team-Foto'),jdecode(''),'/13671.html','true',[],''],
	['PAGE','13725',jdecode('Spielerkader'),jdecode(''),'/13725/home.html','true',[ 
		['PAGE','300702',jdecode('Ralf+Acker'),jdecode(''),'/13725/300702.html','true',[],''],
		['PAGE','126775',jdecode('Dennis+Sch%C3%BCler'),jdecode(''),'/13725/126775.html','true',[],''],
		['PAGE','659002',jdecode('Manuel+Wego'),jdecode(''),'/13725/659002.html','true',[],''],
		['PAGE','383202',jdecode('Sebastian+Vogl'),jdecode(''),'/13725/383202.html','true',[],''],
		['PAGE','594802',jdecode('Stefan+Vogl'),jdecode(''),'/13725/594802.html','true',[],''],
		['PAGE','659023',jdecode('Jan+Nassauer'),jdecode(''),'/13725/659023.html','true',[],''],
		['PAGE','502223',jdecode('Benjamin+Sigemund'),jdecode(''),'/13725/502223.html','true',[],''],
		['PAGE','496823',jdecode('Timo+Blank'),jdecode(''),'/13725/496823.html','true',[],''],
		['PAGE','126523',jdecode('Sebastian+Gail'),jdecode(''),'/13725/126523.html','true',[],''],
		['PAGE','659065',jdecode('Christian+Neumann'),jdecode(''),'/13725/659065.html','true',[],''],
		['PAGE','126649',jdecode('Daniel+Weber'),jdecode(''),'/13725/126649.html','true',[],''],
		['PAGE','268102',jdecode('Tim+Greis'),jdecode(''),'/13725/268102.html','true',[],''],
		['PAGE','659086',jdecode('Dennis+Sch%C3%A4fer'),jdecode(''),'/13725/659086.html','true',[],''],
		['PAGE','126628',jdecode('Karsten+Sch%C3%A4fer'),jdecode(''),'/13725/126628.html','true',[],''],
		['PAGE','126712',jdecode('Jens+Sch%C3%A4fer'),jdecode(''),'/13725/126712.html','true',[],''],
		['PAGE','659172',jdecode('Felix+Herr'),jdecode(''),'/13725/659172.html','true',[],''],
		['PAGE','126754',jdecode('Karsten+Gr%C3%A4hning'),jdecode(''),'/13725/126754.html','true',[],''],
		['PAGE','659044',jdecode('Tim+Pfeifer'),jdecode(''),'/13725/659044.html','true',[],''],
		['PAGE','659193',jdecode('Benedict+Hof'),jdecode(''),'/13725/659193.html','true',[],''],
		['PAGE','659214',jdecode('Erik+Reeb'),jdecode(''),'/13725/659214.html','true',[],''],
		['PAGE','502202',jdecode('Andree+Seibel'),jdecode(''),'/13725/502202.html','true',[],''],
		['PAGE','594844',jdecode('Robin+Benfer'),jdecode(''),'/13725/594844.html','true',[],'']
	],''],
	['PAGE','416302',jdecode('Rundentermine'),jdecode(''),'/416302.html','true',[],''],
	['PAGE','705002',jdecode('TSG+Hallenturnier'),jdecode(''),'/705002.html','true',[],''],
	['PAGE','704102',jdecode('Vorbereitungsplan+2012'),jdecode(''),'/704102.html','true',[],''],
	['PAGE','343802',jdecode('n%C3%A4chster+Gegner'),jdecode(''),'/343802.html','true',[],''],
	['PAGE','492902',jdecode('Einsatztabelle'),jdecode(''),'/492902.html','true',[],''],
	['PAGE','43301',jdecode('Tabelle'),jdecode(''),'/43301.html','true',[],''],
	['PAGE','493502',jdecode('Tabellenverlauf'),jdecode(''),'/493502.html','true',[],''],
	['PAGE','40501',jdecode('Unsere+Torsch%C3%BCtzen'),jdecode(''),'/40501.html','true',[],''],
	['PAGE','141902',jdecode('Torj%C3%A4ger+B-Liga'),jdecode(''),'/141902.html','true',[],''],
	['PAGE','78864',jdecode('Tippspiel'),jdecode(''),'/78864.html','true',[],''],
	['PAGE','372002',jdecode('Geburtstage'),jdecode(''),'/372002.html','true',[],''],
	['PAGE','318802',jdecode('Bilder'),jdecode(''),'/318802.html','true',[],''],
	['PAGE','600802',jdecode('Sportheim'),jdecode(''),'/600802.html','true',[],''],
	['PAGE','276107',jdecode('G%C3%A4stebuch'),jdecode(''),'/276107/home.html','true',[ 
		['PAGE','276102',jdecode('Eintr%C3%A4ge'),jdecode(''),'/276107/276102.html','true',[],'']
	],''],
	['PAGE','21301',jdecode('Links'),jdecode(''),'/21301.html','true',[],''],
	['PAGE','336802',jdecode('Downloads'),jdecode(''),'/336802.html','true',[],''],
	['PAGE','103224',jdecode('Sponsoren'),jdecode(''),'/103224.html','true',[],''],
	['PAGE','72662',jdecode('Impressum'),jdecode(''),'/72662.html','true',[],'']];
var siteelementCount=45;
theSitetree.topTemplateName='Fussball02';
theSitetree.paletteFamily='FFFFFF';
theSitetree.keyvisualId='10460';
theSitetree.keyvisualName='kv_10460.jpg';
theSitetree.fontsetId='26596';
theSitetree.graphicsetId='13411';
theSitetree.contentColor='292929';
theSitetree.contentBGColor='BFE232';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Fussball02',
				paletteFamily: 	'FFFFFF',
				keyvisualId: 	'10460',
				keyvisualName: 	'kv_10460.jpg',
				fontsetId: 		'26596',
				graphicsetId: 	'13411',
				contentColor: 	'292929',
				contentBGColor: 'BFE232',
				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:  '4579',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '276107',
internalId:  '',
customField: '20070507-105032'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13671',
internalId:  '',
customField: '20110811-215952'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '659065',
internalId:  '',
customField: '20110812-211412'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '276102',
internalId:  '',
customField: '20070507-105032'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4579',
internalId:  '',
customField: '20120129-075757'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13698',
internalId:  '',
customField: '20111116-152652'
};
webappMappings['1501']=webappMappings['1501-552779']={
webappId:    '1501',
documentId:  '4579',
internalId:  '552779',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13725',
internalId:  '',
customField: '20120129-080015'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '300702',
internalId:  '',
customField: '20111218-101139'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '126523',
internalId:  '',
customField: '20110812-210925'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '594802',
internalId:  '',
customField: '20110813-090813'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '659086',
internalId:  '',
customField: '20111024-193621'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '126628',
internalId:  '',
customField: '20110812-211058'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '126649',
internalId:  '',
customField: '20110812-211013'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '336802',
internalId:  '',
customField: '20120114-120448'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '126712',
internalId:  '',
customField: '20110812-211141'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '126754',
internalId:  '',
customField: '20110812-211232'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '126775',
internalId:  '',
customField: '20110811-213641'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '704102',
internalId:  '',
customField: '20120112-192251'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '594844',
internalId:  '',
customField: '20100808-111001'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '659044',
internalId:  '',
customField: '20111203-105633'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '600802',
internalId:  '',
customField: '20110602-141550'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '492902',
internalId:  '',
customField: '20111204-181635'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '493502',
internalId:  '',
customField: '20111203-103558'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '659002',
internalId:  '',
customField: '20110813-090524'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '659023',
internalId:  '',
customField: '20110812-210352'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '496823',
internalId:  '',
customField: '20110812-210613'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '659193',
internalId:  '',
customField: '20111203-105229'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '705002',
internalId:  '',
customField: '20120114-115918'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '502202',
internalId:  '',
customField: '20111203-104759'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '502223',
internalId:  '',
customField: '20110812-151636'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '659214',
internalId:  '',
customField: '20111203-104909'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '372002',
internalId:  '',
customField: '20111219-090535'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '383202',
internalId:  '',
customField: '20110811-213238'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43301',
internalId:  '',
customField: '20111204-182746'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40501',
internalId:  '',
customField: '20111204-181833'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '659172',
internalId:  '',
customField: '20110812-211717'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '141902',
internalId:  '',
customField: '20111205-155642'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '78864',
internalId:  '',
customField: '20110801-153542'
};
webappMappings['1002']=webappMappings['1002-276107atoix0in3psd']={
webappId:    '1002',
documentId:  '276107',
internalId:  '276107atoix0in3psd',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-276107atoix0in3psd']={
webappId:    '1002',
documentId:  '276102',
internalId:  '276107atoix0in3psd',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '416302',
internalId:  '',
customField: '20111204-181405'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '268102',
internalId:  '',
customField: '20111218-101240'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '72662',
internalId:  '',
customField: '20070306-194814'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21301',
internalId:  '',
customField: '20110918-214759'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '103224',
internalId:  '',
customField: '20110813-093835'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '318802',
internalId:  '',
customField: '20110712-214511'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '343802',
internalId:  '',
customField: '20111204-181436'
};
webappMappings['3001']=webappMappings['3001-']={
webappId:    '3001',
documentId:  '276107',
internalId:  '',
customField: ''
};
webappMappings['3001']=webappMappings['3001-']={
webappId:    '3001',
documentId:  '276102',
internalId:  '',
customField: ''
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0IN3PSD';
var companyName   = 'TSG+1921+Mandeln';
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 */					                                                            

