/* [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','13701',jdecode('Home'),jdecode(''),'/13701.html','true',[],''],
	['PAGE','93201',jdecode('News'),jdecode(''),'/93201/home.html','true',[ 
		['PAGE','95701',jdecode('Klasse+Leistungen'),jdecode(''),'/93201/95701.html','true',[],''],
		['PAGE','90601',jdecode('Alle+Jahre+wieder'),jdecode(''),'/93201/90601.html','true',[],'']
	],''],
	['PAGE','13707',jdecode('Wir+%C3%BCber+uns'),jdecode(''),'/13707/home.html','true',[ 
		['PAGE','14501',jdecode('Vereinsanschrift'),jdecode(''),'/13707/14501.html','true',[],''],
		['PAGE','13722',jdecode('Der+Vorstand'),jdecode(''),'/13707/13722.html','true',[],''],
		['PAGE','13727',jdecode('Satzung'),jdecode(''),'/13707/13727.html','true',[],''],
		['PAGE','15711',jdecode('Beitr%C3%A4ge'),jdecode(''),'/13707/15711.html','true',[],'']
	],''],
	['PAGE','39901',jdecode('Sportangebote'),jdecode(''),'/39901/home.html','true',[ 
		['PAGE','40101',jdecode('Taiji-Chuan'),jdecode(''),'/39901/40101.html','true',[],''],
		['PAGE','15721',jdecode('Ju-Jutsu'),jdecode(''),'/39901/15721.html','true',[],''],
		['PAGE','40401',jdecode('Gymnastik'),jdecode(''),'/39901/40401.html','true',[],''],
		['PAGE','13712',jdecode('Trainingszeiten'),jdecode(''),'/39901/13712.html','true',[],'']
	],''],
	['PAGE','67901',jdecode('Judo-BZE-Meisterschaft+'),jdecode(''),'/67901.html','true',[],''],
	['PAGE','66401',jdecode('Judo-Kyu-Pr%C3%BCfung'),jdecode(''),'/66401.html','true',[],''],
	['PAGE','79601',jdecode('Ju-Jutsu-Pr%C3%BCfung'),jdecode(''),'/79601.html','true',[],''],
	['PAGE','89501',jdecode('Ju-Jutsu-Landeslehrgang+'),jdecode(''),'/89501.html','true',[],''],
	['PAGE','86001',jdecode('Happy+Weekend'),jdecode(''),'/86001.html','true',[],''],
	['PAGE','15716',jdecode('Impressum'),jdecode(''),'/15716.html','true',[],'']];
var siteelementCount=20;
theSitetree.topTemplateName='Japanese';
theSitetree.paletteFamily='384B5A';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='11136';
theSitetree.graphicsetId='11937';
theSitetree.contentColor='1C2934';
theSitetree.contentBGColor='BDC1B4';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Japanese',
				paletteFamily: 	'384B5A',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'11136',
				graphicsetId: 	'11937',
				contentColor: 	'1C2934',
				contentBGColor: 'BDC1B4',
				a_color: 		'384B5A',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '13701',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13701',
internalId:  '',
customField: '20100919-145903'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13707',
internalId:  '',
customField: '20100919-170205'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14501',
internalId:  '',
customField: '20110411-082714'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13722',
internalId:  '',
customField: '20111113-095132'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13727',
internalId:  '',
customField: '20100919-171001'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15711',
internalId:  '',
customField: '20120116-164439'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39901',
internalId:  '',
customField: '20070508-120204'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15721',
internalId:  '',
customField: '20061106-111257'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40101',
internalId:  '',
customField: '20061017-142704'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40401',
internalId:  '',
customField: '20111210-115518'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13712',
internalId:  '',
customField: '20120104-181652'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '90601',
internalId:  '',
customField: '20120113-091037'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '79601',
internalId:  '',
customField: '20110728-151052'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15716',
internalId:  '',
customField: '20100211-155933'
};
webappMappings['3001']=webappMappings['3001-']={
webappId:    '3001',
documentId:  '13701',
internalId:  '',
customField: ''
};
webappMappings['3001']=webappMappings['3001-']={
webappId:    '3001',
documentId:  '13707',
internalId:  '',
customField: ''
};
webappMappings['3001']=webappMappings['3001-']={
webappId:    '3001',
documentId:  '14501',
internalId:  '',
customField: ''
};
webappMappings['3001']=webappMappings['3001-']={
webappId:    '3001',
documentId:  '13722',
internalId:  '',
customField: ''
};
webappMappings['3001']=webappMappings['3001-']={
webappId:    '3001',
documentId:  '13727',
internalId:  '',
customField: ''
};
webappMappings['3001']=webappMappings['3001-']={
webappId:    '3001',
documentId:  '15711',
internalId:  '',
customField: ''
};
webappMappings['3001']=webappMappings['3001-']={
webappId:    '3001',
documentId:  '39901',
internalId:  '',
customField: ''
};
webappMappings['3001']=webappMappings['3001-']={
webappId:    '3001',
documentId:  '15721',
internalId:  '',
customField: ''
};
webappMappings['3001']=webappMappings['3001-']={
webappId:    '3001',
documentId:  '40101',
internalId:  '',
customField: ''
};
webappMappings['3001']=webappMappings['3001-']={
webappId:    '3001',
documentId:  '40401',
internalId:  '',
customField: ''
};
webappMappings['3001']=webappMappings['3001-']={
webappId:    '3001',
documentId:  '13712',
internalId:  '',
customField: ''
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '89501',
internalId:  '',
customField: '20111028-140939'
};
webappMappings['3001']=webappMappings['3001-']={
webappId:    '3001',
documentId:  '15716',
internalId:  '',
customField: ''
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '86001',
internalId:  '',
customField: '20110803-165112'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '66401',
internalId:  '',
customField: '20111229-112627'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '67901',
internalId:  '',
customField: '20120119-130318'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '93201',
internalId:  '',
customField: '20120117-164624'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '95701',
internalId:  '',
customField: '20120128-134807'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0IN2XL8';
var companyName   = 'Velberter+Judo-Club+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 */					                                                            

