/* [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','4436',jdecode('Home'),jdecode(''),'/4436.html','true',[],''],
	['PAGE','16201',jdecode('Background'),jdecode(''),'/16201.html','true',[],''],
	['PAGE','13201',jdecode('Sheeters'),jdecode(''),'/13201.html','true',[],''],
	['PAGE','13263',jdecode('Flexo+Ruling+Machine'),jdecode(''),'/13263.html','true',[],''],
	['PAGE','13325',jdecode('Unwind+Stands'),jdecode(''),'/13325/index.html','true',[ 
		['PAGE','17901',jdecode('Standard+4-Roll'),jdecode(''),'/13325/17901.html','true',[],''],
		['PAGE','17932',jdecode('Premium+4-Roll'),jdecode(''),'/13325/17932.html','true',[],''],
		['PAGE','17963',jdecode('Shaftless+2-Roll'),jdecode(''),'/13325/17963.html','true',[],'']
	],''],
	['PAGE','13232',jdecode('Slitter+Rewinders'),jdecode(''),'/13232/index.html','true',[ 
		['PAGE','16901',jdecode('Center+Driven'),jdecode(''),'/13232/16901.html','true',[],''],
		['PAGE','16932',jdecode('Surface+Driven'),jdecode(''),'/13232/16932.html','true',[],'']
	],''],
	['PAGE','29001',jdecode('Accura+Easycut+Guillotines'),jdecode(''),'/29001/index.html','true',[ 
		['PAGE','29101',jdecode('Accura+Easycut+92+Specifications'),jdecode(''),'/29001/29101.html','true',[],''],
		['PAGE','29301',jdecode('Accura+Easycut+115+Specifications'),jdecode(''),'/29001/29301.html','true',[],''],
		['PAGE','30901',jdecode('Accura+Easycut+137+Specifications'),jdecode(''),'/29001/30901.html','true',[],'']
	],''],
	['PAGE','14501',jdecode('Guillotine+Programmer'),jdecode(''),'/14501/index.html','true',[ 
		['PAGE','19301',jdecode('Installation+Manual'),jdecode(''),'/14501/19301.html','true',[],''],
		['PAGE','19201',jdecode('Operating+Instructions'),jdecode(''),'/14501/19201.html','true',[],''],
		['PAGE','19701',jdecode('Polar+115+Easycut+Installation+Photos'),jdecode(''),'/14501/19701.html','true',[],''],
		['PAGE','22938',jdecode('Polar+92+Installation+Photos'),jdecode(''),'/14501/22938.html','true',[],''],
		['PAGE','19801',jdecode('Schneider+Easycut+Installation+Photos'),jdecode(''),'/14501/19801.html','true',[],''],
		['PAGE','19901',jdecode('Wohlenberg+115+Easycut+Installation+Photos'),jdecode(''),'/14501/19901.html','true',[],'']
	],''],
	['PAGE','13294',jdecode('Knife+Grinder'),jdecode(''),'/13294.html','true',[],''],
	['PAGE','7155',jdecode('News+%26+Events'),jdecode(''),'/7155.html','true',[],''],
	['PAGE','7209',jdecode('Contact+Us'),jdecode(''),'/7209.html','true',[],''],
	['PAGE','18901',jdecode('Partners'),jdecode(''),'/18901.html','true',[],''],
	['PAGE','24002',jdecode('Guestbook'),jdecode(''),'/24002/index.html','true',[ 
		['PAGE','24003',jdecode('Read+Guestbook'),jdecode(''),'/24002/24003.html','true',[],'']
	],''],
	['PAGE','27501',jdecode('Videos'),jdecode(''),'/27501.html','true',[],'']];
var siteelementCount=29;
theSitetree.topTemplateName='Business';
					                                                                    
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 */					                                                            

