/* [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','4595',jdecode('Home'),jdecode(''),'/4595.html','true',[],''],
	['PAGE','84901',jdecode('Die+Dosen%F6ffner'),jdecode(''),'/84901/index.html','true',[ 
		['PAGE','88101',jdecode('Die+Dosine'),jdecode(''),'/84901/88101.html','true',[],'']
	],''],
	['PAGE','4679',jdecode('Die+Rasselbande'),jdecode(''),'/4679/index.html','true',[ 
		['PAGE','76901',jdecode('Jim'),jdecode(''),'/4679/76901.html','true',[],''],
		['PAGE','76963',jdecode('Lilly'),jdecode(''),'/4679/76963.html','true',[],''],
		['PAGE','76994',jdecode('Sammy'),jdecode(''),'/4679/76994.html','true',[],''],
		['PAGE','77056',jdecode('Simba'),jdecode(''),'/4679/77056.html','true',[],''],
		['PAGE','103148',jdecode('Xansiro'),jdecode(''),'/4679/103148.html','true',[],''],
		['PAGE','109508',jdecode('Vivinio'),jdecode(''),'/4679/109508.html','true',[],''],
		['PAGE','109539',jdecode('Vaico'),jdecode(''),'/4679/109539.html','true',[],''],
		['PAGE','113909',jdecode('Nala%2C+Elli+und+Sid'),jdecode(''),'/4679/113909.html','true',[],'']
	],''],
	['PAGE','91439',jdecode('Was+hier+so+alles+passiert'),jdecode(''),'/91439/index.html','true',[ 
		['PAGE','92104',jdecode('Jim%B4s+Kuschelsofa'),jdecode(''),'/91439/92104.html','true',[],''],
		['PAGE','91710',jdecode('Lilly%B4s+Zickenzimmer'),jdecode(''),'/91439/91710.html','true',[],''],
		['PAGE','91470',jdecode('Sammy%B4s+Plauderecke'),jdecode(''),'/91439/91470.html','true',[],''],
		['PAGE','91501',jdecode('Simba%B4s+Brummelstube'),jdecode(''),'/91439/91501.html','true',[],''],
		['PAGE','105709',jdecode('Xansiro%B4s+Unfug-Ecke'),jdecode(''),'/91439/105709.html','true',[],''],
		['PAGE','109570',jdecode('Vino+und+Vaico%B4s+Kinderzimmer'),jdecode(''),'/91439/109570.html','true',[],''],
		['PAGE','113940',jdecode('Mami+und+die+Kinder'),jdecode(''),'/91439/113940.html','true',[],''],
		['PAGE','105296',jdecode('Gemeinsame+Aktivit%E4ten'),jdecode(''),'/91439/105296.html','true',[],'']
	],''],
	['PAGE','4814',jdecode('Regenbogenbr%FCcke'),jdecode(''),'/4814/index.html','true',[ 
		['PAGE','77087',jdecode('Gismo'),jdecode(''),'/4814/77087.html','true',[],''],
		['PAGE','77118',jdecode('Ginger'),jdecode(''),'/4814/77118.html','true',[],''],
		['PAGE','77149',jdecode('Tiffany'),jdecode(''),'/4814/77149.html','true',[],''],
		['PAGE','77180',jdecode('Kasimir'),jdecode(''),'/4814/77180.html','true',[],''],
		['PAGE','84801',jdecode('Mein+Mini-Mann'),jdecode(''),'/4814/84801.html','true',[],''],
		['PAGE','77025',jdecode('Henry'),jdecode(''),'/4814/77025.html','true',[],''],
		['PAGE','76932',jdecode('Johnny'),jdecode(''),'/4814/76932.html','true',[],''],
		['PAGE','76840',jdecode('Baby'),jdecode(''),'/4814/76840.html','true',[],''],
		['PAGE','89001',jdecode('Sternenkatzen+'),jdecode(''),'/4814/89001.html','true',[],'']
	],''],
	['PAGE','113971',jdecode('Tageb%FCcher+der+RBB-Katzen'),jdecode(''),'/113971/index.html','true',[ 
		['PAGE','91538',jdecode('Baby%B4s+Seniorentreff'),jdecode(''),'/113971/91538.html','true',[],''],
		['PAGE','91408',jdecode('Johnny%B4s+Tagebuch'),jdecode(''),'/113971/91408.html','true',[],'']
	],''],
	['PAGE','77706',jdecode('Fotos%21+Fotos%21+Fotos%21'),jdecode(''),'/77706/index.html','true',[ 
		['PAGE','85702',jdecode('Die+Rassebande'),jdecode(''),'/77706/85702.html','true',[],''],
		['PAGE','78111',jdecode('Meine+Regenbogenkinder'),jdecode(''),'/77706/78111.html','true',[],''],
		['PAGE','78146',jdecode('Ehemalige+und+Jungtiere'),jdecode(''),'/77706/78146.html','true',[],''],
		['PAGE','78181',jdecode('Gastkatzen'),jdecode(''),'/77706/78181.html','true',[],'']
	],''],
	['PAGE','109996',jdecode('Links'),jdecode(''),'/109996.html','true',[],''],
	['PAGE','70802',jdecode('G%E4stebuch'),jdecode(''),'/70802/index.html','true',[ 
		['PAGE','70803',jdecode('Eintr%E4ge'),jdecode(''),'/70802/70803.html','true',[],'']
	],''],
	['PAGE','106009',jdecode('Private+Affairs'),jdecode(''),'/106009/index.html','true',[ 
		['PAGE','106209',jdecode('Baustelle'),jdecode(''),'/106009/106209.html','true',[],''],
		['PAGE','106240',jdecode('Sonstiges'),jdecode(''),'/106009/106240.html','true',[],''],
		['PAGE','102205',jdecode('Geheimes+Testalbum'),jdecode(''),'/106009/102205.html','true',[],''],
		['PAGE','112309',jdecode('Sonstige+Bilder'),jdecode(''),'/106009/112309.html','true',[],''],
		['PAGE','114209',jdecode('Notfelle+2009'),jdecode(''),'/106009/114209.html','true',[],'']
	],'']];
var siteelementCount=48;
theSitetree.topTemplateName='Collage';
					                                                                    
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 */					                                                            

