/* [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','27561',jdecode('Preisliste+2012'),jdecode(''),'/27561.html','true',[],''],
	['PAGE','21271',jdecode('Unsere+Mitarbeiter'),jdecode(''),'/21271.html','true',[],''],
	['PAGE','25771',jdecode('Unsere+Vertretungen'),jdecode(''),'/25771.html','true',[],''],
	['PAGE','13743',jdecode('Schadensanalyse'),jdecode(''),'/13743.html','true',[],''],
	['PAGE','13774',jdecode('Probenpr%E4paration'),jdecode(''),'/13774.html','true',[],''],
	['PAGE','26207',jdecode('WKZ'),jdecode(''),'/26207.html','true',[],''],
	['PAGE','13805',jdecode('Schulungen'),jdecode(''),'/13805.html','true',[],''],
	['PAGE','13836',jdecode('Produktneuheiten'),jdecode(''),'/13836.html','true',[],''],
	['PAGE','13867',jdecode('Verbrauchsmaterial'),jdecode(''),'/13867.html','true',[],''],
	['PAGE','13898',jdecode('Trennscheiben'),jdecode(''),'/13898/index.html','true',[ 
		['PAGE','14325',jdecode('Nasstrennscheiben'),jdecode(''),'/13898/14325.html','true',[],''],
		['PAGE','26030',jdecode('Pr%E4zisionstrennscheiben'),jdecode(''),'/13898/26030.html','true',[],''],
		['PAGE','14356',jdecode('Diamanttrennsch.'),jdecode(''),'/13898/14356.html','true',[],'']
	],''],
	['PAGE','13929',jdecode('Einbettmaterialien'),jdecode(''),'/13929/index.html','true',[ 
		['PAGE','14387',jdecode('Warmeinbettmittel'),jdecode(''),'/13929/14387.html','true',[],''],
		['PAGE','14418',jdecode('Kalteinbettmittel'),jdecode(''),'/13929/14418.html','true',[],''],
		['PAGE','14449',jdecode('Einbettformen'),jdecode(''),'/13929/14449.html','true',[],'']
	],''],
	['PAGE','13960',jdecode('Schleifmittel'),jdecode(''),'/13960/index.html','true',[ 
		['PAGE','14480',jdecode('Schleifscheiben'),jdecode(''),'/13960/14480.html','true',[],''],
		['PAGE','14511',jdecode('Nassschleifpapier'),jdecode(''),'/13960/14511.html','true',[],''],
		['PAGE','14542',jdecode('Sonstiges'),jdecode(''),'/13960/14542.html','true',[],'']
	],''],
	['PAGE','13991',jdecode('Poliermittel'),jdecode(''),'/13991/index.html','true',[ 
		['PAGE','14573',jdecode('Diamantpoliermittel'),jdecode(''),'/13991/14573.html','true',[],''],
		['PAGE','14604',jdecode('Endpoliermittel'),jdecode(''),'/13991/14604.html','true',[],''],
		['PAGE','14635',jdecode('Poliert%FCcher'),jdecode(''),'/13991/14635.html','true',[],'']
	],''],
	['PAGE','14022',jdecode('Mobile+Pr%FCfung'),jdecode(''),'/14022/index.html','true',[ 
		['PAGE','14666',jdecode('Mobile+Mikroskopie'),jdecode(''),'/14022/14666.html','true',[],'']
	],''],
	['PAGE','27861',jdecode('D%FCnnschlifftechnik'),jdecode(''),'/27861.html','true',[],''],
	['PAGE','27994',jdecode('Mikroskope'),jdecode(''),'/27994.html','true',[],''],
	['PAGE','14146',jdecode('Bildbearbeitung'),jdecode(''),'/14146.html','true',[],''],
	['PAGE','14053',jdecode('Zubeh%F6r'),jdecode(''),'/14053.html','true',[],''],
	['PAGE','14084',jdecode('Gebrauchtger%E4te'),jdecode(''),'/14084.html','true',[],''],
	['PAGE','14115',jdecode('Restposten'),jdecode(''),'/14115.html','true',[],''],
	['PAGE','14177',jdecode('Kontakt'),jdecode(''),'/14177/index.html','true',[ 
		['PAGE','23605',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/14177/23605.html','false',[],'']
	],''],
	['PAGE','14208',jdecode('Tipps+%26+Tricks'),jdecode(''),'/14208/index.html','true',[ 
		['PAGE','17859',jdecode('Tipps+%26+Tricks+%28Folgeseite%29'),jdecode(''),'/14208/17859.html','false',[],'']
	],''],
	['PAGE','14239',jdecode('Shop'),jdecode(''),'/14239.html','true',[],''],
	['PAGE','14270',jdecode('Events'),jdecode(''),'/14270.html','true',[],''],
	['PAGE','23202',jdecode('Anfahrt'),jdecode(''),'/23202.html','true',[],''],
	['PAGE','23237',jdecode('Ihr+Weg+zu+uns'),jdecode(''),'/23237.html','true',[],''],
	['PAGE','24822',jdecode('Impressum'),jdecode(''),'/24822.html','true',[],''],
	['PAGE','28161',jdecode('Sicherheitsdatenbl.'),jdecode(''),'/28161/index.html','true',[ 
		['PAGE','28192',jdecode('Diamantpoliermittel'),jdecode(''),'/28161/28192.html','true',[],''],
		['PAGE','28719',jdecode('Lubrikante'),jdecode(''),'/28161/28719.html','true',[],''],
		['PAGE','28285',jdecode('Endpoliersuspensionen'),jdecode(''),'/28161/28285.html','true',[],''],
		['PAGE','28347',jdecode('Warmeinbettmittel'),jdecode(''),'/28161/28347.html','true',[],''],
		['PAGE','28378',jdecode('Kalteinbettmittel'),jdecode(''),'/28161/28378.html','true',[],''],
		['PAGE','28409',jdecode('%C4tzmittel'),jdecode(''),'/28161/28409.html','true',[],''],
		['PAGE','28440',jdecode('Elektrolyte'),jdecode(''),'/28161/28440.html','true',[],''],
		['PAGE','28471',jdecode('Reinigungsmittel'),jdecode(''),'/28161/28471.html','true',[],''],
		['PAGE','29405',jdecode('Sonstiges'),jdecode(''),'/28161/29405.html','true',[],'']
	],'']];
var siteelementCount=53;
theSitetree.topTemplateName='Orbit';
					                                                                    
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 */					                                                            

