/* [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','24',jdecode('%E3%83%9B%E3%83%BC%E3%83%A0'),jdecode(''),'/24.html','true',[],''],
	['PAGE','873',jdecode('%E4%BA%8B%E6%A5%AD%E5%86%85%E5%AE%B9%E3%83%BB%E6%B3%95%E4%BA%BA%E6%A1%88%E5%86%85'),jdecode(''),'/873.html','true',[],''],
	['PAGE','8792',jdecode('%E6%88%90%E5%B9%B4%E5%BE%8C%E8%A6%8B%E5%88%B6%E5%BA%A6%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6'),jdecode(''),'/8792/index.html','true',[ 
		['PAGE','827',jdecode('%E6%B3%95%E5%AE%9A%E5%BE%8C%E8%A6%8B%E5%88%B6%E5%BA%A6%E3%81%A8%E3%81%AF%EF%BC%9F'),jdecode(''),'/8792/827.html','true',[],''],
		['PAGE','836',jdecode('%E4%BB%BB%E6%84%8F%E5%BE%8C%E8%A6%8B%E5%88%B6%E5%BA%A6%E3%81%A8%E3%81%AF%EF%BC%9F'),jdecode(''),'/8792/836.html','true',[],'']
	],''],
	['PAGE','16918',jdecode('%E6%83%85%E5%A0%B1%E5%85%AC%E9%96%8B'),jdecode(''),'/16918/index.html','true',[ 
		['PAGE','16927',jdecode('%E5%AE%9A%E6%AC%BE'),jdecode(''),'/16918/16927.html','true',[],''],
		['PAGE','16954',jdecode('%E4%BA%8B%E6%A5%AD%E8%A8%88%E7%94%BB%E6%9B%B8'),jdecode(''),'/16918/16954.html','true',[],''],
		['PAGE','16963',jdecode('%E4%BA%88%E7%AE%97%E6%9B%B8'),jdecode(''),'/16918/16963.html','true',[],''],
		['PAGE','16972',jdecode('%E4%BA%8B%E6%A5%AD%E5%A0%B1%E5%91%8A%E6%9B%B8'),jdecode(''),'/16918/16972.html','true',[],''],
		['PAGE','17502',jdecode('%E8%B2%B8%E5%80%9F%E5%AF%BE%E7%85%A7%E8%A1%A8'),jdecode(''),'/16918/17502.html','true',[],''],
		['PAGE','17558',jdecode('%E6%90%8D%E7%9B%8A%E8%A8%88%E7%AE%97%E6%9B%B8'),jdecode(''),'/16918/17558.html','true',[],''],
		['PAGE','16981',jdecode('%E4%BA%8B%E6%A5%AD%E8%B2%BB%E6%98%8E%E7%B4%B0%E6%9B%B8'),jdecode(''),'/16918/16981.html','true',[],'']
	],''],
	['PAGE','17020',jdecode('%E8%A6%8F%E5%89%87'),jdecode(''),'/17020/index.html','true',[ 
		['PAGE','17029',jdecode('%E7%90%86%E4%BA%8B%E4%BC%9A%E9%81%8B%E5%96%B6%E8%A6%8F%E5%89%87'),jdecode(''),'/17020/17029.html','true',[],''],
		['PAGE','17038',jdecode('%E7%B5%84%E7%B9%94%E8%A6%8F%E5%89%87'),jdecode(''),'/17020/17038.html','true',[],''],
		['PAGE','17047',jdecode('%E9%81%8B%E5%96%B6%E5%A7%94%E5%93%A1%E4%BC%9A%E8%A6%8F%E5%89%87'),jdecode(''),'/17020/17047.html','true',[],''],
		['PAGE','17056',jdecode('%E5%B0%82%E9%96%80%E5%A7%94%E5%93%A1%E8%A6%8F%E5%89%87'),jdecode(''),'/17020/17056.html','true',[],''],
		['PAGE','17065',jdecode('%E7%90%86%E4%BA%8B%E9%95%B7%E7%AD%89%E3%81%AE%E5%A0%B1%E9%85%AC%E5%8F%8A%E3%81%B3%E8%B2%BB%E7%94%A8%E5%BC%81%E5%84%9F%E3%81%AE%E6%94%AF%E7%B5%A6%E3%81%AB%E9%96%A2%E3%81%99%E3%82%8B%E8%A6%8F%E5%89%87'),jdecode(''),'/17020/17065.html','true',[],''],
		['PAGE','17074',jdecode('%E9%81%8B%E5%96%B6%E5%A7%94%E5%93%A1%E4%BC%9A%E5%A7%94%E5%93%A1%E5%8F%8A%E3%81%B3%E5%B0%82%E9%96%80%E5%A7%94%E5%93%A1%E3%81%AE%E5%A0%B1%E9%85%AC%E5%8F%8A%E3%81%B3%E8%B2%BB%E7%94%A8%E5%BC%81%E5%84%9F%E3%81%AE%E6%94%AF%E7%B5%A6%E3%81%AB%E9%96%A2%E3%81%99%E3%82%8B%E8%A6%8F%E5%89%87'),jdecode(''),'/17020/17074.html','true',[],''],
		['PAGE','17083',jdecode('%E8%81%B7%E5%93%A1%E5%B0%B1%E6%A5%AD%E8%A6%8F%E5%89%87'),jdecode(''),'/17020/17083.html','true',[],''],
		['PAGE','17092',jdecode('%E8%81%B7%E5%93%A1%E7%B5%A6%E4%B8%8E%E8%A6%8F%E5%89%87'),jdecode(''),'/17020/17092.html','true',[],''],
		['PAGE','17101',jdecode('%E9%9D%9E%E5%B8%B8%E5%8B%A4%E8%81%B7%E5%93%A1%E8%A6%8F%E5%89%87'),jdecode(''),'/17020/17101.html','true',[],''],
		['PAGE','17110',jdecode('%E4%BA%8B%E6%A1%88%E6%B1%BA%E5%AE%9A%E6%A8%A9%E9%99%90%E8%A6%8F%E5%89%87'),jdecode(''),'/17020/17110.html','true',[],''],
		['PAGE','17147',jdecode('%E5%A5%91%E7%B4%84%E8%A6%8F%E5%89%87'),jdecode(''),'/17020/17147.html','true',[],''],
		['PAGE','17156',jdecode('%E7%B5%8C%E7%90%86%E8%A6%8F%E5%89%87'),jdecode(''),'/17020/17156.html','true',[],''],
		['PAGE','17165',jdecode('%E6%96%87%E6%9B%B8%E7%AE%A1%E7%90%86%E8%A6%8F%E5%89%87'),jdecode(''),'/17020/17165.html','true',[],''],
		['PAGE','17174',jdecode('%E5%8D%B0%E7%AB%A0%E7%AE%A1%E7%90%86%E8%A6%8F%E5%89%87'),jdecode(''),'/17020/17174.html','true',[],''],
		['PAGE','17183',jdecode('%E7%89%A9%E5%93%81%E7%AE%A1%E7%90%86%E8%A6%8F%E5%89%87'),jdecode(''),'/17020/17183.html','true',[],''],
		['PAGE','17192',jdecode('%E5%80%8B%E4%BA%BA%E6%83%85%E5%A0%B1%E4%BF%9D%E8%AD%B7%E8%A6%8F%E5%89%87'),jdecode(''),'/17020/17192.html','true',[],''],
		['PAGE','17335',jdecode('%E8%87%A8%E6%99%82%E8%81%B7%E5%93%A1%E8%A6%8F%E5%89%87'),jdecode(''),'/17020/17335.html','true',[],''],
		['PAGE','17344',jdecode('%E6%83%85%E5%A0%B1%E5%85%AC%E9%96%8B%E8%A6%8F%E5%89%87'),jdecode(''),'/17020/17344.html','true',[],''],
		['PAGE','18884',jdecode('%E3%83%91%E3%83%BC%E3%83%88%E5%8A%B4%E5%83%8D%E8%80%85%E5%B0%B1%E6%A5%AD%E8%A6%8F%E5%89%87'),jdecode(''),'/17020/18884.html','true',[],'']
	],''],
	['PAGE','18441',jdecode('%E8%AC%9B%E5%BA%A7%E3%82%92%E9%96%8B%E5%82%AC%E3%81%97%E3%81%BE%E3%81%97%E3%81%9F'),jdecode(''),'/18441/index.html','true',[ 
		['PAGE','21087',jdecode('%E8%AC%9B%E6%BC%94%E4%BC%9A%E3%81%AA%E3%81%A9%E3%81%AE%E3%81%8A%E7%9F%A5%E3%82%89%E3%81%9B%E2%91%A1+%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(''),'/18441/21087.html','false',[],'']
	],''],
	['PAGE','21951',jdecode('%E7%9B%B8%E8%AB%87%E4%BC%9A%E3%81%AE%E3%81%8A%E7%9F%A5%E3%82%89%E3%81%9B'),jdecode(''),'/21951/index.html','true',[ 
		['PAGE','22008',jdecode('%E7%94%B3%E8%BE%BC%E3%83%95%E3%82%A9%E3%83%BC%E3%83%A0'),jdecode(''),'/21951/22008/index.html','true',[ 
			['PAGE','22061',jdecode('%E6%96%B0%E3%81%97%E3%81%84%E3%83%9A%E3%83%BC%E3%82%B8+%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(''),'/21951/22008/22061.html','false',[],'']
		],'']
	],''],
	['PAGE','680',jdecode('%E5%95%8F%E5%90%88%E3%81%9B%E3%83%BB%E6%89%80%E5%9C%A8%E5%9C%B0%E3%83%BB%E5%80%8B%E4%BA%BA%E6%83%85%E5%A0%B1%E4%BF%9D%E8%AD%B7'),jdecode(''),'/680.html','true',[],''],
	['PAGE','689',jdecode('%E3%83%AA%E3%83%B3%E3%82%AF'),jdecode(''),'/689.html','true',[],'']];
var siteelementCount=40;
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 */					                                                            
