/* [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','1012',jdecode('%EF%BC%A1%EF%BC%A3%E3%83%BB%EF%BC%AB%EF%BC%A9%EF%BC%B4%EF%BC%A1%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6'),jdecode(''),'/1012/index.html','true',[ 
		['PAGE','3920',jdecode('%E7%B7%B4%E7%BF%92%E5%A0%B4%E6%89%80%E3%83%BB%E6%97%A5%E7%A8%8B'),jdecode(''),'/1012/3920.html','true',[],''],
		['PAGE','3397',jdecode('%E5%BD%B9%E5%93%A1'),jdecode(''),'/1012/3397.html','true',[],''],
		['PAGE','3406',jdecode('%E7%9F%AD%E3%83%BB%E8%B7%B3%E8%BA%8D%E3%83%BB%E6%8A%95%E3%83%96%E3%83%AD%E3%83%83%E3%82%AF'),jdecode(''),'/1012/3406.html','true',[],''],
		['PAGE','4364',jdecode('%E4%B8%AD%E3%83%BB%E9%95%B7%E8%B7%9D%E9%9B%A2%E3%83%96%E3%83%AD%E3%83%83%E3%82%AF'),jdecode(''),'/1012/4364.html','true',[],''],
		['PAGE','3320',jdecode('%E9%83%A8%E5%93%A1%E5%8B%9F%E9%9B%86'),jdecode(''),'/1012/3320.html','true',[],''],
		['PAGE','1030',jdecode('%E6%B2%BF%E9%9D%A9'),jdecode(''),'/1012/1030.html','true',[],'']
	],''],
	['PAGE','22761',jdecode('%E3%83%81%E3%83%BC%E3%83%A0%E6%9C%80%E9%AB%98%E8%A8%98%E9%8C%B2'),jdecode(''),'/22761/index.html','true',[ 
		['PAGE','22869',jdecode('%E3%83%81%E3%83%BC%E3%83%A0%E6%9C%80%E9%AB%98%E8%A8%98%E9%8C%B2%28%E7%94%B7%E5%AD%90%29'),jdecode(''),'/22761/22869.html','true',[],''],
		['PAGE','22878',jdecode('%E3%83%81%E3%83%BC%E3%83%A0%E6%9C%80%E9%AB%98%E8%A8%98%E9%8C%B2%28%E5%A5%B3%E5%AD%90%29'),jdecode(''),'/22761/22878.html','true',[],'']
	],''],
	['PAGE','24560',jdecode('%E7%94%B7%E5%A5%B3%E3%83%9E%E3%83%A9%E3%82%BD%E3%83%B3%E6%AD%B4%E4%BB%A3%E8%A8%98%E9%8C%B2'),jdecode(''),'/24560/index.html','true',[ 
		['PAGE','24569',jdecode('%E7%94%B7%E5%AD%90%E3%83%9E%E3%83%A9%E3%82%BD%E3%83%B3%E6%AD%B4%E4%BB%A3%E8%A8%98%E9%8C%B2'),jdecode(''),'/24560/24569.html','true',[],''],
		['PAGE','24578',jdecode('%E5%A5%B3%E5%AD%90%E3%83%9E%E3%83%A9%E3%82%BD%E3%83%B3%E6%AD%B4%E4%BB%A3%E8%A8%98%E9%8C%B2'),jdecode(''),'/24560/24578.html','true',[],'']
	],''],
	['PAGE','19221',jdecode('%E5%86%99%E7%9C%9F%E9%A4%A8'),jdecode(''),'/19221/index.html','true',[ 
		['PAGE','20571',jdecode('%E7%AC%AC%EF%BC%92%EF%BC%90%E5%9B%9E%E6%A8%AA%E6%B5%9C%E9%A7%85%E4%BC%9D%E5%86%99%E7%9C%9F'),jdecode(''),'/19221/20571.html','true',[],''],
		['PAGE','20291',jdecode('%E7%AC%AC11%E5%9B%9E%E4%B9%9D%E5%B7%9E%E3%83%81%E3%83%A3%E3%83%AC%E3%83%B3%E3%82%B8'),jdecode(''),'/19221/20291.html','true',[],''],
		['PAGE','19643',jdecode('%EF%BC%92%EF%BC%90%EF%BC%90%EF%BC%97%E3%82%B8%E3%83%A3%E3%83%91%E3%83%A9'),jdecode(''),'/19221/19643.html','true',[],''],
		['PAGE','19006',jdecode('%EF%BC%A9%EF%BC%A2%EF%BC%B3%EF%BC%A1%E4%B8%96%E7%95%8C%E9%99%B8%E4%B8%8A'),jdecode(''),'/19221/19006.html','true',[],''],
		['PAGE','24172',jdecode('%E5%B9%B3%E6%88%9021%E5%B9%B4%E5%BA%A6'),jdecode(''),'/19221/24172.html','true',[],''],
		['PAGE','25237',jdecode('2009%E3%82%B8%E3%83%A3%E3%83%91%E3%83%A9'),jdecode(''),'/19221/25237.html','true',[],''],
		['PAGE','25708',jdecode('%E5%B9%B3%E6%88%9022%E5%B9%B4%E5%BA%A6'),jdecode(''),'/19221/25708.html','true',[],''],
		['PAGE','26526',jdecode('%E5%B9%B3%E6%88%9023%E5%B9%B4%E5%BA%A6'),jdecode(''),'/19221/26526.html','true',[],'']
	],''],
	['PAGE','25870',jdecode('%E5%B9%B4%E9%96%93%E3%82%B9%E3%82%B1%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB'),jdecode(''),'/25870.html','true',[],''],
	['PAGE','26535',jdecode('%E5%A4%A7%E4%BC%9A%E7%B5%90%E6%9E%9C%E3%83%BB%E5%B9%B3%E6%88%9023%E5%B9%B4%E5%BA%A6'),jdecode(''),'/26535.html','true',[],''],
	['PAGE','25717',jdecode('%E5%A4%A7%E4%BC%9A%E7%B5%90%E6%9E%9C%E3%83%BB%E5%B9%B3%E6%88%9022%E5%B9%B4%E5%BA%A6'),jdecode(''),'/25717.html','true',[],''],
	['PAGE','22240',jdecode('%E5%A4%A7%E4%BC%9A%E7%B5%90%E6%9E%9C%E3%83%BB%E5%B9%B3%E6%88%9021%E5%B9%B4%E5%BA%A6'),jdecode(''),'/22240.html','true',[],''],
	['PAGE','20396',jdecode('%E5%A4%A7%E4%BC%9A%E7%B5%90%E6%9E%9C%E3%83%BB%E5%B9%B3%E6%88%9020%E5%B9%B4%E5%BA%A6'),jdecode(''),'/20396.html','true',[],''],
	['PAGE','20387',jdecode('%E5%A4%A7%E4%BC%9A%E7%B5%90%E6%9E%9C%E3%83%BB%E5%B9%B3%E6%88%9019%E5%B9%B4%E5%BA%A6'),jdecode(''),'/20387.html','true',[],''],
	['PAGE','18370',jdecode('%E7%B7%B4%E7%BF%92%E4%BC%9A%E3%81%AE%E3%81%8A%E7%9F%A5%E3%82%89%E3%81%9B'),jdecode(''),'/18370/index.html','true',[ 
		['PAGE','18410',jdecode('%E6%B0%B4%E6%9B%9C%E7%B7%B4%E7%BF%92%E4%BC%9A'),jdecode(''),'/18370/18410.html','true',[],'']
	],''],
	['PAGE','3882',jdecode('%E5%A4%8F%E5%AD%A3%E5%90%88%E5%AE%BF'),jdecode(''),'/3882.html','true',[],''],
	['PAGE','4014',jdecode('%E5%86%AC%E5%AD%A3%E5%90%88%E5%AE%BF'),jdecode(''),'/4014.html','true',[],''],
	['PAGE','4083',jdecode('%E3%83%A1%E3%83%87%E3%82%A3%E3%82%A2%E9%96%A2%E9%80%A3%E6%83%85%E5%A0%B1'),jdecode(''),'/4083.html','true',[],''],
	['PAGE','4586',jdecode('%E3%83%AA%E3%83%B3%E3%82%AF'),jdecode(''),'/4586.html','true',[],''],
	['PAGE','20794',jdecode('%E3%81%8A%E5%95%8F%E5%90%88%E3%81%9B%E5%85%88'),jdecode(''),'/20794.html','true',[],''],
	['PAGE','22913',jdecode('%E3%81%8A%E7%9F%A5%E3%82%89%E3%81%9B'),jdecode(''),'/22913/index.html','true',[ 
		['PAGE','26544',jdecode('%E6%9D%B1%E6%97%A5%E6%9C%AC%E5%A4%A7%E9%9C%87%E7%81%BD%E3%81%AE%E5%AF%84%E4%BB%98%E9%87%91'),jdecode(''),'/22913/26544.html','true',[],'']
	],'']];
var siteelementCount=38;
theSitetree.topTemplateName='Match';
					                                                                    
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 */					                                                            

