/* [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('%E5%BA%97%E8%88%97%E6%A1%88%E5%86%85%E3%83%BB%E5%96%B6%E6%A5%AD%E5%86%85%E5%AE%B9'),jdecode(''),'/11.html','true',[],''],
	['PAGE','1030',jdecode('%E3%82%AA%E3%83%BC%E3%83%88%E3%83%90%E3%82%A4%E7%94%A8%E5%93%81'),jdecode(''),'/1030/index.html','true',[ 
		['PAGE','1039',jdecode('%E3%83%98%E3%83%AB%E3%83%A1%E3%83%83%E3%83%88'),jdecode(''),'/1030/1039.html','true',[],''],
		['PAGE','35057',jdecode('%E3%82%B7%E3%83%B3%E3%83%97%E3%82%BD%E3%83%B3+SB13'),jdecode(''),'/1030/35057.html','true',[],''],
		['PAGE','1048',jdecode('%E3%82%B8%E3%83%A3%E3%82%B1%E3%83%83%E3%83%88%E3%83%BB%E3%83%91%E3%83%B3%E3%83%84'),jdecode(''),'/1030/1048.html','true',[],''],
		['PAGE','5067',jdecode('%E3%82%B0%E3%83%AD%E3%83%BC%E3%83%96%E3%83%BB%E3%83%96%E3%83%BC%E3%83%84'),jdecode(''),'/1030/5067.html','true',[],''],
		['PAGE','1057',jdecode('%E3%82%A2%E3%82%AF%E3%82%BB%E3%82%B5%E3%83%AA%E3%83%BC'),jdecode(''),'/1030/1057.html','true',[],''],
		['PAGE','29974',jdecode('%E3%83%AC%E3%83%BC%E3%83%80%E3%83%BC%E6%8E%A2%E7%9F%A5%E6%A9%9F'),jdecode(''),'/1030/29974.html','true',[],''],
		['PAGE','31516',jdecode('%E3%83%8A%E3%83%93%E3%82%B2%E3%83%BC%E3%82%B7%E3%83%A7%E3%83%B3'),jdecode(''),'/1030/31516.html','true',[],''],
		['PAGE','11116',jdecode('%E9%98%B2%E7%8A%AF%E3%82%B0%E3%83%83%E3%82%BA'),jdecode(''),'/1030/11116.html','true',[],''],
		['PAGE','6276',jdecode('%E3%83%AC%E3%82%A4%E3%83%B3%E3%82%A6%E3%82%A8%E3%82%A2'),jdecode(''),'/1030/6276.html','true',[],'']
	],''],
	['PAGE','4738',jdecode('%E3%82%AA%E3%83%BC%E3%83%88%E3%83%90%E3%82%A4%E9%83%A8%E5%93%81'),jdecode(''),'/4738/index.html','true',[ 
		['PAGE','4747',jdecode('%E3%83%9E%E3%83%95%E3%83%A9%E3%83%BC'),jdecode(''),'/4738/4747.html','true',[],''],
		['PAGE','4756',jdecode('%EF%BE%98%EF%BD%B1%EF%BE%8E%EF%BE%9E%EF%BD%AF%EF%BD%B8%EF%BD%BD%EF%BD%A5%EF%BE%80%EF%BE%9D%EF%BD%B8%EF%BE%8A%EF%BE%9E%EF%BD%AF%EF%BD%B8'),jdecode(''),'/4738/4756.html','true',[],''],
		['PAGE','4765',jdecode('%E3%82%BF%E3%82%A4%E3%83%A4'),jdecode(''),'/4738/4765.html','true',[],''],
		['PAGE','33074',jdecode('%E3%82%BF%E3%82%A4%E3%83%A4%E4%BA%A4%E6%8F%9B'),jdecode(''),'/4738/33074.html','true',[],''],
		['PAGE','33742',jdecode('%E3%83%90%E3%83%83%E3%83%86%E3%83%AA%E3%83%BC'),jdecode(''),'/4738/33742.html','true',[],''],
		['PAGE','4774',jdecode('%E3%82%AB%E3%82%B9%E3%82%BF%E3%83%A0%E3%83%91%E3%83%BC%E3%83%84'),jdecode(''),'/4738/4774.html','true',[],''],
		['PAGE','4783',jdecode('%E3%82%AB%E3%83%A1%E3%83%AC%E3%82%AA%E3%83%B3%E3%83%95%E3%82%A1%E3%82%AF%E3%83%88%E3%83%AA%E3%83%BC'),jdecode(''),'/4738/4783.html','true',[],''],
		['PAGE','5997',jdecode('%EF%BC%AC%EF%BC%A5%EF%BC%A4%E3%82%B3%E3%83%BC%E3%83%8A%E3%83%BC'),jdecode(''),'/4738/5997.html','true',[],''],
		['PAGE','6954',jdecode('%EF%BC%AF%EF%BC%A9%EF%BC%AC%E3%83%BB%E3%82%B1%E3%83%9F%E3%82%AB%E3%83%AB%E7%94%A8%E5%93%81'),jdecode(''),'/4738/6954.html','true',[],''],
		['PAGE','10408',jdecode('%EF%BC%A5%EF%BC%B4%EF%BC%A3'),jdecode(''),'/4738/10408.html','true',[],''],
		['PAGE','29183',jdecode('%E3%83%9B%E3%83%83%E3%83%88%E3%82%B0%E3%83%AA%E3%83%83%E3%83%97'),jdecode(''),'/4738/29183.html','true',[],''],
		['PAGE','16458',jdecode('%E5%9B%9E%E5%8B%95%E3%81%8F%E3%82%93%E3%83%BB%E6%89%8D%E5%8B%95%E3%81%8F%E3%82%93'),jdecode(''),'/4738/16458.html','true',[],''],
		['PAGE','6311',jdecode('%E2%98%85%E4%BB%8A%E6%9C%88%E3%81%AE%E3%81%8A%E3%81%99%E3%81%99%E3%82%81'),jdecode(''),'/4738/6311.html','true',[],'']
	],''],
	['PAGE','9723',jdecode('%E6%96%B0%E4%BD%9C%E5%95%86%E5%93%81'),jdecode(''),'/9723/index.html','true',[ 
		['PAGE','35458',jdecode('ROUGH+%26+ROAD'),jdecode(''),'/9723/35458.html','true',[],''],
		['PAGE','35668',jdecode('elf'),jdecode(''),'/9723/35668.html','true',[],''],
		['PAGE','35677',jdecode('SIMPSON'),jdecode(''),'/9723/35677.html','true',[],'']
	],''],
	['PAGE','35355',jdecode('%E2%98%86SALE+%E5%95%86%E5%93%81%E2%98%86'),jdecode(''),'/35355.html','true',[],''],
	['PAGE','4831',jdecode('%E3%82%B9%E3%82%BF%E3%83%83%E3%83%95%E7%B4%B9%E4%BB%8B'),jdecode(''),'/4831.html','true',[],''],
	['PAGE','3107',jdecode('%E3%82%AA%E3%83%B3%E3%83%A9%E3%82%A4%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%97'),jdecode(''),'/3107.html','true',[],''],
	['PAGE','4725',jdecode('%E3%81%BF%E3%82%93%E3%81%AA%E3%81%AE%E3%83%90%E3%82%A4%E3%82%AF'),jdecode(''),'/4725.html','true',[],''],
	['PAGE','16881',jdecode('%E6%8A%95%E7%A8%BF'),jdecode(''),'/16881/index.html','true',[ 
		['PAGE','16880',jdecode('%E6%8A%95%E7%A8%BF%E4%B8%80%E8%A6%A7'),jdecode(''),'/16881/16880.html','true',[],'']
	],''],
	['PAGE','24063',jdecode('%E5%89%B2%E5%BC%95%E5%88%B8'),jdecode(''),'/24063.html','true',[],''],
	['PAGE','25153',jdecode('%E6%B3%A8%E6%96%87%E3%83%BB%E5%95%8F%E5%90%88%E3%81%9B%E3%81%AF%E3%81%93%E3%81%A1%E3%82%89'),jdecode(''),'/25153/index.html','true',[ 
		['PAGE','25189',jdecode('%E8%B3%AA%E5%95%8F%E3%83%BB%E5%95%8F%E5%90%88%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(''),'/25153/25189.html','false',[],'']
	],'']];
var siteelementCount=38;
theSitetree.topTemplateName='Time';
					                                                                    
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 */					                                                            

