/* [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','4518',jdecode('Home'),jdecode(''),'/4518/index.html','true',[ 
		['PAGE','57617',jdecode('Initative-Satzung'),jdecode(''),'/4518/57617.html','true',[],'']
	],''],
	['PAGE','177958',jdecode('Cats-Infos+2010'),jdecode(''),'/177958/index.html','true',[ 
		['PAGE','167349',jdecode('Catsinfos+2009'),jdecode(''),'/177958/167349.html','true',[],'']
	],''],
	['PAGE','4575',jdecode('Die+Cats'),jdecode(''),'/4575/index.html','true',[ 
		['PAGE','178050',jdecode('Die+Cats+in+Bildern'),jdecode(''),'/4575/178050.html','true',[],''],
		['PAGE','139349',jdecode('Regenbogenbr%FCcke'),jdecode(''),'/4575/139349.html','true',[],'']
	],''],
	['PAGE','25094',jdecode('Kontakt+zu+uns'),jdecode(''),'/25094/index.html','true',[ 
		['PAGE','26995',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/25094/26995.html','false',[],'']
	],''],
	['PAGE','144549',jdecode('Vermittlung'),jdecode(''),'/144549/index.html','true',[ 
		['PAGE','104445',jdecode('Notf%E4lle+Katzen'),jdecode(''),'/144549/104445.html','true',[],''],
		['PAGE','5301',jdecode('Notf%E4lle+Hunde'),jdecode(''),'/144549/5301.html','true',[],'']
	],''],
	['PAGE','41094',jdecode('Liebe+gefunden'),jdecode(''),'/41094.html','true',[],''],
	['PAGE','157549',jdecode('Impressionen+aus+Aegina'),jdecode(''),'/157549.html','true',[],''],
	['PAGE','141549',jdecode('Charity-Shop'),jdecode(''),'/141549.html','true',[],''],
	['PAGE','188949',jdecode('Aktuelle+Spendenaufrufe'),jdecode(''),'/188949.html','true',[],''],
	['PAGE','144580',jdecode('Helfen+Sie+mit'),jdecode(''),'/144580/index.html','true',[ 
		['PAGE','71814',jdecode('Paten+gesucht'),jdecode(''),'/144580/71814.html','true',[],''],
		['PAGE','37894',jdecode('Freunde'),jdecode(''),'/144580/37894.html','true',[],''],
		['PAGE','31594',jdecode('Spenden'),jdecode(''),'/144580/31594.html','true',[],''],
		['PAGE','129715',jdecode('Futterk%F6rbchen+%28Folgeseite%29'),jdecode(''),'/144580/129715.html','false',[],''],
		['PAGE','129341',jdecode('Futterk%F6rbchen'),jdecode(''),'/144580/129341.html','true',[],'']
	],''],
	['PAGE','172749',jdecode('Partnerprojekt+Nero+Corleone+Charity'),jdecode(''),'/172749.html','true',[],''],
	['PAGE','4683',jdecode('Links+%26+Partner'),jdecode(''),'/4683.html','true',[],''],
	['PAGE','144611',jdecode('Tierschutz'),jdecode(''),'/144611/index.html','true',[ 
		['PAGE','6654',jdecode('Tierschutz+GR'),jdecode(''),'/144611/6654.html','true',[],''],
		['PAGE','180999',jdecode('Katzenschutz+in+Sofia'),jdecode(''),'/144611/180999.html','true',[],''],
		['PAGE','24194',jdecode('Tierschutz+World'),jdecode(''),'/144611/24194.html','true',[],'']
	],''],
	['PAGE','41495',jdecode('Forum'),jdecode(''),'/41495.html','true',[],''],
	['PAGE','4780',jdecode('G%E4stebuch'),jdecode(''),'/4780/index.html','true',[ 
		['PAGE','4781',jdecode('Eintr%E4ge'),jdecode(''),'/4780/4781.html','true',[],'']
	],''],
	['PAGE','144642',jdecode('Katzen'),jdecode(''),'/144642/index.html','true',[ 
		['PAGE','23894',jdecode('Katzen-News'),jdecode(''),'/144642/23894.html','true',[],''],
		['PAGE','37594',jdecode('Haltung+%2F+Pflege'),jdecode(''),'/144642/37594.html','true',[],''],
		['PAGE','28994',jdecode('Ern%E4hrung+'),jdecode(''),'/144642/28994.html','true',[],'']
	],''],
	['PAGE','99314',jdecode('Katzen+mit+Handicap'),jdecode(''),'/99314.html','true',[],''],
	['PAGE','148149',jdecode('Presse'),jdecode(''),'/148149.html','true',[],''],
	['PAGE','61914',jdecode('Awards'),jdecode(''),'/61914.html','true',[],''],
	['PAGE','28294',jdecode('Impressum'),jdecode(''),'/28294.html','true',[],'']];
var siteelementCount=39;
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 */					                                                            
