/* [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','46501',jdecode('%E3%81%8A%E7%9F%A5%E3%82%89%E3%81%9B%E3%81%AE%E4%B8%80%E8%A6%A7'),jdecode(''),'/46501.html','true',[],''],
	['PAGE','57943',jdecode('%E5%85%AC%E5%91%8A'),jdecode(''),'/57943.html','true',[],''],
	['PAGE','84347',jdecode('%3A+%29%E3%81%99%E3%81%93%E3%82%84%E3%81%8B%E5%81%A5%E4%BF%9D'),jdecode(''),'/84347/index.html','true',[ 
		['PAGE','84383',jdecode('%E4%BB%8A%E6%9C%88%E3%81%AE%E4%B8%BB%E5%BC%B5'),jdecode(''),'/84347/84383.html','true',[],''],
		['PAGE','84392',jdecode('%E5%8C%BB%E5%AD%A6%E5%8F%B2%E3%81%8B%E3%82%89'),jdecode(''),'/84347/84392.html','true',[],''],
		['PAGE','84401',jdecode('%E9%9B%BB%E8%A9%B1%E7%9B%B8%E8%AB%87%E3%81%AE%E7%8F%BE%E5%A0%B4%E3%81%8B%E3%82%89'),jdecode(''),'/84347/84401.html','true',[],''],
		['PAGE','84410',jdecode('colture+memo'),jdecode(''),'/84347/84410.html','true',[],''],
		['PAGE','84419',jdecode('%E3%81%AA%E3%81%8C%E3%81%84%E8%80%81%E5%BE%8C'),jdecode(''),'/84347/84419.html','true',[],'']
	],''],
	['PAGE','5313',jdecode('%E2%98%86%E7%94%B3%E8%AB%8B%E7%94%A8%E7%B4%99'),jdecode(''),'/5313/index.html','true',[ 
		['PAGE','44161',jdecode('%E9%81%A9%E7%94%A8%E9%96%A2%E4%BF%82'),jdecode(''),'/5313/44161.html','true',[],''],
		['PAGE','44170',jdecode('%E7%B5%A6%E4%BB%98%E9%96%A2%E4%BF%82'),jdecode(''),'/5313/44170.html','true',[],''],
		['PAGE','44179',jdecode('%E4%BF%9D%E5%81%A5%E4%BA%8B%E6%A5%AD%E9%96%A2%E4%BF%82'),jdecode(''),'/5313/44179.html','true',[],'']
	],''],
	['PAGE','3055',jdecode('%E5%81%A5%E5%BA%B7%E4%BF%9D%E9%99%BA%EF%BC%88%E9%81%A9%E7%94%A8%E3%83%BB%E7%B5%A6%E4%BB%98%EF%BC%89'),jdecode(''),'/3055/index.html','true',[ 
		['PAGE','46571',jdecode('%E5%81%A5%E5%BA%B7%E4%BF%9D%E9%99%BA%E3%81%AE%E3%81%97%E3%81%8F%E3%81%BF'),jdecode(''),'/3055/46571.html','true',[],''],
		['PAGE','45700',jdecode('%E5%81%A5%E5%BA%B7%E4%BF%9D%E9%99%BA%E3%81%AB%E5%8A%A0%E5%85%A5%E3%81%99%E3%82%8B%E4%BA%BA'),jdecode(''),'/3055/45700.html','true',[],''],
		['PAGE','45709',jdecode('%E6%A8%99%E6%BA%96%E5%A0%B1%E9%85%AC%E3%81%A8%E4%BF%9D%E9%99%BA%E6%96%99'),jdecode(''),'/3055/45709.html','true',[],''],
		['PAGE','45718',jdecode('%E7%B5%A6%E4%BB%98%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6'),jdecode(''),'/3055/45718.html','true',[],''],
		['PAGE','48667',jdecode('%E6%9F%94%E6%95%B4%E5%B8%AB%E3%81%A7%E6%96%BD%E8%A1%93%E3%81%AE%E6%B3%A8%E6%84%8F%E7%82%B9'),jdecode(''),'/3055/48667.html','true',[],'']
	],''],
	['PAGE','3082',jdecode('%E7%89%B9%E5%AE%9A%E5%81%A5%E8%A8%BA%E5%8F%97%E8%A8%BA%E6%A9%9F%E9%96%A2%E6%A4%9C%E7%B4%A2'),jdecode(''),'/3082.html','true',[],''],
	['PAGE','1059',jdecode('%E2%98%85%E4%BF%9D%E5%81%A5%E4%BA%8B%E6%A5%AD%E5%86%85%E5%AE%B9'),jdecode(''),'/1059/index.html','true',[ 
		['PAGE','95923',jdecode('%E3%81%A9%E3%81%AE%E5%81%A5%E8%A8%BA%E3%82%92%E5%8F%97%E3%81%91%E3%81%BE%E3%81%99%E3%81%8B%EF%BC%9F'),jdecode(''),'/1059/95923.html','true',[],''],
		['PAGE','77857',jdecode('%E8%A2%AB%E6%89%B6%E9%A4%8A%E8%80%85%E5%90%91%E3%81%91%E5%B7%A1%E5%9B%9E%E5%81%A5%E8%A8%BA'),jdecode(''),'/1059/77857.html','true',[],''],
		['PAGE','3091',jdecode('%E7%B0%A1%E6%98%93%E6%88%90%E4%BA%BA%E7%97%85%E5%81%A5%E8%A8%BA'),jdecode(''),'/1059/3091.html','true',[],''],
		['PAGE','3100',jdecode('%E4%BA%BA%E9%96%93%E3%83%89%E3%83%83%E3%82%AF'),jdecode(''),'/1059/3100.html','true',[],''],
		['PAGE','51649',jdecode('%E7%89%B9%E5%AE%9A%E5%81%A5%E8%A8%BA%E7%AD%89%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6'),jdecode(''),'/1059/51649.html','true',[],''],
		['PAGE','3073',jdecode('%E7%89%B9%E5%AE%9A%E5%81%A5%E8%A8%BA%E7%AD%89%E5%AE%9F%E6%96%BD%E8%A8%88%E7%94%BB%E6%9B%B8'),jdecode(''),'/1059/3073.html','true',[],''],
		['PAGE','3109',jdecode('%E3%81%8C%E3%82%93%E6%A4%9C%E8%A8%BA'),jdecode(''),'/1059/3109.html','true',[],''],
		['PAGE','50097',jdecode('%E8%87%AA%E6%B2%BB%E4%BD%93%E3%81%AE%E3%81%8C%E3%82%93%E6%A4%9C%E8%A8%BA%E8%A3%9C%E5%8A%A9'),jdecode(''),'/1059/50097.html','true',[],''],
		['PAGE','3118',jdecode('%E3%82%A4%E3%83%B3%E3%83%95%E3%83%AB%E3%82%A8%E3%83%B3%E3%82%B6'),jdecode(''),'/1059/3118.html','true',[],''],
		['PAGE','3127',jdecode('%E5%81%A5%E5%BA%B7%E6%95%99%E5%AE%A4'),jdecode(''),'/1059/3127.html','true',[],''],
		['PAGE','45727',jdecode('%E4%BF%9D%E5%81%A5%E5%B8%AB%E7%9B%B8%E8%AB%87'),jdecode(''),'/1059/45727.html','true',[],''],
		['PAGE','3136',jdecode('%E8%A8%AA%E5%95%8F%E5%81%A5%E5%BA%B7%E7%9B%B8%E8%AB%87'),jdecode(''),'/1059/3136.html','true',[],''],
		['PAGE','5269',jdecode('%E3%82%A6%E3%82%A9%E3%83%BC%E3%82%AD%E3%83%B3%E3%82%B0'),jdecode(''),'/1059/5269.html','true',[],''],
		['PAGE','3145',jdecode('%E5%AE%B6%E5%BA%AD%E5%B8%B8%E5%82%99%E8%96%AC%E3%81%AE%E6%96%A1%E6%97%8B'),jdecode(''),'/1059/3145.html','true',[],''],
		['PAGE','49598',jdecode('%E8%82%B2%E5%85%90%E5%86%8A%E5%AD%90%E3%81%AE%E9%85%8D%E5%B8%83'),jdecode(''),'/1059/49598.html','true',[],''],
		['PAGE','48152',jdecode('%E5%A5%91%E7%B4%84%E6%96%BD%E8%A8%AD'),jdecode(''),'/1059/48152.html','true',[],''],
		['PAGE','70025',jdecode('%E5%81%A5%E5%BA%B7%E7%AE%A1%E7%90%86%E5%A7%94%E5%93%A1%E4%BC%9A'),jdecode(''),'/1059/70025.html','true',[],'']
	],''],
	['PAGE','82552',jdecode('%E5%8C%BB%E7%99%82%E4%BF%9D%E9%99%BA%E5%88%B6%E5%BA%A6%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6'),jdecode(''),'/82552/index.html','true',[ 
		['PAGE','82561',jdecode('%E5%8C%BB%E7%99%82%E4%BF%9D%E9%99%BA%E5%88%B6%E5%BA%A6%E3%81%AE%E5%9F%BA%E7%A4%8E%E7%9F%A5%E8%AD%98'),jdecode(''),'/82552/82561.html','true',[],''],
		['PAGE','82570',jdecode('%E5%8C%BB%E7%99%82%E4%BF%9D%E9%99%BA%E5%88%B6%E5%BA%A6%E3%81%AE%E7%8F%BE%E7%8A%B6'),jdecode(''),'/82552/82570.html','true',[],'']
	],''],
	['PAGE','73050',jdecode('%E6%B3%95%E6%94%B9%E6%AD%A3%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6'),jdecode(''),'/73050/index.html','true',[ 
		['PAGE','87462',jdecode('%E5%B9%B3%E6%88%90%EF%BC%92%EF%BC%91%E5%B9%B4%EF%BC%91%EF%BC%90%E6%9C%88%E5%AE%9F%E6%96%BD'),jdecode(''),'/73050/87462.html','true',[],''],
		['PAGE','87989',jdecode('%E5%B9%B3%E6%88%90%EF%BC%92%EF%BC%91%E5%B9%B4%EF%BC%98%E6%9C%88%E5%AE%9F%E6%96%BD'),jdecode(''),'/73050/87989.html','true',[],''],
		['PAGE','5349',jdecode('%E5%B9%B3%E6%88%90%EF%BC%92%EF%BC%91%E5%B9%B4%EF%BC%91%E6%9C%88%E6%94%B9%E6%AD%A3'),jdecode(''),'/73050/5349.html','true',[],'']
	],''],
	['PAGE','1023',jdecode('%E5%81%A5%E4%BF%9D%E7%B5%84%E5%90%88%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6'),jdecode(''),'/1023/index.html','true',[ 
		['PAGE','3154',jdecode('%E7%B5%84%E5%90%88%E5%BD%B9%E5%93%A1'),jdecode(''),'/1023/3154.html','true',[],''],
		['PAGE','3163',jdecode('%E5%8A%A0%E5%85%A5%E4%BA%8B%E6%A5%AD%E6%89%80'),jdecode(''),'/1023/3163.html','true',[],''],
		['PAGE','1041',jdecode('%E6%89%80%E5%9C%A8%E5%9C%B0'),jdecode(''),'/1023/1041.html','true',[],'']
	],''],
	['PAGE','3172',jdecode('%E6%A9%9F%E9%96%A2%E8%AA%8C%E3%80%8C%E5%81%A5%E4%BF%9D%E3%81%A0%E3%82%88%E3%82%8A%E3%80%8D'),jdecode(''),'/3172.html','true',[],''],
	['PAGE','1086',jdecode('%E3%81%8A%E5%95%8F%E3%81%84%E5%90%88%E3%82%8F%E3%81%9B'),jdecode(''),'/1086.html','true',[],''],
	['PAGE','3181',jdecode('%E3%83%97%E3%83%A9%E3%82%A4%E3%83%90%E3%82%B7%E3%83%BC%E3%83%9D%E3%83%AA%E3%82%B7%E3%83%BC'),jdecode(''),'/3181.html','true',[],''],
	['PAGE','1095',jdecode('%E3%83%AA%E3%83%B3%E3%82%AF'),jdecode(''),'/1095.html','true',[],'']];
var siteelementCount=53;
theSitetree.topTemplateName='NewYork';
					                                                                    
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 */					                                                            
