/* [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','11',jdecode('Home+%26+New+%2810.09.02%29++++++++++++++++++++++++++++++++'),jdecode(''),'/11.html','true',[],''],
	['PAGE','1059',jdecode('About+Us+%28%E7%A7%81%E9%81%94%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6%29++++++++++++++++++++++++++++++++++++'),jdecode(''),'/1059.html','true',[],''],
	['PAGE','24709',jdecode('Access+%28%EF%BD%B1%EF%BD%B8%EF%BD%BE%EF%BD%BD%29++++++++++++++++++++++++++++++++++++++++'),jdecode(''),'/24709.html','true',[],''],
	['PAGE','45161',jdecode('Our+Business%28%EF%BE%8B%EF%BE%9E%EF%BD%BC%EF%BE%9E%EF%BE%88%EF%BD%BD%EF%BE%93%EF%BE%83%EF%BE%99%29'),jdecode(''),'/45161/index.html','true',[ 
		['PAGE','45375',jdecode('MI-POC%28%E6%B5%B7%E6%B4%8B%E7%94%A3%E6%A5%AD%EF%BE%8E%EF%BE%9F%EF%BD%B2%EF%BE%9D%EF%BE%84%EF%BD%B5%EF%BE%8C%EF%BE%9E%EF%BD%B9%EF%BD%B1%29'),jdecode(''),'/45161/45375.html','true',[],'']
	],''],
	['PAGE','1068',jdecode('Services+%28%EF%BD%BB%EF%BD%B0%EF%BE%8B%EF%BE%9E%EF%BD%BD%E7%B3%BB%29+++++++++++++++++++++++++++++++++++++'),jdecode(''),'/1068/index.html','true',[ 
		['PAGE','44329',jdecode('Bioassays+%28%E7%94%9F%E7%89%A9%E8%A9%A6%E9%A8%93%29'),jdecode(''),'/1068/44329.html','true',[],'']
	],''],
	['PAGE','26230',jdecode('Products+%28%E8%A3%BD%E5%93%81%E7%B3%BB%29++++++++++++++++++++++++++++++++++++++'),jdecode(''),'/26230/index.html','true',[ 
		['PAGE','29222',jdecode('Antibodies+%28%E6%8A%97%E4%BD%93%E8%A9%A6%E8%96%AC%29+++++++++++++++++++++++++++++++++'),jdecode(''),'/26230/29222.html','true',[],''],
		['PAGE','29231',jdecode('Detect.+Kits+%28%E6%A4%9C%E5%87%BA%EF%BD%B7%EF%BD%AF%EF%BE%84%29'),jdecode(''),'/26230/29231.html','true',[],''],
		['PAGE','46055',jdecode('Sessile+Reader+%28%E5%AE%9A%E9%87%8F%EF%BE%98%EF%BD%B0%EF%BE%80%EF%BE%9E%EF%BD%B0%29'),jdecode(''),'/26230/46055.html','true',[],'']
	],''],
	['PAGE','1086',jdecode('Technologists%28%E7%A0%94%E7%A9%B6%E5%93%A1%E7%AD%89%29+++++++++++++++++++++++++++'),jdecode(''),'/1086.html','true',[],''],
	['PAGE','26239',jdecode('Equipments+%28%E7%A0%94%E7%A9%B6%E8%A8%AD%E5%82%99%29+++++++++++++++++++++++++++++++++'),jdecode(''),'/26239.html','true',[],''],
	['PAGE','42739',jdecode('Recruit+%28%EF%BE%98%EF%BD%B8%EF%BE%99%EF%BD%B0%EF%BE%84+09.11.18%29'),jdecode(''),'/42739.html','true',[],''],
	['PAGE','41258',jdecode('Publication+%28%E8%AB%96%E6%96%87%EF%BD%A5%E7%99%BA%E8%A1%A8%29++++++++++++++++++++++++++++++++'),jdecode(''),'/41258.html','true',[],''],
	['PAGE','25009',jdecode('DB+%26+Link+%28%E6%A4%9C%E7%B4%A2DB%2C+%EF%BE%98%EF%BE%9D%EF%BD%B8%29+++++++++++++++++++++++++++++++++++++++++++'),jdecode(''),'/25009.html','true',[],''],
	['PAGE','6133',jdecode('Guest+Book%2C+etc.%28%EF%BD%B9%EF%BE%9E%EF%BD%BD%EF%BE%84%E7%AD%89%29+++++++++++++++++++++++++++++++++'),jdecode(''),'/6133/index.html','true',[ 
		['PAGE','6132',jdecode('Posting+List+%28%EF%BE%8E%EF%BE%9F%EF%BD%BD%EF%BE%84+%EF%BE%98%EF%BD%BD%EF%BE%84%29+++++++++++++++++++++++++++++++'),jdecode(''),'/6133/6132.html','true',[],''],
		['PAGE','25105',jdecode('Message+Board+%28%E6%8E%B2%E7%A4%BA%E6%9D%BF%29++++++++++++++++++++++++++++'),jdecode(''),'/6133/25105.html','true',[],''],
		['PAGE','24933',jdecode('Photo+%28%E5%86%99%E7%9C%9F%E7%AD%89%29++++++++++++++++++++++'),jdecode(''),'/6133/24933.html','true',[],'']
	],''],
	['PAGE','43364',jdecode('%EF%BC%9CEnglish+Pages%EF%BC%9E'),jdecode(''),'/43364.html','true',[],'']];
var siteelementCount=21;
theSitetree.topTemplateName='Sportive';
					                                                                    
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 */					                                                            
