/* [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','40825',jdecode('Wir+%C3%BCber+uns'),jdecode(''),'/40825.html','true',[],''],
	['PAGE','41258',jdecode('Aktuelles%2FTermine'),jdecode(''),'/41258/home.html','true',[ 
		['PAGE','42291',jdecode('Anmeldung+Judosafari'),jdecode(''),'/41258/42291.html','false',[],'']
	],''],
	['PAGE','40834',jdecode('Erfolge'),jdecode(''),'/40834.html','true',[],''],
	['PAGE','41502',jdecode('G%C3%BCrtelpr%C3%BCfung'),jdecode(''),'/41502.html','true',[],''],
	['PAGE','40861',jdecode('Training'),jdecode(''),'/40861/home.html','true',[ 
		['PAGE','41622',jdecode('Anfahrt'),jdecode(''),'/40861/41622.html','true',[],'']
	],''],
	['PAGE','40879',jdecode('Kontakt'),jdecode(''),'/40879.html','true',[],''],
	['PAGE','40888',jdecode('Veranstaltungen'),jdecode(''),'/40888/home.html','true',[ 
		['PAGE','40897',jdecode('Judosafari'),jdecode(''),'/40888/40897.html','true',[],''],
		['PAGE','40906',jdecode('Vereinsmeisterschaften'),jdecode(''),'/40888/40906.html','true',[],'']
	],''],
	['PAGE','40915',jdecode('Bilder%2FVideos'),jdecode(''),'/40915/home.html','true',[ 
		['PAGE','41175',jdecode('Vereinsleben'),jdecode(''),'/40915/41175.html','true',[],'']
	],''],
	['PAGE','40924',jdecode('Mitglied+werden'),jdecode(''),'/40924.html','true',[],''],
	['PAGE','40933',jdecode('Links'),jdecode(''),'/40933.html','true',[],''],
	['PAGE','41276',jdecode('G%C3%A4stebuch'),jdecode(''),'/41276/home.html','true',[ 
		['PAGE','41275',jdecode('Eintr%C3%A4ge'),jdecode(''),'/41276/41275.html','true',[],'']
	],''],
	['PAGE','40942',jdecode('Hauptverein'),jdecode(''),'/40942/home.html','true',[ 
		['PAGE','40951',jdecode('Vorstand'),jdecode(''),'/40942/40951.html','false',[],'']
	],''],
	['PAGE','42785',jdecode('Interne+Dienste'),jdecode(''),'/42785/home.html','false',[ 
		['PAGE','42804',jdecode('Blog'),jdecode(''),'/42785/42804.html','true',[],'']
	],''],
	['PAGE','40960',jdecode('Impressum'),jdecode(''),'/40960.html','true',[],'']];
var siteelementCount=23;
theSitetree.topTemplateName='TOI_Kugeln_1';
theSitetree.paletteFamily='B51613';
theSitetree.keyvisualId='10819';
theSitetree.keyvisualName='kv_10819.jpg';
theSitetree.fontsetId='31840';
theSitetree.graphicsetId='13630';
theSitetree.contentColor='F8F8FD';
theSitetree.contentBGColor='B51613';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Kugeln_1',
				paletteFamily: 	'B51613',
				keyvisualId: 	'10819',
				keyvisualName: 	'kv_10819.jpg',
				fontsetId: 		'31840',
				graphicsetId: 	'13630',
				contentColor: 	'F8F8FD',
				contentBGColor: 'B51613',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
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: '20111211-133107'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40825',
internalId:  '',
customField: '20090127-191959'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40834',
internalId:  '',
customField: '20120126-202512'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42785',
internalId:  '',
customField: '20111117-205552'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40861',
internalId:  '',
customField: '20111026-210743'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '41622',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40879',
internalId:  '',
customField: '20090127-223012'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40888',
internalId:  '',
customField: '20090127-220408'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40897',
internalId:  '',
customField: '20100926-191027'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40906',
internalId:  '',
customField: '20111117-203423'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40915',
internalId:  '',
customField: '20090128-190750'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40924',
internalId:  '',
customField: '20090127-201206'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40933',
internalId:  '',
customField: '20101102-230142'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40942',
internalId:  '',
customField: '20090127-222222'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40951',
internalId:  '',
customField: '20101107-185615'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40960',
internalId:  '',
customField: '20090128-192005'
};
webappMappings['1007']=webappMappings['1007-11f1e6ae48b']={
webappId:    '1007',
documentId:  '41175',
internalId:  '11f1e6ae48b',
customField: 'g.13sf6dfqe.878ugescuss.1s'
};
webappMappings['1002']=webappMappings['1002-41276atoix0i7osgs']={
webappId:    '1002',
documentId:  '41276',
internalId:  '41276atoix0i7osgs',
customField: 'action=form&icq=false'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41258',
internalId:  '',
customField: '20111229-181935'
};
webappMappings['1008']=webappMappings['1008-55529686']={
webappId:    '1008',
documentId:  '40879',
internalId:  '55529686',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41175',
internalId:  '',
customField: '20090128-190903'
};
webappMappings['1002']=webappMappings['1002-41276atoix0i7osgs']={
webappId:    '1002',
documentId:  '41275',
internalId:  '41276atoix0i7osgs',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41276',
internalId:  '',
customField: '20090210-033215'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41275',
internalId:  '',
customField: '20090201-164522'
};
webappMappings['1501']=webappMappings['1501-55535296']={
webappId:    '1501',
documentId:  '39994',
internalId:  '55535296',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41502',
internalId:  '',
customField: '20110425-203935'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42291',
internalId:  '',
customField: '20110821-130011'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41622',
internalId:  '',
customField: '20090707-203332'
};
webappMappings['3001']=webappMappings['3001-']={
webappId:    '3001',
documentId:  '42785',
internalId:  '',
customField: ''
};
webappMappings['7050']=webappMappings['7050-33121']={
webappId:    '7050',
documentId:  '42804',
internalId:  '33121',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42804',
internalId:  '',
customField: '20111117-202159'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0I7OSGS';
var companyName   = 'ATVD-Judo+erleben';
var htmlTitle	  = 'ATVD-Judo+erleben';
var metaKeywords  = 'Judo+Saar+Saarbr%C3%BCcken+Dudweiler+Kampfsport';
var metaContents  = 'ATVD-Judo+erleben...++';
					                                                                    
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 */					                                                            

