/* [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','44',jdecode('Startseite'),jdecode(''),'/44.html','true',[],''],
	['PAGE','41061',jdecode('Dojo-News'),jdecode(''),'/41061.html','true',[],''],
	['PAGE','41043',jdecode('+Shotokan-Karate-Do'),jdecode(''),'/41043.html','true',[],''],
	['PAGE','41070',jdecode('Termine'),jdecode(''),'/41070.html','true',[],''],
	['PAGE','41088',jdecode('Trainer'),jdecode(''),'/41088.html','true',[],''],
	['PAGE','41079',jdecode('Vorstand'),jdecode(''),'/41079.html','true',[],''],
	['PAGE','41097',jdecode('Links'),jdecode(''),'/41097.html','true',[],''],
	['PAGE','42132',jdecode('Anfahrt'),jdecode(''),'/42132.html','true',[],''],
	['PAGE','41115',jdecode('Impressum'),jdecode(''),'/41115.html','true',[],''],
	['PAGE','43407',jdecode('Politik'),jdecode(''),'/43407.html','true',[],''],
	['PAGE','43419',jdecode('Kultur'),jdecode(''),'/43419.html','true',[],''],
	['PAGE','43431',jdecode('Vermischtes'),jdecode(''),'/43431.html','true',[],''],
	['PAGE','43443',jdecode('Boulevard'),jdecode(''),'/43443.html','true',[],''],
	['PAGE','43455',jdecode('Familie'),jdecode(''),'/43455.html','true',[],'']];
var siteelementCount=14;
theSitetree.topTemplateName='Icon';
theSitetree.paletteFamily='C58787';
theSitetree.keyvisualId='3429';
theSitetree.keyvisualName='kv_3429.jpg';
theSitetree.fontsetId='10650';
theSitetree.graphicsetId='10744';
theSitetree.contentColor='A00000';
theSitetree.contentBGColor='D3A5A5';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Icon',
				paletteFamily: 	'C58787',
				keyvisualId: 	'3429',
				keyvisualName: 	'kv_3429.jpg',
				fontsetId: 		'10650',
				graphicsetId: 	'10744',
				contentColor: 	'A00000',
				contentBGColor: 'D3A5A5',
				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:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '42132',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20100602-210428'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41115',
internalId:  '',
customField: '20090323-211145'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41079',
internalId:  '',
customField: '20090323-204825'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41088',
internalId:  '',
customField: '20100602-202449'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41070',
internalId:  '',
customField: '20090812-220847'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41061',
internalId:  '',
customField: '20100819-200139'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41097',
internalId:  '',
customField: '20090812-222407'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41043',
internalId:  '',
customField: '20100602-204522'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42132',
internalId:  '',
customField: '20051226-211732'
};
webappMappings['1011']=webappMappings['1011-ddp-politik']={
webappId:    '1011',
documentId:  '43407',
internalId:  'ddp-politik',
customField: 'language:de;country:DE;'
};
webappMappings['1011']=webappMappings['1011-ddp-kultur']={
webappId:    '1011',
documentId:  '43419',
internalId:  'ddp-kultur',
customField: 'language:de;country:DE;'
};
webappMappings['1011']=webappMappings['1011-ddp-vermischtes']={
webappId:    '1011',
documentId:  '43431',
internalId:  'ddp-vermischtes',
customField: 'language:de;country:DE;'
};
webappMappings['1011']=webappMappings['1011-ddp-boulevard']={
webappId:    '1011',
documentId:  '43443',
internalId:  'ddp-boulevard',
customField: 'language:de;country:DE;'
};
webappMappings['1011']=webappMappings['1011-ddp-familie']={
webappId:    '1011',
documentId:  '43455',
internalId:  'ddp-familie',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43407',
internalId:  '',
customField: '20100602-194222'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43419',
internalId:  '',
customField: '20100602-195623'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43431',
internalId:  '',
customField: '20100602-200330'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43443',
internalId:  '',
customField: '20100602-200951'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43455',
internalId:  '',
customField: '20100602-194411'
};
var canonHostname = 'c4awrk08.aul.t-online.de';
var accountId     = 'ATOIX0INLZDN';
var companyName   = 'Karate-Verband+Lausitz+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 */					                                                            
