/* [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','4466',jdecode('Zu+Hause'),jdecode(''),'/4466.html','true',[],''],
	['PAGE','28803',jdecode('Wetter'),jdecode(''),'/28803.html','true',[],''],
	['PAGE','15601',jdecode('Wir+%FCber+uns'),jdecode(''),'/15601.html','true',[],''],
	['PAGE','81862',jdecode('Biker+im+Schnee'),jdecode(''),'/81862.html','true',[],''],
	['PAGE','82662',jdecode('News+2011'),jdecode(''),'/82662.html','true',[],''],
	['PAGE','86562',jdecode('Unstrut+%26+Th%FCringen'),jdecode(''),'/86562.html','true',[],''],
	['PAGE','77162',jdecode('News+2010'),jdecode(''),'/77162.html','true',[],''],
	['PAGE','84662',jdecode('K%F6hlerfest+im+Spessart'),jdecode(''),'/84662.html','true',[],''],
	['PAGE','81362',jdecode('Karneval+am+16.10.2010'),jdecode(''),'/81362.html','true',[],''],
	['PAGE','76762',jdecode('Segelt%F6rn+2010'),jdecode(''),'/76762.html','true',[],''],
	['PAGE','79162',jdecode('Dolomiten+2010'),jdecode(''),'/79162.html','true',[],''],
	['PAGE','76462',jdecode('Pfingsausfahrt+2010'),jdecode(''),'/76462.html','true',[],''],
	['PAGE','76062',jdecode('Bikershow+Sinsheim'),jdecode(''),'/76062.html','true',[],''],
	['PAGE','85162',jdecode('BMW-Motorr.-Days+2011'),jdecode(''),'/85162.html','true',[],''],
	['PAGE','82962',jdecode('Vaddertag+2011'),jdecode(''),'/82962.html','true',[],''],
	['PAGE','75462',jdecode('Anlassen+in+GN+2010'),jdecode(''),'/75462.html','true',[],''],
	['PAGE','30002',jdecode('News+2009'),jdecode(''),'/30002.html','true',[],''],
	['PAGE','72062',jdecode('Motorradtour+Ardennen'),jdecode(''),'/72062.html','true',[],''],
	['PAGE','67830',jdecode('Th%FCringerwald-Tour'),jdecode(''),'/67830.html','true',[],''],
	['PAGE','64830',jdecode('Sella+Rondo'),jdecode(''),'/64830.html','true',[],''],
	['PAGE','59130',jdecode('Die+Pyren%E4entour'),jdecode(''),'/59130.html','true',[],''],
	['PAGE','59330',jdecode('Schottenring'),jdecode(''),'/59330.html','true',[],''],
	['PAGE','57230',jdecode('Messe+im+Westerngrund'),jdecode(''),'/57230.html','true',[],''],
	['PAGE','56530',jdecode('Anlassen+in+GN+2009'),jdecode(''),'/56530.html','true',[],''],
	['PAGE','53730',jdecode('Zwei+Alpentouren'),jdecode(''),'/53730.html','true',[],''],
	['PAGE','41330',jdecode('Tour+de+Europe'),jdecode(''),'/41330.html','true',[],''],
	['PAGE','52458',jdecode('Motorradtour+Vogtland'),jdecode(''),'/52458.html','true',[],''],
	['PAGE','33361',jdecode('Alpentour+Herbst+2005'),jdecode(''),'/33361.html','true',[],''],
	['PAGE','51230',jdecode('Walter%60s+Motorradtour'),jdecode(''),'/51230.html','true',[],''],
	['PAGE','38430',jdecode('Spessart-Rh%F6n-Tour'),jdecode(''),'/38430.html','true',[],''],
	['PAGE','40334',jdecode('Rhein-Mosel-Saar-Tour'),jdecode(''),'/40334.html','true',[],''],
	['PAGE','66161',jdecode('Elsass+2009'),jdecode(''),'/66161.html','true',[],''],
	['PAGE','56830',jdecode('Elsass+2008'),jdecode(''),'/56830.html','true',[],''],
	['PAGE','48130',jdecode('Elsass+2007'),jdecode(''),'/48130.html','true',[],''],
	['PAGE','38730',jdecode('Elsass+2006'),jdecode(''),'/38730.html','true',[],''],
	['PAGE','18101',jdecode('Oldtimer+auf+vier+R%E4dern'),jdecode(''),'/18101.html','true',[],''],
	['PAGE','46430',jdecode('Oldtimer+in+GN'),jdecode(''),'/46430.html','true',[],''],
	['PAGE','87262',jdecode('Oldtimertour+2011'),jdecode(''),'/87262.html','true',[],''],
	['PAGE','78062',jdecode('Monte+Menden+2010'),jdecode(''),'/78062.html','true',[],''],
	['PAGE','71562',jdecode('Monte+Menden+2009'),jdecode(''),'/71562.html','true',[],''],
	['PAGE','51530',jdecode('Monte+Menden+2007'),jdecode(''),'/51530.html','true',[],''],
	['PAGE','68662',jdecode('Olditour+GN+-+Schlitz'),jdecode(''),'/68662.html','true',[],''],
	['PAGE','74162',jdecode('Weihnachtsmarkt'),jdecode(''),'/74162.html','true',[],''],
	['PAGE','69462',jdecode('%22Tante+JU%22'),jdecode(''),'/69462.html','true',[],''],
	['PAGE','86062',jdecode('Kerb+2011'),jdecode(''),'/86062.html','true',[],''],
	['PAGE','77662',jdecode('Kerb+2010'),jdecode(''),'/77662.html','true',[],''],
	['PAGE','70362',jdecode('Kerb+2009'),jdecode(''),'/70362.html','true',[],''],
	['PAGE','58430',jdecode('Kerb+2008'),jdecode(''),'/58430.html','true',[],''],
	['PAGE','50030',jdecode('Kerb+2007'),jdecode(''),'/50030.html','true',[],''],
	['PAGE','78662',jdecode('Borsti+2010'),jdecode(''),'/78662.html','true',[],''],
	['PAGE','70962',jdecode('Borsti+2009'),jdecode(''),'/70962.html','true',[],''],
	['PAGE','41377',jdecode('Borsti+2006'),jdecode(''),'/41377.html','true',[],''],
	['PAGE','87862',jdecode('Traumfjorde+2011'),jdecode(''),'/87862.html','true',[],''],
	['PAGE','72562',jdecode('Namibia+und+S%FCdafrika'),jdecode(''),'/72562.html','true',[],''],
	['PAGE','66130',jdecode('Fr%FChling+auf+Madeira'),jdecode(''),'/66130.html','true',[],''],
	['PAGE','65630',jdecode('Kinderfasching+2009'),jdecode(''),'/65630.html','true',[],''],
	['PAGE','64430',jdecode('Lanzingen+in+der+K%E4lte'),jdecode(''),'/64430.html','true',[],''],
	['PAGE','63930',jdecode('Weihnachtsm%E4rkte'),jdecode(''),'/63930.html','true',[],''],
	['PAGE','55130',jdecode('Glacier-Express'),jdecode(''),'/55130.html','true',[],''],
	['PAGE','56861',jdecode('FFW+in+Hamburg'),jdecode(''),'/56861.html','true',[],''],
	['PAGE','48230',jdecode('Reise+durch+die+USA'),jdecode(''),'/48230.html','true',[],''],
	['PAGE','46230',jdecode('Dresden+im+Fr%FChling'),jdecode(''),'/46230.html','true',[],''],
	['PAGE','44030',jdecode('Reise+durch+die+Emirate'),jdecode(''),'/44030.html','true',[],''],
	['PAGE','43330',jdecode('Gelnhausen'),jdecode(''),'/43330.html','true',[],''],
	['PAGE','21832',jdecode('Lanzingen+%26+Umgebung'),jdecode(''),'/21832.html','true',[],''],
	['PAGE','36833',jdecode('H%F6nnebirds'),jdecode(''),'/36833.html','true',[],''],
	['PAGE','38030',jdecode('Klassentreffen'),jdecode(''),'/38030.html','true',[],''],
	['PAGE','14502',jdecode('G%E4stebuch'),jdecode(''),'/14502/index.html','true',[ 
		['PAGE','14503',jdecode('Eintr%E4ge'),jdecode(''),'/14502/14503.html','true',[],'']
	],''],
	['PAGE','32002',jdecode('Impressum'),jdecode(''),'/32002.html','true',[],'']];
var siteelementCount=70;
theSitetree.topTemplateName='Kreis';
					                                                                    
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 */					                                                            

