/* [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','25747',jdecode('%E6%9B%B8%E7%B1%8D%E3%80%8E%E5%A4%89%E6%8F%9B%E3%80%8F%E2%85%A0%E3%80%81%E2%85%A1'),jdecode(''),'/25747/index.html','true',[ 
		['PAGE','26100',jdecode('%E5%85%B1%E9%B3%B4%E3%81%95%E3%82%8C%E3%81%9F%E6%96%B9%E3%80%85%E3%81%B8'),jdecode(''),'/25747/26100.html','true',[],''],
		['PAGE','27835',jdecode('%E3%80%8E%E5%A4%89%E6%8F%9B%E3%80%8F%E3%82%92%E3%81%8A%E6%8C%81%E3%81%A1%E3%81%AE%E6%96%B9%E3%81%B8'),jdecode(''),'/25747/27835.html','true',[],''],
		['PAGE','26850',jdecode('%E3%80%8E%E6%B3%A2%E5%8B%95%E3%81%AE%E6%B3%95%E5%89%87%E3%80%8F'),jdecode(''),'/25747/26850.html','true',[],'']
	],''],
	['PAGE','11',jdecode('%E3%80%8C+%E3%81%82+%E3%81%AA+%E3%81%9F+%E3%80%8D%E3%81%B8'),jdecode(''),'/11/index.html','true',[ 
		['PAGE','3013',jdecode('%E5%A4%9A%E3%81%8F%E3%81%AE%E3%81%82%E3%81%AA%E3%81%9F%E6%96%B9%E3%81%B8'),jdecode(''),'/11/3013.html','true',[],''],
		['PAGE','21029',jdecode('%E5%A4%9A%E3%81%8F%E3%81%AE%E3%81%82%E3%81%AA%E3%81%9F%E6%96%B9%E3%81%B8%E2%91%A1'),jdecode(''),'/11/21029.html','true',[],''],
		['PAGE','21714',jdecode('%E6%84%9B%E3%81%AE%E6%84%8F%E8%AD%98%E3%81%95%E3%82%93%E3%81%B8'),jdecode(''),'/11/21714.html','true',[],'']
	],''],
	['PAGE','4343',jdecode('%EF%BC%A1%EF%BC%A9%E4%B8%96%E7%95%8C%E5%9F%BA%E9%87%91'),jdecode(''),'/4343.html','true',[],''],
	['PAGE','26444',jdecode('%E3%81%82%E3%82%8A%E3%81%8C%E3%81%A8%E3%81%86%E3%81%94%E3%81%96%E3%81%84%E3%81%BE%E3%81%99'),jdecode(''),'/26444/index.html','true',[ 
		['PAGE','25918',jdecode('%E3%80%8E%E5%A4%89%E6%8F%9B%E3%80%8F%E9%87%8D%E8%A6%81%E9%A0%85%E7%9B%AE%E3%81%AE%E8%A3%9C%E8%B6%B3'),jdecode(''),'/26444/25918.html','true',[],''],
		['PAGE','25927',jdecode('%E4%BF%A1%E5%A5%89%E3%81%AA%E3%81%95%E3%82%89%E3%81%AA%E3%81%84%E3%82%88%E3%81%86%E3%81%AB'),jdecode(''),'/26444/25927.html','true',[],''],
		['PAGE','25017',jdecode('%E3%80%8C%E3%81%B6%E3%82%8C%E3%81%AA%E3%81%84%E3%80%8D'),jdecode(''),'/26444/25017.html','true',[],''],
		['PAGE','25026',jdecode('%E4%BF%A1%E9%A0%BC%E3%81%AB%E5%9F%BA%E3%81%A5%E3%81%84%E3%81%9F%E3%81%94%E5%AF%84%E4%BB%98'),jdecode(''),'/26444/25026.html','true',[],''],
		['PAGE','25035',jdecode('%E7%99%BA%E6%8C%AF%E3%80%90%EF%BC%91%E3%80%91'),jdecode(''),'/26444/25035.html','true',[],''],
		['PAGE','26226',jdecode('%E7%9F%A5%E3%82%89%E3%81%95%E3%81%9B%E3%81%A6%E3%81%84%E3%81%9F%E3%81%A0%E3%81%8F'),jdecode(''),'/26444/26226.html','true',[],''],
		['PAGE','24770',jdecode('%EF%BC%B0%EF%BC%B2%EF%BC%A1%EF%BC%B5%E3%81%8B%E3%82%89%E3%81%82%E3%81%AA%E3%81%9F%E3%81%B8'),jdecode(''),'/26444/24770.html','true',[],'']
	],''],
	['PAGE','9333',jdecode('%E3%80%8C%E6%B0%97%E3%81%A5%E3%81%8F%E3%80%8D%E3%81%AF%E3%80%8C%E5%A4%89%E6%8F%9B%E3%80%8D'),jdecode(''),'/9333/index.html','true',[ 
		['PAGE','9342',jdecode('%E6%80%92%E3%82%8A%E3%81%AE%E6%84%9F%E6%83%85%E3%81%AF%E5%A4%A7%E5%88%87%E3%81%AB'),jdecode(''),'/9333/9342.html','true',[],''],
		['PAGE','9360',jdecode('%E6%84%9B%E3%81%A8%E6%84%9B%E6%83%85'),jdecode(''),'/9333/9360.html','true',[],''],
		['PAGE','8232',jdecode('%E9%80%B2%E5%8C%96%E3%81%97%E3%81%9F%E9%AB%98%E6%AC%A1%E5%85%83%E3%81%AE%E5%8D%94%E8%AA%BF'),jdecode(''),'/9333/8232.html','true',[],'']
	],''],
	['PAGE','10539',jdecode('%EF%BC%B0%EF%BC%B2%EF%BC%A1%EF%BC%B5%E3%82%88%E3%82%8A%E3%81%82%E3%81%AA%E3%81%9F%E3%81%B8'),jdecode(''),'/10539/index.html','true',[ 
		['PAGE','10548',jdecode('%E5%B0%8F%E3%81%95%E3%81%AA%E5%BA%AD'),jdecode(''),'/10539/10548.html','true',[],''],
		['PAGE','18929',jdecode('%E3%81%8A%E3%81%8A%E3%81%8D%E3%81%AA%E6%B4%A5%E6%B3%A2'),jdecode(''),'/10539/18929.html','true',[],''],
		['PAGE','19751',jdecode('%E5%B0%8F%E3%81%95%E3%81%AA%E5%BA%AD%E2%80%9C%E3%83%95%E3%82%A1%E3%83%BC%E3%82%B5%E2%80%9D'),jdecode(''),'/10539/19751.html','true',[],''],
		['PAGE','19760',jdecode('%E9%87%8D%E8%A6%81%E3%81%AA%E6%83%85%E5%A0%B1%E3%81%AE%E3%81%8A%E4%BC%9D%E3%81%88'),jdecode(''),'/10539/19760.html','true',[],''],
		['PAGE','22557',jdecode('%E7%99%BA%E5%88%8A%E3%81%AB%E3%81%82%E3%81%9F%E3%81%A3%E3%81%A6'),jdecode(''),'/10539/22557.html','true',[],''],
		['PAGE','23957',jdecode('%E3%80%8C%E6%B0%B4%E3%80%8D%E3%81%AE%EF%BC%A4%EF%BC%B6%EF%BC%A4'),jdecode(''),'/10539/23957.html','true',[],''],
		['PAGE','26595',jdecode('%E7%9B%B4%E7%AD%86%E3%83%A1%E3%83%83%E3%82%BB%E3%83%BC%E3%82%B8'),jdecode(''),'/10539/26595.html','true',[],''],
		['PAGE','1029',jdecode('%E4%BB%8A%E7%94%9F%E3%81%AE%E3%81%82%E3%82%86%E3%81%BF'),jdecode(''),'/10539/1029.html','true',[],'']
	],''],
	['PAGE','19212',jdecode('%EF%BC%B0%EF%BC%B2%EF%BC%A1%EF%BC%B5%E5%AE%9F%E7%94%9F%E6%B4%BB%E8%A8%98'),jdecode(''),'/19212/index.html','true',[ 
		['PAGE','21910',jdecode('%E8%A3%BD%E5%93%81%E3%81%95%E3%82%93%E3%81%AE%E3%81%94%E6%B4%BB%E8%BA%8D'),jdecode(''),'/19212/21910.html','true',[],''],
		['PAGE','22179',jdecode('%E7%B7%8F%E5%90%88%E7%9A%84%E3%81%AA%E3%81%A1%E3%81%8B%E3%82%89'),jdecode(''),'/19212/22179.html','true',[],''],
		['PAGE','30347',jdecode('%E6%A2%85%E9%9B%A8%28%E3%81%82%E3%82%81%29'),jdecode(''),'/19212/30347.html','true',[],''],
		['PAGE','31288',jdecode('%E3%81%8A%E3%83%88%E3%82%A4%E3%83%AC%E3%81%9D%E3%81%86%E3%81%98%E5%A4%A7%E4%BD%9C%E6%88%A6%E3%80%94%EF%BC%91%E3%80%95'),jdecode(''),'/19212/31288.html','true',[],'']
	],''],
	['PAGE','28477',jdecode('%E3%81%BF%E3%81%AA%E3%81%95%E3%81%BE%E6%96%B9%E3%81%A8%E3%81%AE%EF%BC%B1%EF%BC%86%EF%BC%A1'),jdecode(''),'/28477.html','true',[],''],
	['PAGE','11841',jdecode('%E3%81%8A%E3%81%97%E3%82%89%E3%81%9B%EF%BC%88%EF%BC%98%EF%BC%8E%EF%BC%94+new%EF%BC%89'),jdecode(''),'/11841.html','true',[],'']];
var siteelementCount=37;
theSitetree.topTemplateName='Borders';
					                                                                    
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 */					                                                            
