/* [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','59958',jdecode('Veranstaltung+2007'),jdecode(''),'/59958.html','true',[],''],
	['PAGE','4481',jdecode('Veranstaltung+2006'),jdecode(''),'/4481/index.html','true',[ 
		['PAGE','57893',jdecode('Programm+2006+im+%DCberblick'),jdecode(''),'/4481/57893.html','true',[],''],
		['PAGE','58358',jdecode('Programm+2006+in+Druckversion+%28pdf%29'),jdecode(''),'/4481/58358.html','true',[],''],
		['PAGE','56793',jdecode('Tagung+2006'),jdecode(''),'/4481/56793.html','true',[],''],
		['PAGE','56130',jdecode('Meetings+2006'),jdecode(''),'/4481/56130.html','true',[],''],
		['PAGE','58058',jdecode('DVMD+Symposium'),jdecode(''),'/4481/58058.html','true',[],''],
		['PAGE','57200',jdecode('Informationen+A+-+Z'),jdecode(''),'/4481/57200.html','true',[],''],
		['PAGE','56168',jdecode('Plan+Congress+Center+'),jdecode(''),'/4481/56168.html','true',[],''],
		['PAGE','58658',jdecode('Pressemitteilung'),jdecode(''),'/4481/58658.html','true',[],''],
		['PAGE','54824',jdecode('Presseinformation'),jdecode(''),'/4481/54824.html','true',[],''],
		['PAGE','55693',jdecode('Anmeldung'),jdecode(''),'/4481/55693.html','true',[],''],
		['PAGE','55893',jdecode('Hotelreservierung'),jdecode(''),'/4481/55893.html','true',[],''],
		['PAGE','59558',jdecode('NewComer+Tag'),jdecode(''),'/4481/59558.html','true',[],'']
	],''],
	['PAGE','54116',jdecode('INFORMATION'),jdecode(''),'/54116/index.html','true',[ 
		['PAGE','40475',jdecode('Anreise'),jdecode(''),'/54116/40475.html','true',[],''],
		['PAGE','39436',jdecode('Stadt+Frankfurt'),jdecode(''),'/54116/39436.html','true',[],''],
		['PAGE','34475',jdecode('Wetter'),jdecode(''),'/54116/34475.html','true',[],'']
	],''],
	['PAGE','5011',jdecode('KONTAKT'),jdecode(''),'/5011/index.html','true',[ 
		['PAGE','39467',jdecode('Feedback-Formular'),jdecode(''),'/5011/39467/index.html','true',[ 
			['PAGE','40510',jdecode('Feedback-Formular+%28Folgeseite%29'),jdecode(''),'/5011/39467/40510.html','false',[],'']
		],'']
	],''],
	['PAGE','51874',jdecode('Veranstaltung+2005'),jdecode(''),'/51874/index.html','true',[ 
		['PAGE','34579',jdecode('English+Event'),jdecode(''),'/51874/34579.html','true',[],''],
		['PAGE','44972',jdecode('Programm+2005'),jdecode(''),'/51874/44972.html','true',[],''],
		['PAGE','4903',jdecode('Tagung+2005'),jdecode(''),'/51874/4903.html','true',[],''],
		['PAGE','4957',jdecode('Workshops+2005'),jdecode(''),'/51874/4957.html','true',[],''],
		['PAGE','24363',jdecode('Ausstellung+2005'),jdecode(''),'/51874/24363.html','true',[],''],
		['PAGE','26313',jdecode('Meetings+2005'),jdecode(''),'/51874/26313.html','true',[],''],
		['PAGE','26282',jdecode('NewComer-Tag+2005'),jdecode(''),'/51874/26282.html','true',[],''],
		['PAGE','4984',jdecode('Informationen+2005'),jdecode(''),'/51874/4984.html','true',[],''],
		['PAGE','51474',jdecode('Presse+2005'),jdecode(''),'/51874/51474.html','true',[],''],
		['PAGE','47050',jdecode('Sponsoren+2005'),jdecode(''),'/51874/47050.html','true',[],''],
		['PAGE','39405',jdecode('Hotelbuchung'),jdecode(''),'/51874/39405.html','true',[],''],
		['PAGE','4930',jdecode('Anmeldung'),jdecode(''),'/51874/4930.html','true',[],''],
		['PAGE','41642',jdecode('Plan+Abs+Saal'),jdecode(''),'/51874/41642.html','true',[],'']
	],'']];
var siteelementCount=35;
theSitetree.topTemplateName='Startup';
					                                                                    
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 */					                                                            

