/* [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%88%E3%83%83%E3%83%97%E3%83%9A%E3%83%BC%E3%82%B8'),jdecode(''),'/11.html','true',[],''],
	['PAGE','2648',jdecode('%E3%82%84%E3%81%9B%E3%82%8B%EF%BC%81%E8%A8%BC%E6%8B%A0%E5%86%99%E7%9C%9F'),jdecode(''),'/2648.html','true',[],''],
	['PAGE','6799',jdecode('%E3%83%80%E3%82%A4%E3%82%A8%E3%83%83%E3%83%88%E4%BD%93%E9%A8%93%E8%A8%98'),jdecode(''),'/6799.html','true',[],''],
	['PAGE','2175',jdecode('%E5%84%AA%E3%82%8C%E3%81%9F%EF%BC%91%EF%BC%90%E3%81%AE%E7%89%B9%E5%BE%B4'),jdecode(''),'/2175.html','true',[],''],
	['PAGE','2799',jdecode('%E7%97%A9%E8%BA%AB%E3%83%86%E3%82%AD%E3%82%B9%E3%83%88%E7%B4%B9%E4%BB%8B'),jdecode(''),'/2799.html','true',[],''],
	['PAGE','7205',jdecode('%E7%97%A9%E8%BA%AB%E3%83%86%E3%82%AD%E3%82%B9%E3%83%88%E8%A9%B3%E7%B4%B0'),jdecode(''),'/7205.html','true',[],''],
	['PAGE','19888',jdecode('%E7%97%A9%E8%BA%AB%E3%83%86%E3%82%AD%E3%82%B9%E3%83%88%E6%8B%A1%E5%A4%A7'),jdecode(''),'/19888.html','true',[],''],
	['PAGE','10499',jdecode('%E5%AE%89%E5%BF%83%E3%81%AE%E8%BF%94%E9%87%91%E5%88%B6%E5%BA%A6'),jdecode(''),'/10499.html','true',[],''],
	['PAGE','14819',jdecode('%E4%B8%87%E5%85%A8%E3%81%AE%E3%82%A2%E3%83%95%E3%82%BF%E3%83%BC%E3%82%B1%E3%82%A2'),jdecode(''),'/14819.html','true',[],''],
	['PAGE','11674',jdecode('%E8%BF%94%E5%93%81%E7%AD%89%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6'),jdecode(''),'/11674.html','true',[],''],
	['PAGE','826',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(''),'/826.html','true',[],''],
	['PAGE','46349',jdecode('%E3%81%8A%E5%95%8F%E3%81%84%E5%90%88%E3%81%9B%E3%83%BB%EF%BC%A6%EF%BC%A1%EF%BC%B1'),jdecode(''),'/46349.html','true',[],''],
	['PAGE','2974',jdecode('%E6%9D%89%E4%B8%A6%E7%97%A9%E8%BA%AB%E7%A0%94%E7%A9%B6%E6%89%80'),jdecode(''),'/2974.html','true',[],''],
	['PAGE','6613',jdecode('%E7%84%A1%E6%96%99%E3%83%A1%E3%83%BC%E3%83%AB%E3%83%9E%E3%82%AC%E3%82%B8%E3%83%B3'),jdecode(''),'/6613.html','true',[],''],
	['PAGE','5434',jdecode('%E7%BE%8E%E5%AE%B9%E5%81%A5%E5%BA%B7%E3%83%AA%E3%83%B3%E3%82%AF%E9%9B%86%EF%BC%91'),jdecode(''),'/5434.html','true',[],''],
	['PAGE','33516',jdecode('%E7%BE%8E%E5%AE%B9%E5%81%A5%E5%BA%B7%E3%83%AA%E3%83%B3%E3%82%AF%E9%9B%86%EF%BC%92%E3%80%80'),jdecode(''),'/33516.html','true',[],''],
	['PAGE','42645',jdecode('%E7%BE%8E%E5%AE%B9%E5%81%A5%E5%BA%B7%E3%83%AA%E3%83%B3%E3%82%AF%E9%9B%86%EF%BC%93%E3%80%80'),jdecode(''),'/42645.html','true',[],''],
	['PAGE','44857',jdecode('%E7%BE%8E%E5%AE%B9%E5%81%A5%E5%BA%B7%E3%83%AA%E3%83%B3%E3%82%AF%E9%9B%86%EF%BC%94+'),jdecode(''),'/44857.html','true',[],''],
	['PAGE','44866',jdecode('%E7%BE%8E%E5%AE%B9%E5%81%A5%E5%BA%B7%E3%83%AA%E3%83%B3%E3%82%AF%E9%9B%86%EF%BC%95'),jdecode(''),'/44866.html','true',[],''],
	['PAGE','28357',jdecode('%E3%83%A9%E3%83%B3%E3%82%AD%E3%83%B3%E3%82%B0%E3%82%B5%E3%82%A4%E3%83%88%E9%9B%86'),jdecode(''),'/28357.html','true',[],''],
	['PAGE','5991',jdecode('%E5%8E%B3%E9%81%B8%E3%83%AA%E3%83%B3%E3%82%AF%E9%9B%86%EF%BC%91'),jdecode(''),'/5991.html','true',[],''],
	['PAGE','29695',jdecode('%E5%8E%B3%E9%81%B8%E3%83%AA%E3%83%B3%E3%82%AF%E9%9B%86%EF%BC%92'),jdecode(''),'/29695.html','true',[],''],
	['PAGE','36232',jdecode('%E5%8E%B3%E9%81%B8%E3%83%AA%E3%83%B3%E3%82%AF%E9%9B%86%EF%BC%93'),jdecode(''),'/36232.html','true',[],''],
	['PAGE','44875',jdecode('%E5%8E%B3%E9%81%B8%E3%83%AA%E3%83%B3%E3%82%AF%E9%9B%86%EF%BC%94'),jdecode(''),'/44875.html','true',[],''],
	['PAGE','44884',jdecode('%E5%8E%B3%E9%81%B8%E3%83%AA%E3%83%B3%E3%82%AF%E9%9B%86%EF%BC%95'),jdecode(''),'/44884.html','true',[],''],
	['PAGE','38466',jdecode('%E8%87%AA%E5%8B%95%E7%9B%B8%E4%BA%92%E3%83%AA%E3%83%B3%E3%82%AF%E9%9B%86'),jdecode(''),'/38466.html','true',[],''],
	['PAGE','7401',jdecode('%E7%9B%B8%E4%BA%92%E3%83%AA%E3%83%B3%E3%82%AF%E5%8B%9F%E9%9B%86'),jdecode(''),'/7401.html','true',[],''],
	['PAGE','36794',jdecode('%E5%BA%83%E5%91%8A%E6%8E%B2%E8%BC%89%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6'),jdecode(''),'/36794.html','true',[],''],
	['PAGE','37083',jdecode('%E5%85%8D%E8%B2%AC%E4%BA%8B%E9%A0%85%E7%AD%89%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6+'),jdecode(''),'/37083.html','true',[],'']];
var siteelementCount=29;
theSitetree.topTemplateName='Enjoy';
					                                                                    
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 */					                                                            
