/* [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('%E3%83%9B%E3%83%BC%E3%83%A0'),jdecode(''),'/11.html','true',[],''],
	['PAGE','32',jdecode('%E4%BC%9A%E7%A4%BE%E6%B2%BF%E9%9D%A9%E3%81%A8%E6%A6%82%E8%A6%81'),jdecode(''),'/32.html','true',[],''],
	['PAGE','1710',jdecode('%E6%89%80%E5%9C%A8%E5%9C%B0%E3%83%BB%E9%80%A3%E7%B5%A1%E5%85%88'),jdecode(''),'/1710/index.html','true',[ 
		['PAGE','2250',jdecode('%E3%81%8A%E5%95%8F%E3%81%84%E5%90%88%E3%82%8F%E3%81%9B'),jdecode(''),'/1710/2250/index.html','true',[ 
			['PAGE','2287',jdecode('%E3%81%8A%E5%95%8F%E3%81%84%E5%90%88%E3%82%8F%E3%81%9B+%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(''),'/1710/2250/2287.html','false',[],'']
		],'']
	],''],
	['PAGE','41',jdecode('%E5%BC%8A%E7%A4%BE%E6%A5%AD%E5%8B%99%E7%B4%B9%E4%BB%8B'),jdecode(''),'/41/index.html','true',[ 
		['PAGE','50',jdecode('%E3%82%B3%E3%83%B3%E3%82%B5%E3%83%AB%E3%83%86%E3%82%A3%E3%83%B3%E3%82%B0%E5%86%85%E5%AE%B9'),jdecode(''),'/41/50.html','true',[],''],
		['PAGE','59',jdecode('%E6%A5%AD%E5%8B%99%E5%AE%9F%E7%B8%BE'),jdecode(''),'/41/59.html','true',[],''],
		['PAGE','2120',jdecode('UDX+FOOD+THEATER'),jdecode(''),'/41/2120.html','true',[],''],
		['PAGE','68',jdecode('%E3%82%AF%E3%83%A9%E3%82%A4%E3%82%A2%E3%83%B3%E3%83%88%E3%83%BB%E3%83%AA%E3%82%B9%E3%83%88'),jdecode(''),'/41/68.html','true',[],''],
		['PAGE','1785',jdecode('%E9%9B%91%E8%AA%8C%E3%83%BB%E6%96%B0%E8%81%9E%E6%8E%B2%E8%BC%89%E3%83%BB%E8%AC%9B%E6%BC%94%E5%AE%9F%E7%B8%BE'),jdecode(''),'/41/1785.html','true',[],'']
	],''],
	['PAGE','2327',jdecode('About+US+%28English%29'),jdecode(''),'/2327/index.html','true',[ 
		['PAGE','2366',jdecode('Corporate+Profile'),jdecode(''),'/2327/2366.html','true',[],''],
		['PAGE','2375',jdecode('Major+Client+List+'),jdecode(''),'/2327/2375.html','true',[],''],
		['PAGE','2433',jdecode('Business+Consulting'),jdecode(''),'/2327/2433.html','true',[],''],
		['PAGE','2442',jdecode('Design+Consulting'),jdecode(''),'/2327/2442.html','true',[],'']
	],'']];
var siteelementCount=16;
theSitetree.topTemplateName='Global';
					                                                                    
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 */					                                                            

