/* [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','19',jdecode('%E3%83%9B%E3%83%BC%E3%83%A0'),jdecode(''),'/19/index.html','true',[ 
		['PAGE','39108',jdecode('What%26%23x27%3Bs+new'),jdecode(''),'/19/39108.html','true',[],''],
		['PAGE','39373',jdecode('News%EF%BC%86Topics'),jdecode(''),'/19/39373.html','true',[],'']
	],''],
	['PAGE','1100',jdecode('%E5%AD%A6%E9%95%B7%E3%81%8B%E3%82%89%E3%81%AE%E3%83%A1%E3%83%83%E3%82%BB%E3%83%BC%E3%82%B8'),jdecode(''),'/1100.html','true',[],''],
	['PAGE','1262',jdecode('%E6%9C%AC%E5%AD%A6%E6%B2%BF%E9%9D%A9%E3%81%A8%E3%80%8C%E5%BB%BA%E5%AD%A6%E3%81%AE%E7%B2%BE%E7%A5%9E%E3%80%8D'),jdecode(''),'/1262.html','true',[],''],
	['PAGE','43079',jdecode('%E3%82%A2%E3%83%89%E3%83%9F%E3%83%83%E3%82%B7%E3%83%A7%E3%83%B3%E3%83%BB%E3%83%9D%E3%83%AA%E3%82%B7%E3%83%BC'),jdecode(''),'/43079.html','true',[],''],
	['PAGE','6790',jdecode('%E5%AD%A6%E7%A7%91%E7%B4%B9%E4%BB%8B'),jdecode(''),'/6790/index.html','true',[ 
		['PAGE','1313',jdecode('%E5%AE%B6%E6%94%BF%E5%AD%A6%E7%A7%91'),jdecode(''),'/6790/1313.html','true',[],''],
		['PAGE','1322',jdecode('%E5%85%90%E7%AB%A5%E5%AD%A6%E7%A7%91'),jdecode(''),'/6790/1322.html','true',[],''],
		['PAGE','9288',jdecode('%E3%82%AB%E3%83%AA%E3%82%AD%E3%83%A5%E3%83%A9%E3%83%A0%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6'),jdecode(''),'/6790/9288.html','true',[],''],
		['PAGE','8747',jdecode('%E6%95%99%E5%93%A1%E4%B8%80%E8%A6%A7'),jdecode(''),'/6790/8747.html','true',[],'']
	],''],
	['PAGE','9323',jdecode('%E6%96%BD%E8%A8%AD%E8%A8%AD%E5%82%99'),jdecode(''),'/9323.html','true',[],''],
	['PAGE','53330',jdecode('%E5%AD%A6%E7%94%9F%E3%81%B8%E3%81%AE%E5%90%84%E7%A8%AE%E6%94%AF%E6%8F%B4'),jdecode(''),'/53330/index.html','true',[ 
		['PAGE','53469',jdecode('%E5%B0%B1%E8%81%B7%E3%82%B5%E3%83%9D%E3%83%BC%E3%83%88'),jdecode(''),'/53330/53469.html','true',[],'']
	],''],
	['PAGE','3354',jdecode('%E5%A4%A7%E5%AD%A6%E7%94%9F%E6%B4%BB'),jdecode(''),'/3354/index.html','true',[ 
		['PAGE','16244',jdecode('%E5%B9%B4%E9%96%93%E8%A1%8C%E4%BA%8B'),jdecode(''),'/3354/16244.html','true',[],'']
	],''],
	['PAGE','3372',jdecode('%E5%85%A5%E8%A9%A6%E6%83%85%E5%A0%B1%28%E5%AD%A6%E7%94%9F%E5%8B%9F%E9%9B%86%E8%A6%81%E9%A0%85%29'),jdecode(''),'/3372.html','true',[],''],
	['PAGE','6453',jdecode('%E5%A5%A8%E5%AD%A6%E9%87%91'),jdecode(''),'/6453.html','true',[],''],
	['PAGE','3363',jdecode('%E5%AD%A6%E7%94%9F%E5%AF%AE'),jdecode(''),'/3363.html','true',[],''],
	['PAGE','3381',jdecode('%E9%80%B2%E8%B7%AF%E6%83%85%E5%A0%B1'),jdecode(''),'/3381.html','true',[],''],
	['PAGE','3390',jdecode('%E6%89%80%E5%9C%A8%E5%9C%B0%E3%83%9E%E3%83%83%E3%83%97'),jdecode(''),'/3390.html','true',[],''],
	['PAGE','3399',jdecode('%E8%B3%87%E6%96%99%E8%AB%8B%E6%B1%82'),jdecode(''),'/3399.html','true',[],''],
	['PAGE','46932',jdecode('%E6%83%85%E5%A0%B1%E9%96%8B%E7%A4%BA'),jdecode(''),'/46932.html','true',[],''],
	['PAGE','55865',jdecode('%E8%87%AA%E5%B7%B1%E8%A9%95%E4%BE%A1%E5%A0%B1%E5%91%8A%E6%9B%B8'),jdecode(''),'/55865.html','true',[],''],
	['PAGE','8848',jdecode('%E3%82%88%E3%81%8F%E3%81%82%E3%82%8B%E3%81%8A%E5%95%8F%E5%90%88%E3%81%9B'),jdecode(''),'/8848.html','true',[],''],
	['PAGE','8809',jdecode('%E5%A7%89%E5%A6%B9%E6%A0%A1'),jdecode(''),'/8809.html','true',[],''],
	['PAGE','63387',jdecode('%E6%95%99%E5%93%A1%E5%85%AC%E5%8B%9F'),jdecode(''),'/63387.html','true',[],''],
	['PAGE','37695',jdecode('%E3%80%80%E2%97%86%E5%8F%97%E9%A8%93%E7%94%9F%E3%81%B8'),jdecode(''),'/37695.html','true',[],''],
	['PAGE','37758',jdecode('%E3%80%80%E2%97%86%E5%9C%A8%E5%AD%A6%E7%94%9F%E3%81%B8'),jdecode(''),'/37758.html','true',[],''],
	['PAGE','38603',jdecode('%E3%80%80%E2%97%87%E5%8D%92%E6%A5%AD%E7%94%9F%E3%81%B8'),jdecode(''),'/38603/index.html','true',[ 
		['PAGE','37767',jdecode('%E3%80%80%E3%80%80%E8%A8%BC%E6%98%8E%E6%9B%B8%E3%81%AE%E7%94%B3%E8%BE%BC%E6%89%8B%E7%B6%9A%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6'),jdecode(''),'/38603/37767.html','true',[],''],
		['PAGE','38539',jdecode('%E3%80%80%E3%80%80%E8%BF%91%E6%B3%81%E5%A0%B1%E5%91%8A'),jdecode(''),'/38603/38539.html','true',[],''],
		['PAGE','38593',jdecode('%E8%BF%91%E6%B3%81%E5%A0%B1%E5%91%8A+%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(''),'/38603/38593.html','false',[],''],
		['PAGE','38557',jdecode('%E3%80%80%E3%80%80%E5%AD%A6%E5%9C%92%E5%A0%B1%E3%80%8C%E3%81%AB%E3%82%8F%E3%81%86%E3%82%8B%E3%81%97%E3%80%8D'),jdecode(''),'/38603/38557.html','true',[],''],
		['PAGE','38548',jdecode('%E3%80%80%E3%80%80%E6%9D%B1%E5%8C%97%E5%A5%B3%E5%AD%90%E5%A4%A7%E5%AD%A6%E3%80%90%E5%90%8C%E7%AA%93%E4%BC%9A%E3%80%91'),jdecode(''),'/38603/38548.html','true',[],'']
	],''],
	['PAGE','3408',jdecode('%E3%80%80%E2%97%87%E4%BC%81%E6%A5%AD%E3%81%AE%E6%96%B9%E3%81%B8'),jdecode(''),'/3408.html','true',[],''],
	['PAGE','39243',jdecode('%E3%80%80%E3%80%80%E3%80%80'),jdecode(''),'/39243/index.html','true',[ 
		['PAGE','56737',jdecode('%E3%80%80'),jdecode(''),'/39243/56737.html','true',[],''],
		['PAGE','61461',jdecode('%E3%80%80'),jdecode(''),'/39243/61461.html','true',[],''],
		['PAGE','61760',jdecode('%E3%80%80'),jdecode(''),'/39243/61760.html','true',[],''],
		['PAGE','58137',jdecode('%E3%80%80'),jdecode(''),'/39243/58137.html','true',[],''],
		['PAGE','44556',jdecode('%E3%80%80'),jdecode(''),'/39243/44556.html','true',[],''],
		['PAGE','63972',jdecode('%E3%80%80%E3%80%80'),jdecode(''),'/39243/63972.html','true',[],''],
		['PAGE','64268',jdecode('%E3%80%80'),jdecode(''),'/39243/64268.html','true',[],''],
		['PAGE','53932',jdecode('+%E3%80%80'),jdecode(''),'/39243/53932.html','true',[],''],
		['PAGE','62964',jdecode('+'),jdecode(''),'/39243/62964.html','true',[],''],
		['PAGE','47690',jdecode('+'),jdecode(''),'/39243/47690.html','true',[],''],
		['PAGE','46617',jdecode('+'),jdecode(''),'/39243/46617.html','true',[],''],
		['PAGE','60802',jdecode('+%E3%80%80'),jdecode(''),'/39243/60802.html','true',[],''],
		['PAGE','46196',jdecode('%E3%80%80'),jdecode(''),'/39243/46196.html','true',[],''],
		['PAGE','60548',jdecode('%E3%80%80'),jdecode(''),'/39243/60548.html','true',[],''],
		['PAGE','58640',jdecode('+'),jdecode(''),'/39243/58640.html','true',[],''],
		['PAGE','45521',jdecode('%E3%80%80%E3%80%80'),jdecode(''),'/39243/45521.html','true',[],''],
		['PAGE','44970',jdecode('%E3%80%80'),jdecode(''),'/39243/44970.html','true',[],''],
		['PAGE','41915',jdecode('%E3%80%80'),jdecode(''),'/39243/41915.html','true',[],''],
		['PAGE','41116',jdecode('%E3%80%80'),jdecode(''),'/39243/41116.html','true',[],''],
		['PAGE','41107',jdecode('%E3%80%80%E3%80%80'),jdecode(''),'/39243/41107.html','true',[],''],
		['PAGE','41720',jdecode('%E3%80%80'),jdecode(''),'/39243/41720.html','true',[],''],
		['PAGE','41098',jdecode('%E3%80%80'),jdecode(''),'/39243/41098.html','true',[],''],
		['PAGE','40933',jdecode('%E3%80%80'),jdecode(''),'/39243/40933.html','true',[],''],
		['PAGE','55461',jdecode('%E3%80%80'),jdecode(''),'/39243/55461.html','true',[],''],
		['PAGE','55200',jdecode('%E3%80%80'),jdecode(''),'/39243/55200.html','true',[],''],
		['PAGE','54980',jdecode('%E3%80%80'),jdecode(''),'/39243/54980.html','true',[],''],
		['PAGE','54686',jdecode('%E3%80%80'),jdecode(''),'/39243/54686.html','true',[],''],
		['PAGE','54370',jdecode('+%E3%80%80%E3%80%80'),jdecode(''),'/39243/54370.html','true',[],''],
		['PAGE','49483',jdecode('%E3%80%80%E3%80%80'),jdecode(''),'/39243/49483.html','true',[],''],
		['PAGE','47145',jdecode('%E3%80%80'),jdecode(''),'/39243/47145.html','true',[],''],
		['PAGE','46205',jdecode('%E3%80%80'),jdecode(''),'/39243/46205.html','true',[],''],
		['PAGE','62780',jdecode('+'),jdecode(''),'/39243/62780.html','true',[],'']
	],'']];
var siteelementCount=69;
theSitetree.topTemplateName='Alpha';
					                                                                    
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 */					                                                            

