/* [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','4584',jdecode('Galerie+Augenweide'),jdecode(''),'/4584/index.html','true',[ 
		['PAGE','4641',jdecode('%DCber+uns'),jdecode(''),'/4584/4641.html','true',[],'']
	],''],
	['PAGE','142604',jdecode('K%FCnstler%2Finnen+der+Galerie'),jdecode(''),'/142604/index.html','true',[ 
		['PAGE','156826',jdecode('Frank+Grabowski'),jdecode(''),'/142604/156826.html','true',[],''],
		['PAGE','156795',jdecode('Gabriele+Ritter'),jdecode(''),'/142604/156795.html','true',[],''],
		['PAGE','143126',jdecode('Carl-Heinz+Lieck'),jdecode(''),'/142604/143126.html','true',[],''],
		['PAGE','143095',jdecode('Maria+K%FChnel'),jdecode(''),'/142604/143095.html','true',[],''],
		['PAGE','141947',jdecode('Seeburg+Ausstellung'),jdecode(''),'/142604/141947.html','true',[],''],
		['PAGE','141246',jdecode('Ingrid+Miller'),jdecode(''),'/142604/141246.html','true',[],''],
		['PAGE','140395',jdecode('Juri+Zurkan'),jdecode(''),'/142604/140395.html','true',[],''],
		['PAGE','135595',jdecode('Artvent'),jdecode(''),'/142604/135595.html','true',[],''],
		['PAGE','50356',jdecode('Frank+Grabowski'),jdecode(''),'/142604/50356.html','true',[],''],
		['PAGE','134895',jdecode('Alessandro+Serafini'),jdecode(''),'/142604/134895.html','true',[],''],
		['PAGE','85395',jdecode('Claudia+Artop%E9'),jdecode(''),'/142604/85395.html','true',[],''],
		['PAGE','83395',jdecode('Sammlerst%FCcke'),jdecode(''),'/142604/83395.html','true',[],''],
		['PAGE','84228',jdecode('Christian+Burkhardt'),jdecode(''),'/142604/84228.html','true',[],''],
		['PAGE','83795',jdecode('Uta+Lettenmeyer'),jdecode(''),'/142604/83795.html','true',[],''],
		['PAGE','82196',jdecode('Armin+Mueller-Stahl'),jdecode(''),'/142604/82196.html','true',[],''],
		['PAGE','81611',jdecode('Carolin+Keller'),jdecode(''),'/142604/81611.html','true',[],''],
		['PAGE','71848',jdecode('Wulf+Reinshagen'),jdecode(''),'/142604/71848.html','true',[],''],
		['PAGE','70207',jdecode('Monika+Dacic'),jdecode(''),'/142604/70207.html','true',[],'']
	],''],
	['PAGE','141395',jdecode('Bild+des+Monats'),jdecode(''),'/141395.html','true',[],''],
	['PAGE','69332',jdecode('Malkurse+im++Atelier'),jdecode(''),'/69332/index.html','true',[ 
		['PAGE','14827',jdecode('Kontakt%2FImpressum+%28Folgeseite%29'),jdecode(''),'/69332/14827.html','false',[],''],
		['PAGE','85195',jdecode('T%F6pferkurse'),jdecode(''),'/69332/85195.html','true',[],''],
		['PAGE','69301',jdecode('Kinderkurse'),jdecode(''),'/69332/69301.html','true',[],''],
		['PAGE','69260',jdecode('Malen+in+Emilia+Romagna'),jdecode(''),'/69332/69260.html','true',[],''],
		['PAGE','4830',jdecode('Kontakt+%2F+Buchung'),jdecode(''),'/69332/4830.html','true',[],'']
	],''],
	['PAGE','81360',jdecode('Veranstaltungen'),jdecode(''),'/81360/index.html','true',[ 
		['PAGE','85870',jdecode('Weihnachtsmarkt+2008'),jdecode(''),'/81360/85870.html','true',[],''],
		['PAGE','69137',jdecode('Altstadtnacht+2005'),jdecode(''),'/81360/69137.html','true',[],''],
		['PAGE','70605',jdecode('Weihnachtsmarkt+2005'),jdecode(''),'/81360/70605.html','true',[],'']
	],''],
	['PAGE','71201',jdecode('Wandgestaltung'),jdecode(''),'/71201.html','true',[],''],
	['PAGE','84095',jdecode('Kunstverein+Mindelheim+e.V.'),jdecode(''),'/84095.html','true',[],''],
	['PAGE','70302',jdecode('Kulturnews'),jdecode(''),'/70302.html','true',[],''],
	['PAGE','140896',jdecode('Anfahrt'),jdecode(''),'/140896.html','true',[],''],
	['PAGE','69776',jdecode('Impressum'),jdecode(''),'/69776.html','true',[],''],
	['PAGE','142496',jdecode('Frank+Grabowski'),jdecode(''),'/142496.html','true',[],'']];
var siteelementCount=38;
theSitetree.topTemplateName='Stylus';
					                                                                    
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 */					                                                            

