/* [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','17001',jdecode('Nordic-Walking'),jdecode(''),'/17001.html','true',[],''],
	['PAGE','52013',jdecode('Fitness-Laufen'),jdecode(''),'/52013.html','true',[],''],
	['PAGE','13755',jdecode('TSV+Fo+Leichtathletik'),jdecode(''),'/13755/home.html','true',[ 
		['PAGE','77101',jdecode('Termine+'),jdecode(''),'/13755/77101.html','true',[],'']
	],''],
	['PAGE','66722',jdecode('Athleten-Portraits'),jdecode(''),'/66722.html','false',[],''],
	['PAGE','66701',jdecode('Athleten-Ergebnisse'),jdecode(''),'/66701.html','false',[],''],
	['PAGE','13890',jdecode('BLV+Obb+S%C3%BCdwest'),jdecode(''),'/13890/home.html','true',[ 
		['PAGE','74501',jdecode('U14+%28SB%29+Auswahl'),jdecode(''),'/13890/74501.html','true',[],''],
		['PAGE','94901',jdecode('U12+%28SC%29+Cup'),jdecode(''),'/13890/94901.html','true',[],'']
	],''],
	['PAGE','79301',jdecode('Veranstaltungen'),jdecode(''),'/79301/home.html','true',[ 
		['PAGE','131001',jdecode('Ergebnisse+%3E+2011'),jdecode(''),'/79301/131001.html','true',[],''],
		['PAGE','105001',jdecode('Ergebnisse+2010'),jdecode(''),'/79301/105001.html','true',[],''],
		['PAGE','105022',jdecode('Ergebnisse+2009'),jdecode(''),'/79301/105022.html','true',[],''],
		['PAGE','92601',jdecode('Ergebnisse+2008'),jdecode(''),'/79301/92601.html','true',[],'']
	],''],
	['PAGE','13944',jdecode('Kontakt+und+Links'),jdecode(''),'/13944.html','true',[],''],
	['PAGE','62384',jdecode('Fotoarchiv'),jdecode(''),'/62384.html','true',[],''],
	['PAGE','123001',jdecode('Anfahrt'),jdecode(''),'/123001.html','true',[],'']];
var siteelementCount=18;
theSitetree.topTemplateName='Sport';
theSitetree.paletteFamily='3CC23D';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='219';
theSitetree.graphicsetId='258';
theSitetree.contentColor='006633';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Sport',
				paletteFamily: 	'3CC23D',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'219',
				graphicsetId: 	'258',
				contentColor: 	'006633',
				contentBGColor: 'FFFFFF',
				a_color: 		'3CC23D',
				b_color: 		'FFFFFF',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '52013',
internalId:  '',
customField: '20120204-102728'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17001',
internalId:  '',
customField: '20111227-151841'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13755',
internalId:  '',
customField: '20120204-105503'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '4579',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4579',
internalId:  '',
customField: '20120204-112307'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13890',
internalId:  '',
customField: '20120122-193402'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '94901',
internalId:  '',
customField: '20111227-144009'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13944',
internalId:  '',
customField: '20120121-115724'
};
webappMappings['1501']=webappMappings['1501-607872']={
webappId:    '1501',
documentId:  '4579',
internalId:  '607872',
customField: '1501'
};
webappMappings['1007']=webappMappings['1007-10fde226ac0']={
webappId:    '1007',
documentId:  '62384',
internalId:  '10fde226ac0',
customField: 'g.11vf1pqka.1m0f0gidvpl.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62384',
internalId:  '',
customField: '20070107-170711'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '92601',
internalId:  '',
customField: '20111007-223752'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '66701',
internalId:  '',
customField: '20101017-190059'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '66722',
internalId:  '',
customField: '20110801-102921'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '74501',
internalId:  '',
customField: '20111101-155334'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '77101',
internalId:  '',
customField: '20120130-003528'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '79301',
internalId:  '',
customField: '20120204-102110'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '105001',
internalId:  '',
customField: '20111008-202221'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '105022',
internalId:  '',
customField: '20111007-223707'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '123001',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '123001',
internalId:  '',
customField: '20111026-232825'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '131001',
internalId:  '',
customField: '20120121-110422'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0INVCRA';
var companyName   = 'Leichtathletik+-+TSV+Forstenried-M%C3%BCnchen+e.V.';
var htmlTitle	  = 'Leichtathletik';
var metaKeywords  = 'Fitness%2C+Laufen%2C+Leichtathletik%2C+Nordic-Walking%2C+Walking%2C+Jogging%2C+Running%2C+Marathon%2C+Sport%2C+Triathlon%2C+Forstenried%2C+F%C3%BCrstenried%2C+Maxhof%2C+M%C3%BCnchen%2C+Sportfeste%2C+Veranstaltungen';
var metaContents  = 'Fitness%2C+Laufen%2C+Leichtathletik%2C+Nordic-Walking%2C+Walking%2C+Jogging%2C+Running%2C+Marathon%2C+Sport%2C+Triathlon%2C+Forstenried%2C+F%C3%BCrstenried%2C+Maxhof%2C+M%C3%BCnchen%2C+Sportfeste%2C+Veranstaltungen';
					                                                                    
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 */					                                                            

