/* [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','41994',jdecode('Unsere+Mannschaft'),jdecode(''),'/41994/home.html','true',[ 
		['PAGE','42819',jdecode('Info+Maria'),jdecode(''),'/41994/42819.html','false',[],''],
		['PAGE','49178',jdecode('Info+Uli'),jdecode(''),'/41994/49178.html','false',[],''],
		['PAGE','49199',jdecode('Info+Sabine'),jdecode(''),'/41994/49199.html','false',[],''],
		['PAGE','49220',jdecode('Info+Renate'),jdecode(''),'/41994/49220.html','false',[],''],
		['PAGE','116178',jdecode('Info+Hanne'),jdecode(''),'/41994/116178.html','false',[],''],
		['PAGE','49241',jdecode('Info+Anke'),jdecode(''),'/41994/49241.html','false',[],''],
		['PAGE','49262',jdecode('Info+Heike'),jdecode(''),'/41994/49262.html','false',[],''],
		['PAGE','49283',jdecode('Info+Sandra'),jdecode(''),'/41994/49283.html','false',[],''],
		['PAGE','49304',jdecode('Info+Marie'),jdecode(''),'/41994/49304.html','false',[],'']
	],''],
	['PAGE','41985',jdecode('Der+Vorstand'),jdecode(''),'/41985.html','true',[],''],
	['PAGE','117478',jdecode('Unsere+Kegelbahn'),jdecode(''),'/117478.html','true',[],''],
	['PAGE','41976',jdecode('Chronik'),jdecode(''),'/41976.html','true',[],''],
	['PAGE','130478',jdecode('News'),jdecode(''),'/130478.html','false',[],''],
	['PAGE','110478',jdecode('Archiv'),jdecode(''),'/110478/home.html','true',[ 
		['PAGE','110499',jdecode('Spielrunde+2009%2F2010'),jdecode(''),'/110478/110499.html','true',[],''],
		['PAGE','89878',jdecode('Abschluss+der+Saison+2008%2F2009'),jdecode(''),'/110478/89878.html','true',[],''],
		['PAGE','76878',jdecode('Spielrunde+2008%2F2009'),jdecode(''),'/110478/76878.html','true',[],''],
		['PAGE','76899',jdecode('2007%2F08+9.-18.Spieltag'),jdecode(''),'/110478/76899.html','true',[],''],
		['PAGE','74578',jdecode('2007%2F08+1.-+8.Spieltag'),jdecode(''),'/110478/74578.html','true',[],''],
		['PAGE','42003',jdecode('Freundschaftsspiel+Singen'),jdecode(''),'/110478/42003.html','true',[],''],
		['PAGE','44478',jdecode('Bilder+vom+Spiel+Singen'),jdecode(''),'/110478/44478.html','true',[],''],
		['PAGE','77978',jdecode('Meisterschaften+2008'),jdecode(''),'/110478/77978.html','true',[],'']
	],''],
	['PAGE','42012',jdecode('Spielbetrieb+und+Ergebnisse'),jdecode(''),'/42012/home.html','true',[ 
		['PAGE','42837',jdecode('Statistiken'),jdecode(''),'/42012/42837.html','true',[],''],
		['PAGE','42846',jdecode('DKBC+-+Pokal+2007%2F2008'),jdecode(''),'/42012/42846.html','true',[],'']
	],''],
	['PAGE','43215',jdecode('F%C3%BCr+Mitglieder'),jdecode(''),'/43215/home.html','true',[ 
		['PAGE','59778',jdecode('H%C3%BCtte+2007'),jdecode(''),'/43215/59778.html','true',[],'']
	],''],
	['PAGE','42117',jdecode('Sponsoren'),jdecode(''),'/42117.html','true',[],''],
	['PAGE','42021',jdecode('Kontakt'),jdecode(''),'/42021.html','true',[],''],
	['PAGE','42030',jdecode('Links'),jdecode(''),'/42030.html','true',[],''],
	['PAGE','42174',jdecode('Anfahrt'),jdecode(''),'/42174.html','true',[],''],
	['PAGE','43021',jdecode('G%C3%A4stebuch'),jdecode(''),'/43021/home.html','false',[ 
		['PAGE','43020',jdecode('Eintr%C3%A4ge'),jdecode(''),'/43021/43020.html','false',[],'']
	],''],
	['PAGE','42855',jdecode('Impressum'),jdecode(''),'/42855.html','true',[],'']];
var siteelementCount=36;
theSitetree.topTemplateName='MultiSports';
theSitetree.paletteFamily='FEFEFE';
theSitetree.keyvisualId='11191';
theSitetree.keyvisualName='kv_11191.jpg';
theSitetree.fontsetId='32095';
theSitetree.graphicsetId='13900';
theSitetree.contentColor='680807';
theSitetree.contentBGColor='FEFEFE';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'MultiSports',
				paletteFamily: 	'FEFEFE',
				keyvisualId: 	'11191',
				keyvisualName: 	'kv_11191.jpg',
				fontsetId: 		'32095',
				graphicsetId: 	'13900',
				contentColor: 	'680807',
				contentBGColor: 'FEFEFE',
				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:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20111211-093024'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49178',
internalId:  '',
customField: '20090914-142846'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41994',
internalId:  '',
customField: '20111211-093906'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42003',
internalId:  '',
customField: '20080802-210546'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42012',
internalId:  '',
customField: '20100506-132556'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41976',
internalId:  '',
customField: '20110506-080754'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42021',
internalId:  '',
customField: '20111211-092852'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42117',
internalId:  '',
customField: '20111211-093004'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41985',
internalId:  '',
customField: '20080802-225750'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42030',
internalId:  '',
customField: '20070908-210734'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '42174',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42174',
internalId:  '',
customField: '20070901-211028'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42819',
internalId:  '',
customField: '20090914-142814'
};
webappMappings['1002']=webappMappings['1002-43021atoix0inftq1']={
webappId:    '1002',
documentId:  '43021',
internalId:  '43021atoix0inftq1',
customField: 'action=form&icq=false'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42837',
internalId:  '',
customField: '20090906-154955'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42846',
internalId:  '',
customField: '20071216-211221'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42855',
internalId:  '',
customField: '20111211-093944'
};
webappMappings['1002']=webappMappings['1002-43021atoix0inftq1']={
webappId:    '1002',
documentId:  '43020',
internalId:  '43021atoix0inftq1',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43021',
internalId:  '',
customField: '20070901-205806'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43020',
internalId:  '',
customField: '20070901-205806'
};
webappMappings['1501']=webappMappings['1501-37857403']={
webappId:    '1501',
documentId:  '44',
internalId:  '37857403',
customField: '1501'
};
webappMappings['3001']=webappMappings['3001-']={
webappId:    '3001',
documentId:  '43215',
internalId:  '',
customField: ''
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43215',
internalId:  '',
customField: '20080801-212505'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '59778',
internalId:  '',
customField: '20070929-203712'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44478',
internalId:  '',
customField: '20080802-210708'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49199',
internalId:  '',
customField: '20090914-142935'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49220',
internalId:  '',
customField: '20090914-143017'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49241',
internalId:  '',
customField: '20110506-082136'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49262',
internalId:  '',
customField: '20090914-143304'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49283',
internalId:  '',
customField: '20090914-143455'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49304',
internalId:  '',
customField: '20090914-143524'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '89878',
internalId:  '',
customField: '20090526-212712'
};
webappMappings['1007']=webappMappings['1007-1155281f42e']={
webappId:    '1007',
documentId:  '59778',
internalId:  '1155281f42e',
customField: 'g.12l97rlhb.9lkm0un63l.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '110499',
internalId:  '',
customField: '20100506-132657'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '110478',
internalId:  '',
customField: '20110928-154801'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '116178',
internalId:  '',
customField: '20110506-082655'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '117478',
internalId:  '',
customField: '20111211-092822'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '130478',
internalId:  '',
customField: '20110928-161351'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '74578',
internalId:  '',
customField: '20080802-210358'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '76899',
internalId:  '',
customField: '20080801-234046'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '76878',
internalId:  '',
customField: '20090506-100106'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '77978',
internalId:  '',
customField: '20080802-223241'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0INFTQ1';
var companyName   = 'KC+Komet+Villingen';
var htmlTitle	  = 'KC+Komet';
var metaKeywords  = 'KC+Komet+Villingen%2C+kegeln%2C+Sportkegeln%2C+Kegelclub%2C+';
var metaContents  = 'Willkommen+bei+KC+Komet+Villingen.++';
					                                                                    
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 */					                                                            

