/* [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','4466',jdecode('Home'),jdecode(''),'/4466.html','true',[],''],
	['PAGE','9484',jdecode('Wir+%FCber+uns'),jdecode(''),'/9484/index.html','true',[ 
		['PAGE','12226',jdecode('Unsere+Leistungen'),jdecode(''),'/9484/12226.html','true',[],''],
		['PAGE','12801',jdecode('Profil+Ravenna'),jdecode(''),'/9484/12801.html','true',[],''],
		['PAGE','13913',jdecode('Profil+Michely'),jdecode(''),'/9484/13913.html','true',[],'']
	],''],
	['PAGE','12956',jdecode('AKZENTUS+H%E4user'),jdecode(''),'/12956/index.html','true',[ 
		['PAGE','14506',jdecode('Haus+Sonnenschein'),jdecode(''),'/12956/14506.html','true',[],''],
		['PAGE','14475',jdecode('Haus+Sch%F6ffengrund'),jdecode(''),'/12956/14475.html','true',[],''],
		['PAGE','13018',jdecode('Haus+Violette'),jdecode(''),'/12956/13018.html','true',[],''],
		['PAGE','14413',jdecode('Haus+K%F6ln'),jdecode(''),'/12956/14413.html','true',[],''],
		['PAGE','14444',jdecode('Haus+Mainz'),jdecode(''),'/12956/14444.html','true',[],''],
		['PAGE','14382',jdecode('Haus+Edelweiss'),jdecode(''),'/12956/14382.html','true',[],''],
		['PAGE','14351',jdecode('Haus+Diana'),jdecode(''),'/12956/14351.html','true',[],''],
		['PAGE','14568',jdecode('Haus+Typ+116'),jdecode(''),'/12956/14568.html','true',[],''],
		['PAGE','14599',jdecode('Haus+Typ+203'),jdecode(''),'/12956/14599.html','true',[],''],
		['PAGE','14630',jdecode('Haus+Typ+300'),jdecode(''),'/12956/14630.html','true',[],''],
		['PAGE','18239',jdecode('Haus+Danica'),jdecode(''),'/12956/18239.html','true',[],''],
		['PAGE','18301',jdecode('Haus+Daniel'),jdecode(''),'/12956/18301.html','true',[],''],
		['PAGE','18332',jdecode('Haus+Dominik'),jdecode(''),'/12956/18332.html','true',[],''],
		['PAGE','18394',jdecode('Haus+Adam'),jdecode(''),'/12956/18394.html','true',[],''],
		['PAGE','18549',jdecode('Haus+Sabina'),jdecode(''),'/12956/18549.html','true',[],''],
		['PAGE','18642',jdecode('Haus+Dubravka'),jdecode(''),'/12956/18642.html','true',[],''],
		['PAGE','14723',jdecode('Hausaufbau+allgemein'),jdecode(''),'/12956/14723.html','true',[],''],
		['PAGE','16401',jdecode('Individuelle+Planung'),jdecode(''),'/12956/16401.html','true',[],''],
		['PAGE','14661',jdecode('Baubeschreibung+I'),jdecode(''),'/12956/14661.html','true',[],''],
		['PAGE','14692',jdecode('Baubeschreibung+II'),jdecode(''),'/12956/14692.html','true',[],''],
		['PAGE','13080',jdecode('Garantien+f%FCr+Sie'),jdecode(''),'/12956/13080.html','true',[],''],
		['PAGE','12987',jdecode('Pluspunkte'),jdecode(''),'/12956/12987.html','true',[],''],
		['PAGE','13111',jdecode('Checklisten'),jdecode(''),'/12956/13111.html','true',[],'']
	],''],
	['PAGE','12133',jdecode('Finanzierungen'),jdecode(''),'/12133/index.html','true',[ 
		['PAGE','13173',jdecode('Baufinanzierungen'),jdecode(''),'/12133/13173.html','true',[],''],
		['PAGE','13266',jdecode('Annuit%E4ten-Darlehen'),jdecode(''),'/12133/13266.html','true',[],''],
		['PAGE','13204',jdecode('Konstant-Darlehen'),jdecode(''),'/12133/13204.html','true',[],''],
		['PAGE','13297',jdecode('Kombi-Darlehen'),jdecode(''),'/12133/13297.html','true',[],''],
		['PAGE','13235',jdecode('Konstant-Kombi-Darlehen'),jdecode(''),'/12133/13235.html','true',[],''],
		['PAGE','13359',jdecode('Fest-Darlehen'),jdecode(''),'/12133/13359.html','true',[],''],
		['PAGE','17701',jdecode('Flex-Darlehen'),jdecode(''),'/12133/17701.html','true',[],''],
		['PAGE','17732',jdecode('FlexPlus-Darlehen'),jdecode(''),'/12133/17732.html','true',[],''],
		['PAGE','17763',jdecode('Volltilger-Darlehen'),jdecode(''),'/12133/17763.html','true',[],''],
		['PAGE','17794',jdecode('Forward-Darlehen'),jdecode(''),'/12133/17794.html','true',[],''],
		['PAGE','17825',jdecode('KfW-Darlehen'),jdecode(''),'/12133/17825.html','true',[],''],
		['PAGE','17856',jdecode('Darlehensabsicherung'),jdecode(''),'/12133/17856.html','true',[],''],
		['PAGE','17887',jdecode('Sondertilgung'),jdecode(''),'/12133/17887.html','true',[],''],
		['PAGE','17918',jdecode('Tilgungsinstrumente'),jdecode(''),'/12133/17918.html','true',[],''],
		['PAGE','17980',jdecode('Versicherungen'),jdecode(''),'/12133/17980.html','true',[],''],
		['PAGE','18011',jdecode('Berufsunf%E4higkeit'),jdecode(''),'/12133/18011.html','true',[],''],
		['PAGE','18042',jdecode('Risiko-LV'),jdecode(''),'/12133/18042.html','true',[],''],
		['PAGE','18073',jdecode('Wohngeb%E4ude'),jdecode(''),'/12133/18073.html','true',[],'']
	],''],
	['PAGE','9515',jdecode('Kontakt'),jdecode(''),'/9515/index.html','true',[ 
		['PAGE','9808',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/9515/9808.html','false',[],''],
		['PAGE','13502',jdecode('Anfahrtsskizze'),jdecode(''),'/9515/13502.html','true',[],''],
		['PAGE','13833',jdecode('Ihr+Weg+zu+uns'),jdecode(''),'/9515/13833.html','true',[],'']
	],''],
	['PAGE','9546',jdecode('Impressum'),jdecode(''),'/9546.html','true',[],'']];
var siteelementCount=53;
theSitetree.topTemplateName='Seifenblase';
					                                                                    
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 */					                                                            
