/* [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','43',jdecode('HOME'),jdecode(''),'/43.html','true',[],''],
	['PAGE','64',jdecode('INTRODUCING'),jdecode(''),'/64.html','true',[],''],
	['PAGE','82',jdecode('SERVICES'),jdecode(''),'/82/index.html','true',[ 
		['PAGE','91',jdecode('Warehouse+Services'),jdecode(''),'/82/91.html','true',[],'']
	],''],
	['PAGE','118',jdecode('WHSE+TRUCKING+RATES'),jdecode(''),'/118.html','true',[],''],
	['PAGE','163',jdecode('MARINE%2FAIR+INS+COVERAGE'),jdecode(''),'/163.html','true',[],''],
	['PAGE','5702',jdecode('CONTAINERS'),jdecode(''),'/5702/index.html','true',[ 
		['PAGE','5830',jdecode('20%26%23x27%3B+Flat+Rack+Container'),jdecode(''),'/5702/5830.html','true',[],''],
		['PAGE','5899',jdecode('20%26%23x27%3B+Open+Top+Container'),jdecode(''),'/5702/5899.html','true',[],''],
		['PAGE','5908',jdecode('20%26%23x27%3B+Standard+Container'),jdecode(''),'/5702/5908.html','true',[],''],
		['PAGE','5917',jdecode('40%26%23x27%3B+Artificial+Tweendeck'),jdecode(''),'/5702/5917.html','true',[],''],
		['PAGE','5926',jdecode('40%26%23x27%3B+Collapsible+Flat+Rack'),jdecode(''),'/5702/5926.html','true',[],''],
		['PAGE','5935',jdecode('40%26%23x27%3B+Flat+Rack+Container'),jdecode(''),'/5702/5935.html','true',[],''],
		['PAGE','5944',jdecode('40%26%23x27%3B+High+Cube+Container'),jdecode(''),'/5702/5944.html','true',[],''],
		['PAGE','5953',jdecode('40%26%23x27%3B+High+Cube+Reefer+Container'),jdecode(''),'/5702/5953.html','true',[],''],
		['PAGE','5962',jdecode('40%26%23x27%3B+Open+Top+Container'),jdecode(''),'/5702/5962.html','true',[],''],
		['PAGE','5971',jdecode('40%26%23x27%3B+Reefer+Container'),jdecode(''),'/5702/5971.html','true',[],''],
		['PAGE','5980',jdecode('40%26%23x27%3B+Standard+Container'),jdecode(''),'/5702/5980.html','true',[],''],
		['PAGE','5989',jdecode('45%26%23x27%3B+High+Cube+Container'),jdecode(''),'/5702/5989.html','true',[],''],
		['PAGE','5998',jdecode('45%26%23x27%3B+High+Cube+Reefer+Container'),jdecode(''),'/5702/5998.html','true',[],'']
	],''],
	['PAGE','2336',jdecode('FCL+RATES'),jdecode(''),'/2336/index.html','true',[ 
		['PAGE','3407',jdecode('New+Jersey'),jdecode(''),'/2336/3407.html','true',[],''],
		['PAGE','3416',jdecode('Pennsylvania'),jdecode(''),'/2336/3416.html','true',[],''],
		['PAGE','3425',jdecode('Connecticut'),jdecode(''),'/2336/3425.html','true',[],''],
		['PAGE','4356',jdecode('New+York'),jdecode(''),'/2336/4356.html','true',[],'']
	],''],
	['PAGE','2363',jdecode('INCOTERMS'),jdecode(''),'/2363/index.html','true',[ 
		['PAGE','7229',jdecode('C-Terms'),jdecode(''),'/2363/7229.html','true',[],''],
		['PAGE','7238',jdecode('D-Terms'),jdecode(''),'/2363/7238.html','true',[],''],
		['PAGE','7247',jdecode('E-Terms'),jdecode(''),'/2363/7247.html','true',[],''],
		['PAGE','7256',jdecode('F-Terms'),jdecode(''),'/2363/7256.html','true',[],'']
	],''],
	['PAGE','3204',jdecode('OFFICE%2FWHSE+DIRECTORY'),jdecode(''),'/3204/index.html','true',[ 
		['PAGE','7541',jdecode('Company+Calendar'),jdecode(''),'/3204/7541.html','true',[],'']
	],''],
	['PAGE','6053',jdecode('QUOTES'),jdecode(''),'/6053/index.html','true',[ 
		['PAGE','6108',jdecode('Quotes+%28follow+up+page%29'),jdecode(''),'/6053/6108.html','false',[],'']
	],''],
	['PAGE','1205',jdecode('DIRECTIONS%2FMAPS'),jdecode(''),'/1205.html','true',[],''],
	['PAGE','1186',jdecode('Guestbook'),jdecode(''),'/1186/index.html','true',[ 
		['PAGE','1185',jdecode('Read+Guestbook'),jdecode(''),'/1186/1185.html','true',[],'']
	],''],
	['PAGE','7486',jdecode('new'),jdecode(''),'/7486.html','true',[],'']];
var siteelementCount=38;
theSitetree.topTemplateName='Aeskulap';
theSitetree.paletteFamily='012253';
theSitetree.keyvisualId='2495';
theSitetree.keyvisualName='empty.jpg';
theSitetree.fontsetId='438';
theSitetree.graphicsetId='483';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Aeskulap'
,				paletteFamily: 	'012253'
,				keyvisualId: 	'2495'
,				keyvisualName: 	'empty.jpg'
,				fontsetId: 		'438'
,				graphicsetId: 	'483'
,				contentColor: 	'000000'
,				contentBGColor: 'FFFFFF'
,				a_color: 		'FFFFFF'
,				b_color: 		'FFFFFF'
,				c_color: 		'FFFFFF'
,				d_color: 		'FFFFFF'
,				e_color: 		'FFFFFF'
,				f_color: 		'FFFFFF'
 			  };					                                                                    
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 */					                                                            
