/* [nodename, id, name, navigationtext, href, isnavigation, childs[], templatename] */

function jdecode(s) {
    s = s.replace(/\+/g, "%20")
    return unescape(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','4555',jdecode('Home'),jdecode(''),'/4555.html','true',[],''],
	['PAGE','276500',jdecode('2006+Neu'),jdecode(''),'/276500/index.html','true',[ 
		['PAGE','187758',jdecode('Texte+%26+Bilder'),jdecode(''),'/276500/187758.html','true',[],'']
	],''],
	['PAGE','4612',jdecode('Mein+Steckbrief%3A'),jdecode(''),'/4612/index.html','true',[ 
		['PAGE','13338',jdecode('SPORTLICHER+WEG'),jdecode(''),'/4612/13338.html','true',[],'']
	],''],
	['PAGE','174358',jdecode('Neu+Kieler+Woche'),jdecode(''),'/174358/index.html','true',[ 
		['PAGE','176685',jdecode('18-+27.06.04'),jdecode(''),'/174358/176685.html','true',[],'']
	],''],
	['PAGE','38873',jdecode('News+Neu'),jdecode(''),'/38873/index.html','true',[ 
		['PAGE','64690',jdecode('Kanubike+Ausstellungen'),jdecode(''),'/38873/64690.html','true',[],''],
		['PAGE','4693',jdecode('R%FCckblick+Ausstellungen'),jdecode(''),'/38873/4693.html','true',[],''],
		['PAGE','57078',jdecode('Schoffer-ein+Motorbiker%3F'),jdecode(''),'/38873/57078.html','true',[],''],
		['PAGE','76578',jdecode('Hofbr%E4u+6Tage+2004++'),jdecode(''),'/38873/76578.html','true',[],''],
		['PAGE','80584',jdecode('Hofbr%E4u+6Tage+2002'),jdecode(''),'/38873/80584.html','true',[],'']
	],''],
	['PAGE','23507',jdecode('WELTREKORD'),jdecode(''),'/23507.html','true',[],''],
	['PAGE','51963',jdecode('+Neu+Veranstalt.'),jdecode(''),'/51963/index.html','true',[ 
		['PAGE','52017',jdecode('R%FCckblick'),jdecode(''),'/51963/52017.html','true',[],'']
	],''],
	['PAGE','143752',jdecode('Rekordver.+%3F+Tage'),jdecode(''),'/143752/index.html','true',[ 
		['PAGE','145231',jdecode('Presse+Berichte'),jdecode(''),'/143752/145231.html','true',[],''],
		['PAGE','144352',jdecode('Von+der+Veranstaltung'),jdecode(''),'/143752/144352.html','true',[],''],
		['PAGE','146552',jdecode('Sponsoren+der+Veranst.'),jdecode(''),'/143752/146552.html','true',[],'']
	],''],
	['PAGE','53133',jdecode('Benefizveranstalt.'),jdecode(''),'/53133.html','true',[],''],
	['PAGE','58509',jdecode('Neu+Benefitz.+04+'),jdecode(''),'/58509/index.html','true',[ 
		['PAGE','53160',jdecode('CMT+'),jdecode(''),'/58509/53160.html','true',[],''],
		['PAGE','53187',jdecode('EZ-Weinacht+'),jdecode(''),'/58509/53187.html','true',[],''],
		['PAGE','53214',jdecode('24+Stunden+f%FCr+Kinder++'),jdecode(''),'/58509/53214.html','true',[],''],
		['PAGE','138439',jdecode('Im+Computer+Laden'),jdecode(''),'/58509/138439.html','true',[],''],
		['PAGE','53241',jdecode('1991+Aktion+Mensch'),jdecode(''),'/58509/53241.html','true',[],'']
	],''],
	['PAGE','55234',jdecode('Auszeichnungen++'),jdecode(''),'/55234/index.html','true',[ 
		['PAGE','55261',jdecode('von+Esslingen+a%2FN.'),jdecode(''),'/55234/55261.html','true',[],''],
		['PAGE','55288',jdecode('Danksagungen+alg.'),jdecode(''),'/55234/55288.html','true',[],''],
		['PAGE','85584',jdecode('Bundeswehr+1991'),jdecode(''),'/55234/85584.html','true',[],'']
	],''],
	['PAGE','27561',jdecode('WM+R%FCckblick+'),jdecode(''),'/27561/index.html','true',[ 
		['PAGE','35658',jdecode('WM+1997+%28+D%29'),jdecode(''),'/27561/35658.html','true',[],''],
		['PAGE','35685',jdecode('WM+1999+%28CH%29Neu'),jdecode(''),'/27561/35685.html','true',[],''],
		['PAGE','55003',jdecode('+WM+2001+Eutin+%28+1+%29'),jdecode(''),'/27561/55003.html','true',[],''],
		['PAGE','35739',jdecode('sonstige+Meisterschaften'),jdecode(''),'/27561/35739.html','true',[],'']
	],''],
	['PAGE','61926',jdecode('Presse++2003%2F04'),jdecode(''),'/61926/index.html','true',[ 
		['PAGE','63478',jdecode('Neu+Werkzeugforum'),jdecode(''),'/61926/63478.html','true',[],''],
		['PAGE','61378',jdecode('Neu+Kurswerkstatt'),jdecode(''),'/61926/61378.html','true',[],''],
		['PAGE','4801',jdecode('Presse+bis+2003'),jdecode(''),'/61926/4801.html','true',[],'']
	],''],
	['PAGE','36058',jdecode('FOTO-ALBUM++'),jdecode(''),'/36058/index.html','true',[ 
		['PAGE','4774',jdecode('FESTO-BOATS+TEAM'),jdecode(''),'/36058/4774.html','true',[],''],
		['PAGE','27207',jdecode('TEIL+1.+TEAMS+%26+BOATS'),jdecode(''),'/36058/27207.html','true',[],''],
		['PAGE','36085',jdecode('TEIL+2.+TEAMS+%26+BOATS'),jdecode(''),'/36058/36085.html','true',[],''],
		['PAGE','36112',jdecode('TEIL+3.+TEAMS+%26+BOATS'),jdecode(''),'/36058/36112.html','true',[],''],
		['PAGE','27507',jdecode('Indoor-Spinning'),jdecode(''),'/36058/27507.html','true',[],''],
		['PAGE','27534',jdecode('Ausdauerschwimmen+'),jdecode(''),'/36058/27534.html','true',[],''],
		['PAGE','83178',jdecode('Triathlon+Bilder'),jdecode(''),'/36058/83178.html','true',[],''],
		['PAGE','83907',jdecode('80+Km+Lauf'),jdecode(''),'/36058/83907.html','true',[],'']
	],''],
	['PAGE','88111',jdecode('Links'),jdecode(''),'/88111/index.html','true',[ 
		['PAGE','42638',jdecode('Links+Tretboot+Teams'),jdecode(''),'/88111/42638.html','true',[],'']
	],''],
	['PAGE','4720',jdecode('SPONSOREN'),jdecode(''),'/4720.html','true',[],''],
	['PAGE','91430',jdecode('Neue+Bilder'),jdecode(''),'/91430/index.html','true',[ 
		['PAGE','136615',jdecode('Teil.1'),jdecode(''),'/91430/136615.html','true',[],''],
		['PAGE','136642',jdecode('Teil.2'),jdecode(''),'/91430/136642.html','true',[],''],
		['PAGE','137440',jdecode('Teil.3'),jdecode(''),'/91430/137440.html','true',[],''],
		['PAGE','137467',jdecode('Teil.4'),jdecode(''),'/91430/137467.html','true',[],''],
		['PAGE','137494',jdecode('Teil.5'),jdecode(''),'/91430/137494.html','true',[],'']
	],''],
	['PAGE','170337',jdecode('Pneumatic-+Muscel'),jdecode(''),'/170337.html','true',[],''],
	['PAGE','284459',jdecode('Ihr+Weg+zu+uns'),jdecode(''),'/284459.html','true',[],''],
	['PAGE','4828',jdecode('Kontakt++'),jdecode(''),'/4828.html','true',[],''],
	['PAGE','43121',jdecode('Impressum'),jdecode(''),'/43121/index.html','true',[ 
		['PAGE','70663',jdecode('Webmaster'),jdecode(''),'/43121/70663.html','true',[],''],
		['PAGE','7232',jdecode('MAIL+ME%21+%28Folgeseite%29'),jdecode(''),'/43121/7232.html','false',[],'']
	],''],
	['PAGE','284500',jdecode('Wo+liegt+Esslingen+am+Neckar'),jdecode(''),'/284500.html','true',[],''],
	['PAGE','284858',jdecode('Kiel+Englisch'),jdecode(''),'/284858.html','true',[],''],
	['PAGE','284977',jdecode('Private+Bilder'),jdecode(''),'/284977.html','true',[],'']];
var siteelementCount=67;
theSitetree.topTemplateName='Square';
					                                                                    
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;                                                                     
	};                                                                               
/* EOF */					                                                            
