/* [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','4598',jdecode('Das+Unternehmen'),jdecode(''),'/4598.html','true',[],''],
	['PAGE','26601',jdecode('Produkt%FCbersicht'),jdecode(''),'/26601.html','true',[],''],
	['PAGE','44904',jdecode('1.+Protect+HE+Splitterschutz'),jdecode(''),'/44904/index.html','true',[ 
		['PAGE','17401',jdecode('1.+Montageleiste'),jdecode(''),'/44904/17401.html','true',[],''],
		['PAGE','5229',jdecode('2.+Montageanleitungen'),jdecode(''),'/44904/5229.html','true',[],'']
	],''],
	['PAGE','32930',jdecode('2.+Sicherheitsbelag+SSB'),jdecode(''),'/32930.html','true',[],''],
	['PAGE','32961',jdecode('3.+Sich.belag.+In+%2B+Outdoor'),jdecode(''),'/32961.html','true',[],''],
	['PAGE','33309',jdecode('4.+Schutzbel%E4ge'),jdecode(''),'/33309/index.html','true',[ 
		['PAGE','33473',jdecode('Universal-Puzzle+12+mm'),jdecode(''),'/33309/33473.html','true',[],''],
		['PAGE','33442',jdecode('Multicolor-Schutzbelag'),jdecode(''),'/33309/33442.html','true',[],''],
		['PAGE','54291',jdecode('Optimal-Schutzbelag'),jdecode(''),'/33309/54291.html','true',[],''],
		['PAGE','33411',jdecode('Rubber-Schutzbelag'),jdecode(''),'/33309/33411.html','true',[],'']
	],''],
	['PAGE','32996',jdecode('5.+Wandverkleidung+SSB'),jdecode(''),'/32996.html','true',[],''],
	['PAGE','33027',jdecode('6.+Wandverkleidung+G'),jdecode(''),'/33027.html','true',[],''],
	['PAGE','47436',jdecode('7.+Wabenblocks'),jdecode(''),'/47436.html','true',[],''],
	['PAGE','14001',jdecode('8.+Shooting-Blocks'),jdecode(''),'/14001.html','true',[],''],
	['PAGE','22032',jdecode('9.+Protect+Wabengitter'),jdecode(''),'/22032/index.html','true',[ 
		['PAGE','23722',jdecode('Verlegeanleitung'),jdecode(''),'/22032/23722.html','true',[],'']
	],''],
	['PAGE','24801',jdecode('10.+Schutzplatte+18+mm'),jdecode(''),'/24801/index.html','true',[ 
		['PAGE','21301',jdecode('1.+Handgranaten-Wurfhaus'),jdecode(''),'/24801/21301.html','true',[],''],
		['PAGE','24863',jdecode('2.+Bauwerkschutz'),jdecode(''),'/24801/24863.html','true',[],'']
	],''],
	['PAGE','51840',jdecode('11.+Schutzplatte+30+mm'),jdecode(''),'/51840.html','true',[],''],
	['PAGE','33628',jdecode('12.+R%FCckprallschutzvorhang'),jdecode(''),'/33628.html','true',[],''],
	['PAGE','33566',jdecode('13.+Protect+Bauteile'),jdecode(''),'/33566.html','true',[],''],
	['PAGE','9556',jdecode('Link+zu+Gesamtprogramm'),jdecode(''),'/9556.html','true',[],''],
	['PAGE','13901',jdecode('Impressum'),jdecode(''),'/13901.html','true',[],''],
	['PAGE','5256',jdecode('Kontakt'),jdecode(''),'/5256/index.html','true',[ 
		['PAGE','23430',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/5256/23430.html','false',[],'']
	],''],
	['PAGE','38735',jdecode(''),jdecode(''),'/38735.html','true',[],''],
	['PAGE','38767',jdecode('Our+company'),jdecode(''),'/38767.html','true',[],''],
	['PAGE','38798',jdecode('Product+range'),jdecode(''),'/38798.html','true',[],''],
	['PAGE','39015',jdecode('1.+Anti-shattering+material+HE'),jdecode(''),'/39015/index.html','true',[ 
		['PAGE','44178',jdecode('1.+Mounting+rail'),jdecode(''),'/39015/44178.html','true',[],'']
	],''],
	['PAGE','38829',jdecode('2.+Safety+floor+cover+SSB'),jdecode(''),'/38829.html','true',[],''],
	['PAGE','38860',jdecode('3.+Safety+floor+In+%2B+Outdoor'),jdecode(''),'/38860.html','true',[],''],
	['PAGE','38953',jdecode('4.+Protective+material'),jdecode(''),'/38953/index.html','true',[ 
		['PAGE','41073',jdecode('Universal+Puzzle+12+mm'),jdecode(''),'/38953/41073.html','true',[],''],
		['PAGE','41042',jdecode('Multicolor+protective+material'),jdecode(''),'/38953/41042.html','true',[],''],
		['PAGE','54322',jdecode('Optimal+protective+material'),jdecode(''),'/38953/54322.html','true',[],''],
		['PAGE','41011',jdecode('Rubber+protective+material'),jdecode(''),'/38953/41011.html','true',[],'']
	],''],
	['PAGE','38891',jdecode('5.+Wall+elements+SSB'),jdecode(''),'/38891.html','true',[],''],
	['PAGE','38922',jdecode('6.+Wall+elements+G'),jdecode(''),'/38922.html','true',[],''],
	['PAGE','48001',jdecode('7.+Honeycomb+blocks'),jdecode(''),'/48001.html','true',[],''],
	['PAGE','39108',jdecode('8.+Shooting+blocks'),jdecode(''),'/39108.html','true',[],''],
	['PAGE','39046',jdecode('9.+Protect+turf+grid'),jdecode(''),'/39046.html','true',[],''],
	['PAGE','38984',jdecode('10.+18+mm+safety+slab'),jdecode(''),'/38984.html','true',[],''],
	['PAGE','51871',jdecode('11.+30+mm+safety+slab'),jdecode(''),'/51871.html','true',[],''],
	['PAGE','43189',jdecode('12.+Target+backing+curtain'),jdecode(''),'/43189.html','true',[],''],
	['PAGE','43127',jdecode('13.+Protect+elements'),jdecode(''),'/43127.html','true',[],''],
	['PAGE','44416',jdecode('Contact+-+Contact+details'),jdecode(''),'/44416.html','true',[],'']];
var siteelementCount=50;
theSitetree.topTemplateName='Activate';
					                                                                    
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 */					                                                            

