/* [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','4555',jdecode('Home'),jdecode(''),'/4555.html','true',[],''],
	['PAGE','4774',jdecode('Tourism+Germany'),jdecode(''),'/4774/index.html','true',[ 
		['PAGE','59918',jdecode('2004'),jdecode(''),'/4774/59918.html','true',[],''],
		['PAGE','62150',jdecode('2005'),jdecode(''),'/4774/62150.html','true',[],''],
		['PAGE','66750',jdecode('2006'),jdecode(''),'/4774/66750.html','true',[],''],
		['PAGE','69950',jdecode('2007'),jdecode(''),'/4774/69950.html','true',[],''],
		['PAGE','71081',jdecode('2008'),jdecode(''),'/4774/71081.html','true',[],''],
		['PAGE','72650',jdecode('2009'),jdecode(''),'/4774/72650.html','true',[],''],
		['PAGE','56428',jdecode('Who+is+who+A-E'),jdecode(''),'/4774/56428.html','true',[],''],
		['PAGE','56455',jdecode('Who+is+who+F-K'),jdecode(''),'/4774/56455.html','true',[],''],
		['PAGE','56482',jdecode('Who+is+who+L-Q'),jdecode(''),'/4774/56482.html','true',[],''],
		['PAGE','56509',jdecode('Who+is+who+R-T'),jdecode(''),'/4774/56509.html','true',[],''],
		['PAGE','56536',jdecode('Who+is+who+U-Z'),jdecode(''),'/4774/56536.html','true',[],''],
		['PAGE','17017',jdecode('Who+is+who+%28follow+up+page%29'),jdecode(''),'/4774/17017.html','false',[],''],
		['PAGE','38524',jdecode('Who+is+Who+Photos'),jdecode(''),'/4774/38524.html','true',[],'']
	],''],
	['PAGE','4612',jdecode('Travel+Management'),jdecode(''),'/4612/index.html','true',[ 
		['PAGE','46516',jdecode('Gesch%E4ftsreiseanalyse'),jdecode(''),'/4612/46516.html','true',[],''],
		['PAGE','4639',jdecode('Fachb%FCcher'),jdecode(''),'/4612/4639.html','true',[],''],
		['PAGE','36901',jdecode('Jahrb%FCcher'),jdecode(''),'/4612/36901.html','true',[],''],
		['PAGE','62050',jdecode('Gesamtverzeichnis'),jdecode(''),'/4612/62050.html','true',[],''],
		['PAGE','51516',jdecode('News+Archiv+2003'),jdecode(''),'/4612/51516.html','true',[],''],
		['PAGE','15023',jdecode('Jahrb%FCcher+%28Folgeseite%29'),jdecode(''),'/4612/15023.html','false',[],''],
		['PAGE','60872',jdecode('News+Archiv+2004'),jdecode(''),'/4612/60872.html','true',[],''],
		['PAGE','62200',jdecode('News+Archiv+2005'),jdecode(''),'/4612/62200.html','true',[],''],
		['PAGE','66150',jdecode('News+Archiv+2006'),jdecode(''),'/4612/66150.html','true',[],''],
		['PAGE','69650',jdecode('News+Archiv+2007'),jdecode(''),'/4612/69650.html','true',[],''],
		['PAGE','71050',jdecode('News+Archiv+2008'),jdecode(''),'/4612/71050.html','true',[],''],
		['PAGE','72681',jdecode('News+Archiv+2009'),jdecode(''),'/4612/72681.html','true',[],'']
	],''],
	['PAGE','9220',jdecode('Office+Management'),jdecode(''),'/9220/index.html','true',[ 
		['PAGE','63250',jdecode('Gesamtverzeichnis'),jdecode(''),'/9220/63250.html','true',[],'']
	],''],
	['PAGE','63950',jdecode('Humor'),jdecode(''),'/63950.html','true',[],''],
	['PAGE','69350',jdecode('Presse'),jdecode(''),'/69350.html','true',[],''],
	['PAGE','40901',jdecode('Reisen+buchen'),jdecode(''),'/40901.html','true',[],''],
	['PAGE','41401',jdecode('Shop+%2F+Services'),jdecode(''),'/41401/index.html','true',[ 
		['PAGE','42316',jdecode('Sonderangebote'),jdecode(''),'/41401/42316.html','true',[],'']
	],''],
	['PAGE','16103',jdecode('Links'),jdecode(''),'/16103.html','true',[],''],
	['PAGE','4801',jdecode('About+'),jdecode(''),'/4801/index.html','true',[ 
		['PAGE','15076',jdecode('Humor+%28Folgeseite%29'),jdecode(''),'/4801/15076.html','false',[],'']
	],'']];
var siteelementCount=38;
theSitetree.topTemplateName='Squares';
					                                                                    
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 */					                                                            
