/* [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','4481',jdecode('Home'),jdecode(''),'/4481.html','true',[],''],
	['PAGE','39216',jdecode('Rettungswagen+Koffer'),jdecode(''),'/39216/index.html','true',[ 
		['PAGE','132845',jdecode('MB+Sprinter+313+CDI+%28F120%29'),jdecode(''),'/39216/132845.html','true',[],''],
		['PAGE','127645',jdecode('MB+Sprinter+316+CDI+%28F113%29'),jdecode(''),'/39216/127645.html','true',[],''],
		['PAGE','124645',jdecode('MB+Sprinter+316+CDI+%28F111%29'),jdecode(''),'/39216/124645.html','true',[],''],
		['PAGE','121545',jdecode('MB+Sprinter+313+CDI+%28F109%29'),jdecode(''),'/39216/121545.html','true',[],''],
		['PAGE','100845',jdecode('MB+Sprinter+313+CDI+%28F096%29'),jdecode(''),'/39216/100845.html','true',[],''],
		['PAGE','99145',jdecode('MB+Sprinter+316+CDI+%28F094%29'),jdecode(''),'/39216/99145.html','true',[],'']
	],''],
	['PAGE','9254',jdecode('Rettungswagen+Kasten'),jdecode(''),'/9254/index.html','true',[ 
		['PAGE','132345',jdecode('MB+Sprinter+313+CDI+%28F119%29'),jdecode(''),'/9254/132345.html','true',[],''],
		['PAGE','137445',jdecode('MB+Sprinter+313+CDI+%28F118%29'),jdecode(''),'/9254/137445.html','true',[],''],
		['PAGE','119076',jdecode('MB+Sprinter+313+CDI+%28F108%29'),jdecode(''),'/9254/119076.html','true',[],''],
		['PAGE','119045',jdecode('MB+Sprinter+313+CDI+%28F107%29'),jdecode(''),'/9254/119045.html','true',[],''],
		['PAGE','117245',jdecode('MB+Sprinter+313+CDI+%28F106%29'),jdecode(''),'/9254/117245.html','true',[],''],
		['PAGE','111145',jdecode('MB+Sprinter+313+CDI+%28F099%29'),jdecode(''),'/9254/111145.html','true',[],''],
		['PAGE','81346',jdecode('MB+Sprinter+313+CDI+%28F080%29'),jdecode(''),'/9254/81346.html','true',[],''],
		['PAGE','99445',jdecode('MB+Sprinter+313+CDI+%28F095%29'),jdecode(''),'/9254/99445.html','true',[],'']
	],''],
	['PAGE','38778',jdecode('Krankenwagen'),jdecode(''),'/38778/index.html','true',[ 
		['PAGE','135945',jdecode('MB+Vito+111+CDI+%28F122%29'),jdecode(''),'/38778/135945.html','true',[],''],
		['PAGE','133245',jdecode('MB+Vito+111+CDI+%28F121%29'),jdecode(''),'/38778/133245.html','true',[],''],
		['PAGE','97877',jdecode('MB+E+220+CDI+%28F092%29'),jdecode(''),'/38778/97877.html','true',[],'']
	],''],
	['PAGE','53435',jdecode('NEF+Notarzteinsatzfahrzeug'),jdecode(''),'/53435/index.html','true',[ 
		['PAGE','118445',jdecode('Audi+A6+Quattro+%28F105%29'),jdecode(''),'/53435/118445.html','true',[],''],
		['PAGE','93951',jdecode('Audi+A6+Quattro+%28F089%29'),jdecode(''),'/53435/93951.html','true',[],''],
		['PAGE','80126',jdecode('Audi+A6+Quattro+%28F078%29'),jdecode(''),'/53435/80126.html','true',[],''],
		['PAGE','83135',jdecode('Audi+A6+Quattro+%28F083%29'),jdecode(''),'/53435/83135.html','true',[],'']
	],''],
	['PAGE','75686',jdecode('Fahrtragen'),jdecode(''),'/75686/index.html','true',[ 
		['PAGE','136461',jdecode('Stryker+M1+%28T20%29'),jdecode(''),'/75686/136461.html','true',[],''],
		['PAGE','130845',jdecode('Stollenwerk+4003+%28T18%29'),jdecode(''),'/75686/130845.html','true',[],''],
		['PAGE','123697',jdecode('Stollenwerk+4003+%28T11%29'),jdecode(''),'/75686/123697.html','true',[],''],
		['PAGE','108745',jdecode('Stollenwerk+4003+%28T10%29'),jdecode(''),'/75686/108745.html','true',[],''],
		['PAGE','100560',jdecode('Ferno+X2+%28T14%29'),jdecode(''),'/75686/100560.html','true',[],'']
	],''],
	['PAGE','120907',jdecode('Tragest%FChle-+sessel'),jdecode(''),'/120907/index.html','true',[ 
		['PAGE','126245',jdecode('Ferno+Tragestuhl+Modell+F40'),jdecode(''),'/120907/126245.html','true',[],'']
	],''],
	['PAGE','130546',jdecode('Vakuum-+Matratzen'),jdecode(''),'/130546/index.html','true',[ 
		['PAGE','130577',jdecode('Dreikammer-+Vakuum-+Matratze'),jdecode(''),'/130546/130577.html','true',[],'']
	],''],
	['PAGE','9308',jdecode('Ankauf'),jdecode(''),'/9308.html','true',[],''],
	['PAGE','9335',jdecode('Kontakt'),jdecode(''),'/9335/index.html','true',[ 
		['PAGE','31426',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/9335/31426.html','false',[],'']
	],''],
	['PAGE','34016',jdecode('AGB'),jdecode(''),'/34016/index.html','true',[ 
		['PAGE','34416',jdecode('AGB+Gebrauchtwagen'),jdecode(''),'/34016/34416.html','true',[],'']
	],''],
	['PAGE','34047',jdecode('Impressum'),jdecode(''),'/34047.html','true',[],''],
	['PAGE','34247',jdecode('Anfahrt'),jdecode(''),'/34247.html','true',[],''],
	['PAGE','55036',jdecode('Routenplaner'),jdecode(''),'/55036.html','true',[],'']];
var siteelementCount=44;
theSitetree.topTemplateName='Easy';
					                                                                    
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 */					                                                            
