/* [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/index.html','true',[ 
		['PAGE','6320',jdecode('Home+%28Folgeseite%29'),jdecode(''),'/4595/6320.html','false',[],'']
	],''],
	['PAGE','4652',jdecode('Ich+%FCber+mich'),jdecode(''),'/4652.html','true',[],''],
	['PAGE','97410',jdecode('Bilder+%D6sterreich'),jdecode(''),'/97410/index.html','true',[ 
		['PAGE','232085',jdecode('Wien'),jdecode(''),'/97410/232085.html','true',[],''],
		['PAGE','232116',jdecode('Salzburg'),jdecode(''),'/97410/232116.html','true',[],''],
		['PAGE','232147',jdecode('Tirol'),jdecode(''),'/97410/232147.html','true',[],'']
	],''],
	['PAGE','4787',jdecode('Bilder+Europa'),jdecode(''),'/4787/index.html','true',[ 
		['PAGE','215748',jdecode('Deutschland'),jdecode(''),'/4787/215748.html','true',[],''],
		['PAGE','206410',jdecode('Donau'),jdecode(''),'/4787/206410.html','true',[],''],
		['PAGE','98292',jdecode('England'),jdecode(''),'/4787/98292.html','true',[],''],
		['PAGE','98323',jdecode('Irland'),jdecode(''),'/4787/98323.html','true',[],''],
		['PAGE','230448',jdecode('Norwegen'),jdecode(''),'/4787/230448.html','true',[],''],
		['PAGE','97540',jdecode('Tschechien'),jdecode(''),'/4787/97540.html','true',[],''],
		['PAGE','97571',jdecode('Slowakei'),jdecode(''),'/4787/97571.html','true',[],''],
		['PAGE','231348',jdecode('Italien'),jdecode(''),'/4787/231348.html','true',[],''],
		['PAGE','97881',jdecode('Malta'),jdecode(''),'/4787/97881.html','true',[],''],
		['PAGE','210848',jdecode('Spanien'),jdecode(''),'/4787/210848.html','true',[],''],
		['PAGE','242457',jdecode('Teneriffa'),jdecode(''),'/4787/242457.html','true',[],''],
		['PAGE','213448',jdecode('T%FCrkei'),jdecode(''),'/4787/213448.html','true',[],''],
		['PAGE','97602',jdecode('Sonstige'),jdecode(''),'/4787/97602.html','true',[],'']
	],''],
	['PAGE','235048',jdecode('Bilder+Russland'),jdecode(''),'/235048/index.html','true',[ 
		['PAGE','235079',jdecode('Moskau'),jdecode(''),'/235048/235079.html','true',[],''],
		['PAGE','237948',jdecode('Sankt+Petersburg'),jdecode(''),'/235048/237948.html','true',[],''],
		['PAGE','237979',jdecode('Puschkin'),jdecode(''),'/235048/237979.html','true',[],''],
		['PAGE','238010',jdecode('Peterhof'),jdecode(''),'/235048/238010.html','true',[],'']
	],''],
	['PAGE','8620',jdecode('Bilder+Amerika'),jdecode(''),'/8620/index.html','true',[ 
		['PAGE','202310',jdecode('Chicago'),jdecode(''),'/8620/202310.html','true',[],''],
		['PAGE','97664',jdecode('Columbus+%2F+OH'),jdecode(''),'/8620/97664.html','true',[],''],
		['PAGE','97695',jdecode('Florida'),jdecode(''),'/8620/97695.html','true',[],''],
		['PAGE','97726',jdecode('N-+%26+S-Carolina'),jdecode(''),'/8620/97726.html','true',[],''],
		['PAGE','97757',jdecode('S%FCdwesten'),jdecode(''),'/8620/97757.html','true',[],''],
		['PAGE','97850',jdecode('Mexiko'),jdecode(''),'/8620/97850.html','true',[],''],
		['PAGE','97912',jdecode('Puerto+Rico'),jdecode(''),'/8620/97912.html','true',[],'']
	],''],
	['PAGE','236648',jdecode('Bilder+S%FCdamerika'),jdecode(''),'/236648/index.html','true',[ 
		['PAGE','236679',jdecode('Sao+Paulo'),jdecode(''),'/236648/236679.html','true',[],'']
	],''],
	['PAGE','8593',jdecode('Bilder+China'),jdecode(''),'/8593/index.html','true',[ 
		['PAGE','223687',jdecode('Beijing'),jdecode(''),'/8593/223687.html','true',[],''],
		['PAGE','227948',jdecode('Shanghai'),jdecode(''),'/8593/227948.html','true',[],''],
		['PAGE','227979',jdecode('Changzhou'),jdecode(''),'/8593/227979.html','true',[],''],
		['PAGE','97633',jdecode('Hangzhou'),jdecode(''),'/8593/97633.html','true',[],''],
		['PAGE','223648',jdecode('Suzhou'),jdecode(''),'/8593/223648.html','true',[],''],
		['PAGE','228010',jdecode('Zhouzhuang'),jdecode(''),'/8593/228010.html','true',[],'']
	],''],
	['PAGE','218348',jdecode('Bilder+Indien'),jdecode(''),'/218348.html','true',[],''],
	['PAGE','215352',jdecode('Bilder+Japan'),jdecode(''),'/215352.html','true',[],''],
	['PAGE','223749',jdecode('Bilder+Malaysien'),jdecode(''),'/223749/index.html','true',[ 
		['PAGE','97509',jdecode('Sabah'),jdecode(''),'/223749/97509.html','true',[],''],
		['PAGE','228041',jdecode('Kuala+Lumpur'),jdecode(''),'/223749/228041.html','true',[],''],
		['PAGE','223718',jdecode('Penang'),jdecode(''),'/223749/223718.html','true',[],'']
	],''],
	['PAGE','212048',jdecode('Bilder+Thailand'),jdecode(''),'/212048.html','true',[],''],
	['PAGE','97478',jdecode('Bilder+Afrika'),jdecode(''),'/97478/index.html','true',[ 
		['PAGE','8647',jdecode('Marokko'),jdecode(''),'/97478/8647.html','true',[],''],
		['PAGE','97819',jdecode('S%FCdafrika'),jdecode(''),'/97478/97819.html','true',[],'']
	],''],
	['PAGE','6001',jdecode('Humorvolles'),jdecode(''),'/6001.html','true',[],''],
	['PAGE','203619',jdecode('Seltsames'),jdecode(''),'/203619.html','true',[],''],
	['PAGE','4868',jdecode('Meine+Links'),jdecode(''),'/4868.html','true',[],''],
	['PAGE','8335',jdecode('G%E4stebuch'),jdecode(''),'/8335/index.html','true',[ 
		['PAGE','8336',jdecode('Eintr%E4ge'),jdecode(''),'/8335/8336.html','true',[],'']
	],'']];
var siteelementCount=58;
theSitetree.topTemplateName='Dots';
					                                                                    
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 */					                                                            
