/* [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','1152',jdecode('HOME'),jdecode(''),'/1152.html','true',[],''],
	['PAGE','1205',jdecode('%DCber+uns'),jdecode(''),'/1205/index.html','true',[ 
		['PAGE','49837',jdecode('Unsere+Trainer'),jdecode(''),'/1205/49837.html','true',[],''],
		['PAGE','1251',jdecode('Unsere+Philosophie'),jdecode(''),'/1205/1251.html','true',[],''],
		['PAGE','125333',jdecode('Checkliste+Hundetrainer'),jdecode(''),'/1205/125333.html','true',[],''],
		['PAGE','141569',jdecode('UNSER+GEL%C4NDE'),jdecode(''),'/1205/141569.html','true',[],''],
		['PAGE','148369',jdecode('PRESSE'),jdecode(''),'/1205/148369.html','true',[],'']
	],''],
	['PAGE','186812',jdecode('Kundenstimmen'),jdecode(''),'/186812.html','true',[],''],
	['PAGE','126133',jdecode('Aktuelles'),jdecode(''),'/126133.html','true',[],''],
	['PAGE','184469',jdecode('Kalender'),jdecode(''),'/184469.html','true',[],''],
	['PAGE','196772',jdecode('KAUFBERATUNG'),jdecode(''),'/196772.html','true',[],''],
	['PAGE','161669',jdecode('WELPEN'),jdecode(''),'/161669/index.html','true',[ 
		['PAGE','1228',jdecode('Welpenschule'),jdecode(''),'/161669/1228.html','true',[],''],
		['PAGE','197393',jdecode('NEU%3A+Welpenspiel'),jdecode(''),'/161669/197393.html','true',[],''],
		['PAGE','158072',jdecode('Einzelunterricht'),jdecode(''),'/161669/158072.html','true',[],''],
		['PAGE','163927',jdecode('Welpen+Clickern'),jdecode(''),'/161669/163927.html','true',[],''],
		['PAGE','162112',jdecode('Welpen+Pakete'),jdecode(''),'/161669/162112.html','true',[],'']
	],''],
	['PAGE','143069',jdecode('Junghunde'),jdecode(''),'/143069/index.html','true',[ 
		['PAGE','167169',jdecode('Welpen+Activity'),jdecode(''),'/143069/167169.html','true',[],'']
	],''],
	['PAGE','157801',jdecode('Erwachsene+Hunde'),jdecode(''),'/157801/index.html','true',[ 
		['PAGE','145899',jdecode('SOCIAL+WALKS'),jdecode(''),'/157801/145899.html','true',[],'']
	],''],
	['PAGE','1274',jdecode('Problemhund'),jdecode(''),'/1274.html','true',[],''],
	['PAGE','186575',jdecode('Aggressiver+Hund'),jdecode(''),'/186575.html','true',[],''],
	['PAGE','47122',jdecode('Kleinhund-Schule'),jdecode(''),'/47122.html','true',[],''],
	['PAGE','2392',jdecode('Hundef%FChrerschein'),jdecode(''),'/2392/index.html','true',[ 
		['PAGE','198794',jdecode('Pr%FCfung+Juli+2010'),jdecode(''),'/2392/198794.html','true',[],'']
	],''],
	['PAGE','162081',jdecode('Themenabende'),jdecode(''),'/162081.html','true',[],''],
	['PAGE','1343',jdecode('Seminare'),jdecode(''),'/1343.html','true',[],''],
	['PAGE','193381',jdecode('Spielstunden'),jdecode(''),'/193381.html','true',[],''],
	['PAGE','184703',jdecode('Lernspaziergang'),jdecode(''),'/184703.html','true',[],''],
	['PAGE','189511',jdecode('SPEZIALKURSE'),jdecode(''),'/189511/index.html','true',[ 
		['PAGE','167869',jdecode('Mehrhundehaltung'),jdecode(''),'/189511/167869.html','true',[],''],
		['PAGE','160646',jdecode('Longiertraining'),jdecode(''),'/189511/160646.html','true',[],''],
		['PAGE','103082',jdecode('Strassenhunde'),jdecode(''),'/189511/103082.html','true',[],''],
		['PAGE','153282',jdecode('Hunde+mit+Handicap'),jdecode(''),'/189511/153282.html','true',[],''],
		['PAGE','165769',jdecode('Tiergest%FCtzte+Therapie'),jdecode(''),'/189511/165769.html','true',[],''],
		['PAGE','144531',jdecode('Spezialkurse'),jdecode(''),'/189511/144531.html','true',[],''],
		['PAGE','105134',jdecode('Aktuelles%2F+Termine+%28Folgeseite%29'),jdecode(''),'/189511/105134.html','false',[],''],
		['PAGE','185676',jdecode('Clicker+Schule'),jdecode(''),'/189511/185676.html','true',[],''],
		['PAGE','190227',jdecode('NEU%3A+B%FCrohunde'),jdecode(''),'/189511/190227.html','true',[],''],
		['PAGE','191281',jdecode('Dogsitter-Ausbildung'),jdecode(''),'/189511/191281.html','true',[],'']
	],''],
	['PAGE','130664',jdecode('Besch%E4ftigung'),jdecode(''),'/130664/index.html','true',[ 
		['PAGE','150708',jdecode('MOBILITY'),jdecode(''),'/130664/150708.html','true',[],''],
		['PAGE','164120',jdecode('Dogdance'),jdecode(''),'/130664/164120.html','true',[],''],
		['PAGE','108795',jdecode('Schn%FCffelarbeit'),jdecode(''),'/130664/108795.html','true',[],''],
		['PAGE','109581',jdecode('Hundefrisbee'),jdecode(''),'/130664/109581.html','true',[],''],
		['PAGE','108764',jdecode('FUN+Agility'),jdecode(''),'/130664/108764.html','true',[],''],
		['PAGE','169044',jdecode('Treibball'),jdecode(''),'/130664/169044.html','true',[],''],
		['PAGE','190931',jdecode('Dummy+Training'),jdecode(''),'/130664/190931.html','true',[],'']
	],''],
	['PAGE','197281',jdecode('NEU+%3AFIT+mit+HUND'),jdecode(''),'/197281.html','true',[],''],
	['PAGE','189739',jdecode('FAMILY+CLUB'),jdecode(''),'/189739/index.html','true',[ 
		['PAGE','200475',jdecode('Club-Trainer'),jdecode(''),'/189739/200475.html','true',[],'']
	],''],
	['PAGE','188640',jdecode('Trainerausbildung'),jdecode(''),'/188640.html','true',[],''],
	['PAGE','3499',jdecode('KIND+und+HUND'),jdecode(''),'/3499/index.html','true',[ 
		['PAGE','188099',jdecode('Hunde+Einmaleins'),jdecode(''),'/3499/188099.html','true',[],''],
		['PAGE','119033',jdecode('+Schule%2FKindergarten'),jdecode(''),'/3499/119033.html','true',[],'']
	],''],
	['PAGE','6463',jdecode('Aktivurlaub+2010'),jdecode(''),'/6463.html','true',[],''],
	['PAGE','131669',jdecode('Preise%2FLeistungen'),jdecode(''),'/131669.html','true',[],''],
	['PAGE','138069',jdecode('Tierschutz'),jdecode(''),'/138069/index.html','true',[ 
		['PAGE','137981',jdecode('MIKE'),jdecode(''),'/138069/137981.html','true',[],''],
		['PAGE','147069',jdecode('SpendenMIke'),jdecode(''),'/138069/147069.html','true',[],''],
		['PAGE','150003',jdecode('G%E4stebuch'),jdecode(''),'/138069/150003.html','true',[],''],
		['PAGE','150004',jdecode('Eintr%E4ge'),jdecode(''),'/138069/150004.html','true',[],''],
		['PAGE','199881',jdecode('Liberty+for+dogs'),jdecode(''),'/138069/199881.html','true',[],'']
	],''],
	['PAGE','2053',jdecode('Kontakt'),jdecode(''),'/2053/index.html','true',[ 
		['PAGE','2086',jdecode('Kontakt'),jdecode(''),'/2053/2086.html','false',[],'']
	],''],
	['PAGE','20744',jdecode('Wegbeschreibung'),jdecode(''),'/20744.html','true',[],''],
	['PAGE','122333',jdecode('Impressum'),jdecode(''),'/122333.html','true',[],''],
	['PAGE','141869',jdecode('LINKS'),jdecode(''),'/141869.html','true',[],''],
	['PAGE','192537',jdecode('Forum'),jdecode(''),'/192537.html','true',[],''],
	['PAGE','199381',jdecode('JOBS'),jdecode(''),'/199381.html','true',[],'']];
var siteelementCount=71;
theSitetree.topTemplateName='Enjoy';
					                                                                    
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 */					                                                            
