/* [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','13',jdecode('%E3%83%9B%E3%83%BC%E3%83%A0'),jdecode(''),'/13.html','true',[],''],
	['PAGE','9701',jdecode('What%26%23x27%3Bs+New'),jdecode(''),'/9701.html','true',[],''],
	['PAGE','3294',jdecode('%E4%BC%9A%E7%A4%BE%E6%A1%88%E5%86%85'),jdecode(''),'/3294/index.html','true',[ 
		['PAGE','3303',jdecode('%E5%93%81%E8%B3%AA%E6%96%B9%E9%87%9D%E3%83%BB%E7%92%B0%E5%A2%83%E6%96%B9%E9%87%9D'),jdecode(''),'/3294/3303.html','true',[],''],
		['PAGE','6419',jdecode('%E4%BC%9A%E7%A4%BE%E6%A1%88%E5%86%85%E5%9B%B3'),jdecode(''),'/3294/6419.html','true',[],'']
	],''],
	['PAGE','3312',jdecode('%E7%B6%99%E6%89%8B%E3%83%BB%E3%83%90%E3%83%AB%E3%83%96%E3%83%BB%E3%83%81%E3%83%A5%E3%83%BC%E3%83%96'),jdecode(''),'/3312/index.html','true',[ 
		['PAGE','3321',jdecode('J-Lok+%E3%83%81%E3%83%A5%E3%83%BC%E3%83%96%E7%B6%99%E6%89%8B%281%29'),jdecode(''),'/3312/3321.html','true',[],''],
		['PAGE','8369',jdecode('J-Lok+%E3%83%81%E3%83%A5%E3%83%BC%E3%83%96%E7%B6%99%E6%89%8B%282%29'),jdecode(''),'/3312/8369.html','true',[],''],
		['PAGE','5737',jdecode('SWL+%E3%83%81%E3%83%A5%E3%83%BC%E3%83%96%E7%B6%99%E6%89%8B'),jdecode(''),'/3312/5737.html','true',[],''],
		['PAGE','7805',jdecode('%E6%A5%B5%E5%B0%8F%E5%8F%A3%E5%BE%84%E7%B6%99%E6%89%8B'),jdecode(''),'/3312/7805.html','true',[],''],
		['PAGE','5746',jdecode('ExceLok+%E5%A4%A7%E5%8F%A3%E5%BE%84%E7%B6%99%E6%89%8B'),jdecode(''),'/3312/5746.html','true',[],''],
		['PAGE','5755',jdecode('%E3%83%9C%E3%83%BC%E3%83%AB%E3%83%90%E3%83%AB%E3%83%96'),jdecode(''),'/3312/5755.html','true',[],''],
		['PAGE','5764',jdecode('%E3%83%8B%E3%83%BC%E3%83%89%E3%83%AB%E3%83%90%E3%83%AB%E3%83%96'),jdecode(''),'/3312/5764.html','true',[],''],
		['PAGE','5773',jdecode('%E3%82%B9%E3%83%88%E3%83%83%E3%83%97%E3%83%90%E3%83%AB%E3%83%96'),jdecode(''),'/3312/5773.html','true',[],''],
		['PAGE','5782',jdecode('%E3%82%B9%E3%83%86%E3%83%B3%E3%83%AC%E3%82%B9%E3%83%81%E3%83%A5%E3%83%BC%E3%83%96'),jdecode(''),'/3312/5782.html','true',[],''],
		['PAGE','5791',jdecode('%E6%A8%B9%E8%84%82%E3%83%81%E3%83%A5%E3%83%BC%E3%83%96'),jdecode(''),'/3312/5791.html','true',[],''],
		['PAGE','3357',jdecode('%E3%83%81%E3%83%A5%E3%83%BC%E3%83%96%E5%8A%A0%E5%B7%A5%E5%93%81'),jdecode(''),'/3312/3357.html','true',[],''],
		['PAGE','6834',jdecode('%E5%B7%A5%E5%85%B7'),jdecode(''),'/3312/6834.html','true',[],'']
	],''],
	['PAGE','6493',jdecode('LC%E7%A9%BA%E3%82%AB%E3%83%A9%E3%83%A0%E3%83%BB%E3%83%91%E3%83%BC%E3%83%84'),jdecode(''),'/6493/index.html','true',[ 
		['PAGE','3330',jdecode('%E7%A9%BA%E3%82%AB%E3%83%A9%E3%83%A0%EF%BC%88%E3%82%B9%E3%83%86%E3%83%B3%E3%83%AC%E3%82%B9%EF%BC%89'),jdecode(''),'/6493/3330.html','true',[],''],
		['PAGE','7383',jdecode('%E7%A9%BA%E3%82%AB%E3%83%A9%E3%83%A0%EF%BC%88%EF%BC%B0%EF%BC%A5%EF%BC%A5%EF%BC%AB%EF%BC%89'),jdecode(''),'/6493/7383.html','true',[],''],
		['PAGE','7392',jdecode('%E7%A9%BA%E3%82%AB%E3%83%A9%E3%83%A0%EF%BC%88%E3%82%AC%E3%83%A9%E3%82%B9%EF%BC%89'),jdecode(''),'/6493/7392.html','true',[],''],
		['PAGE','7436',jdecode('%E7%A9%BA%E3%82%AB%E3%83%A9%E3%83%A0%EF%BC%88%E5%88%86%E5%8F%96%EF%BC%89'),jdecode(''),'/6493/7436.html','true',[],''],
		['PAGE','3339',jdecode('%E3%83%91%E3%83%83%E3%82%AB%E3%83%BC%E3%83%BB%E3%82%A2%E3%83%80%E3%83%97%E3%82%BF%E3%83%BC'),jdecode(''),'/6493/3339.html','true',[],''],
		['PAGE','5826',jdecode('%EF%BC%A8%EF%BC%B0%EF%BC%AC%EF%BC%A3%2F%EF%BC%AC%EF%BC%A3%E3%83%91%E3%83%BC%E3%83%84'),jdecode(''),'/6493/5826.html','true',[],'']
	],''],
	['PAGE','6547',jdecode('%E7%A0%94%E7%A3%A8'),jdecode(''),'/6547.html','true',[],''],
	['PAGE','6869',jdecode('%E3%83%95%E3%82%A3%E3%83%AB%E3%82%BF%E3%83%BC'),jdecode(''),'/6869.html','true',[],''],
	['PAGE','3366',jdecode('%E5%88%86%E6%9E%90%E8%A3%85%E7%BD%AE%E3%83%BB%E5%85%85%E5%A1%AB%E3%82%AB%E3%83%A9%E3%83%A0'),jdecode(''),'/3366.html','true',[],''],
	['PAGE','3411',jdecode('%E6%8E%A1%E7%94%A8%E6%83%85%E5%A0%B1'),jdecode(''),'/3411.html','true',[],''],
	['PAGE','3420',jdecode('%E3%81%8A%E5%95%8F%E5%90%88%E3%81%9B%E5%85%88'),jdecode(''),'/3420/index.html','true',[ 
		['PAGE','5320',jdecode('%E3%81%8A%E5%95%8F%E5%90%88%E3%81%9B%E5%85%88+%28%E3%83%95%E3%82%A9%E3%83%AD%E3%83%BC%E3%82%A2%E3%83%83%E3%83%97%E3%81%AE%E3%83%9A%E3%83%BC%E3%82%B8%29'),jdecode(''),'/3420/5320.html','false',[],'']
	],''],
	['PAGE','5421',jdecode('ENGLISH'),jdecode(''),'/5421/index.html','true',[ 
		['PAGE','5331',jdecode('Empty+Columns+'),jdecode(''),'/5421/5331.html','true',[],''],
		['PAGE','5340',jdecode('HPLC%2FLC+Parts'),jdecode(''),'/5421/5340.html','true',[],''],
		['PAGE','5349',jdecode('Fittings'),jdecode(''),'/5421/5349.html','true',[],''],
		['PAGE','5358',jdecode('Valves'),jdecode(''),'/5421/5358.html','true',[],''],
		['PAGE','5367',jdecode('Tubings'),jdecode(''),'/5421/5367.html','true',[],''],
		['PAGE','5376',jdecode('Company+Profile'),jdecode(''),'/5421/5376.html','true',[],'']
	],'']];
var siteelementCount=38;
theSitetree.topTemplateName='NewYork';
					                                                                    
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 */					                                                            
