/* [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('Start'),jdecode(''),'/4481.html','true',[],''],
	['PAGE','10729',jdecode('Produkte+%26+Leistungen'),jdecode(''),'/10729/index.html','true',[ 
		['PAGE','10791',jdecode('Landschafts-Dioramen'),jdecode(''),'/10729/10791.html','true',[],''],
		['PAGE','10822',jdecode('Modellbahn-Anlagen'),jdecode(''),'/10729/10822.html','true',[],''],
		['PAGE','10760',jdecode('S-Bahn-Stationen'),jdecode(''),'/10729/10760.html','true',[],''],
		['PAGE','87559',jdecode('Gleisplan-Erstellung'),jdecode(''),'/10729/87559.html','true',[],''],
		['PAGE','87590',jdecode('Geb%E4udebau%2FAufbauservice'),jdecode(''),'/10729/87590.html','true',[],''],
		['PAGE','87497',jdecode('Altern+%26+Patinieren'),jdecode(''),'/10729/87497.html','true',[],''],
		['PAGE','120648',jdecode('Werbemodelle'),jdecode(''),'/10729/120648.html','true',[],''],
		['PAGE','120679',jdecode('Beleuchtete+Modelle'),jdecode(''),'/10729/120679.html','true',[],''],
		['PAGE','87528',jdecode('Restaurierungen'),jdecode(''),'/10729/87528.html','true',[],''],
		['PAGE','123681',jdecode('Anlagen-Verleih'),jdecode(''),'/10729/123681.html','true',[],''],
		['PAGE','87466',jdecode('Workshops+%26+Seminare'),jdecode(''),'/10729/87466.html','true',[],''],
		['PAGE','27501',jdecode('PUREN+Modur-Hartschaum'),jdecode(''),'/10729/27501.html','true',[],''],
		['PAGE','94076',jdecode('D%2BR+Modellbahn'),jdecode(''),'/10729/94076.html','true',[],''],
		['PAGE','131615',jdecode('BELI-BECO+Leuchten'),jdecode(''),'/10729/131615.html','true',[],'']
	],''],
	['PAGE','10932',jdecode('Referenzen'),jdecode(''),'/10932/index.html','true',[ 
		['PAGE','143263',jdecode('Einfamilienhaus+N'),jdecode(''),'/10932/143263.html','true',[],''],
		['PAGE','143232',jdecode('Rocky+Valley+2+bis+4'),jdecode(''),'/10932/143232.html','true',[],''],
		['PAGE','141207',jdecode('Obstgut'),jdecode(''),'/10932/141207.html','true',[],''],
		['PAGE','137334',jdecode('Hinterhof-Szenen'),jdecode(''),'/10932/137334.html','true',[],''],
		['PAGE','134890',jdecode('Silberling-Projekt'),jdecode(''),'/10932/134890.html','true',[],''],
		['PAGE','135694',jdecode('Grosse+Heimanlage'),jdecode(''),'/10932/135694.html','true',[],''],
		['PAGE','137023',jdecode('Ein+Bett+Im+Mohnfeld'),jdecode(''),'/10932/137023.html','true',[],''],
		['PAGE','132259',jdecode('Messeanlage+2009'),jdecode(''),'/10932/132259.html','true',[],''],
		['PAGE','117394',jdecode('Stadt+%26+Land'),jdecode(''),'/10932/117394.html','true',[],''],
		['PAGE','47770',jdecode('C-Gleis-Anlage'),jdecode(''),'/10932/47770.html','true',[],''],
		['PAGE','118494',jdecode('Felswand+CH'),jdecode(''),'/10932/118494.html','true',[],''],
		['PAGE','116602',jdecode('P%E9niche+Madeleine'),jdecode(''),'/10932/116602.html','true',[],''],
		['PAGE','116052',jdecode('Rheingold+%B462'),jdecode(''),'/10932/116052.html','true',[],''],
		['PAGE','110930',jdecode('Monument+Valley+1'),jdecode(''),'/10932/110930.html','true',[],''],
		['PAGE','110899',jdecode('Hochzeits-Diorama'),jdecode(''),'/10932/110899.html','true',[],''],
		['PAGE','110868',jdecode('Sommer+1976'),jdecode(''),'/10932/110868.html','true',[],''],
		['PAGE','128969',jdecode('Stockholm+Huvudsta'),jdecode(''),'/10932/128969.html','true',[],''],
		['PAGE','128938',jdecode('Bahnhof+RhB'),jdecode(''),'/10932/128938.html','true',[],''],
		['PAGE','99294',jdecode('Alpen-Viadukt'),jdecode(''),'/10932/99294.html','true',[],''],
		['PAGE','99325',jdecode('Pendelzug+Ep.+III'),jdecode(''),'/10932/99325.html','true',[],''],
		['PAGE','49403',jdecode('Diorama+%22Bahnhof%22'),jdecode(''),'/10932/49403.html','true',[],''],
		['PAGE','49372',jdecode('%22Amerika-Diorama%22'),jdecode(''),'/10932/49372.html','true',[],''],
		['PAGE','49341',jdecode('Diorama+%22Felswand%22'),jdecode(''),'/10932/49341.html','true',[],''],
		['PAGE','127966',jdecode('%22Bodensee-G%FCrtelbahn%22'),jdecode(''),'/10932/127966.html','true',[],''],
		['PAGE','127935',jdecode('+%22Br%FCcke+%FCber+den+Kanal%22'),jdecode(''),'/10932/127935.html','true',[],''],
		['PAGE','127904',jdecode('+%22Bahn+am+Hirschberg%22'),jdecode(''),'/10932/127904.html','true',[],'']
	],''],
	['PAGE','31580',jdecode('Termine+%26+Ausstellungen'),jdecode(''),'/31580.html','true',[],''],
	['PAGE','102325',jdecode('Kontakt'),jdecode(''),'/102325.html','true',[],''],
	['PAGE','21062',jdecode('Bestellung'),jdecode(''),'/21062/index.html','true',[ 
		['PAGE','21099',jdecode('Bestellung+%28Folgeseite%29'),jdecode(''),'/21062/21099.html','false',[],''],
		['PAGE','63332',jdecode('Zahlung+%26+Versand'),jdecode(''),'/21062/63332.html','true',[],''],
		['PAGE','26701',jdecode('Widerrufsbelehrung'),jdecode(''),'/21062/26701.html','true',[],'']
	],''],
	['PAGE','32132',jdecode('Partnerseiten'),jdecode(''),'/32132.html','true',[],''],
	['PAGE','10963',jdecode('Impressum'),jdecode(''),'/10963/index.html','true',[ 
		['PAGE','43632',jdecode('Service'),jdecode(''),'/10963/43632.html','true',[],''],
		['PAGE','97225',jdecode('Inhalt+-+Sitemap'),jdecode(''),'/10963/97225.html','true',[],'']
	],''],
	['PAGE','39435',jdecode(''),jdecode(''),'/39435/index.html','true',[ 
		['PAGE','45532',jdecode('1xxx'),jdecode(''),'/39435/45532.html','true',[],''],
		['PAGE','103003',jdecode('1001'),jdecode(''),'/39435/103003.html','true',[],''],
		['PAGE','112094',jdecode('1002'),jdecode(''),'/39435/112094.html','true',[],''],
		['PAGE','103034',jdecode('1004'),jdecode(''),'/39435/103034.html','true',[],''],
		['PAGE','106894',jdecode('1005'),jdecode(''),'/39435/106894.html','true',[],''],
		['PAGE','62391',jdecode('1006'),jdecode(''),'/39435/62391.html','true',[],''],
		['PAGE','103065',jdecode('1007'),jdecode(''),'/39435/103065.html','true',[],''],
		['PAGE','103158',jdecode('1008'),jdecode(''),'/39435/103158.html','true',[],''],
		['PAGE','103096',jdecode('1009'),jdecode(''),'/39435/103096.html','true',[],''],
		['PAGE','127825',jdecode('1011'),jdecode(''),'/39435/127825.html','true',[],''],
		['PAGE','127794',jdecode('Stockholm+Huvudsta'),jdecode(''),'/39435/127794.html','true',[],''],
		['PAGE','103127',jdecode('1012'),jdecode(''),'/39435/103127.html','true',[],''],
		['PAGE','110094',jdecode('1013'),jdecode(''),'/39435/110094.html','true',[],''],
		['PAGE','110125',jdecode('1014'),jdecode(''),'/39435/110125.html','true',[],''],
		['PAGE','110156',jdecode('1015'),jdecode(''),'/39435/110156.html','true',[],''],
		['PAGE','75310',jdecode('1016'),jdecode(''),'/39435/75310.html','true',[],''],
		['PAGE','47708',jdecode('1017'),jdecode(''),'/39435/47708.html','true',[],''],
		['PAGE','47739',jdecode('1018'),jdecode(''),'/39435/47739.html','true',[],''],
		['PAGE','47491',jdecode('Rheingold'),jdecode(''),'/39435/47491.html','true',[],''],
		['PAGE','117041',jdecode('P%E9niche+Madeleine'),jdecode(''),'/39435/117041.html','true',[],''],
		['PAGE','118525',jdecode('Felswand+CH'),jdecode(''),'/39435/118525.html','true',[],''],
		['PAGE','47522',jdecode('1019'),jdecode(''),'/39435/47522.html','true',[],''],
		['PAGE','47553',jdecode('1020'),jdecode(''),'/39435/47553.html','true',[],''],
		['PAGE','47584',jdecode('1021'),jdecode(''),'/39435/47584.html','true',[],''],
		['PAGE','131910',jdecode('Messeanlage+2009'),jdecode(''),'/39435/131910.html','true',[],''],
		['PAGE','47615',jdecode('1022'),jdecode(''),'/39435/47615.html','true',[],''],
		['PAGE','47646',jdecode('1023'),jdecode(''),'/39435/47646.html','true',[],''],
		['PAGE','134594',jdecode('Silberling-Projekt'),jdecode(''),'/39435/134594.html','true',[],''],
		['PAGE','137303',jdecode('Hinterhof-Szenen'),jdecode(''),'/39435/137303.html','true',[],''],
		['PAGE','47677',jdecode('1024'),jdecode(''),'/39435/47677.html','true',[],''],
		['PAGE','49032',jdecode('1025'),jdecode(''),'/39435/49032.html','true',[],''],
		['PAGE','42711',jdecode('1026'),jdecode(''),'/39435/42711.html','true',[],''],
		['PAGE','42742',jdecode('1027'),jdecode(''),'/39435/42742.html','true',[],''],
		['PAGE','42773',jdecode('1028'),jdecode(''),'/39435/42773.html','true',[],''],
		['PAGE','137883',jdecode('Landschafts-Dioramen'),jdecode(''),'/39435/137883.html','true',[],''],
		['PAGE','120807',jdecode('Modellbahn-Anlagen'),jdecode(''),'/39435/120807.html','true',[],''],
		['PAGE','120838',jdecode('S-Bahn-Stationen'),jdecode(''),'/39435/120838.html','true',[],''],
		['PAGE','120869',jdecode('U-Bahn-Stationen'),jdecode(''),'/39435/120869.html','true',[],''],
		['PAGE','120900',jdecode('Gleisplan-Erstellung'),jdecode(''),'/39435/120900.html','true',[],''],
		['PAGE','120962',jdecode('Altern+%26+Patinieren'),jdecode(''),'/39435/120962.html','true',[],''],
		['PAGE','120993',jdecode('Werbemodelle'),jdecode(''),'/39435/120993.html','true',[],''],
		['PAGE','121024',jdecode('Bausatz-Aufbauservice'),jdecode(''),'/39435/121024.html','true',[],''],
		['PAGE','121055',jdecode('Beleuchtete+Modelle'),jdecode(''),'/39435/121055.html','true',[],''],
		['PAGE','121117',jdecode('D%2BR+Personenwagen'),jdecode(''),'/39435/121117.html','true',[],''],
		['PAGE','132794',jdecode('BELI-BECO'),jdecode(''),'/39435/132794.html','true',[],''],
		['PAGE','112994',jdecode('TOPPMODELL+Lasercut'),jdecode(''),'/39435/112994.html','true',[],''],
		['PAGE','108294',jdecode('HAULER+H0'),jdecode(''),'/39435/108294.html','true',[],''],
		['PAGE','44032',jdecode('MODUR'),jdecode(''),'/39435/44032.html','true',[],''],
		['PAGE','109594',jdecode('TOPP-TON'),jdecode(''),'/39435/109594.html','true',[],''],
		['PAGE','102294',jdecode('eBay'),jdecode(''),'/39435/102294.html','true',[],''],
		['PAGE','119394',jdecode('ebay_mai_09'),jdecode(''),'/39435/119394.html','true',[],''],
		['PAGE','121294',jdecode('ebay_jul_09'),jdecode(''),'/39435/121294.html','true',[],''],
		['PAGE','140196',jdecode('ebay_2011_aug'),jdecode(''),'/39435/140196.html','true',[],''],
		['PAGE','142232',jdecode('ebay_2011_dez_01'),jdecode(''),'/39435/142232.html','true',[],''],
		['PAGE','142907',jdecode('ebay_2011_dez_02'),jdecode(''),'/39435/142907.html','true',[],'']
	],'']];
var siteelementCount=109;
theSitetree.topTemplateName='Aeskulap';
					                                                                    
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 */					                                                            

