/* [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','3212',jdecode('%E9%96%8B%E7%99%BA%2F%E8%A8%AD%E8%A8%88'),jdecode(''),'/3212/index.html','true',[ 
		['PAGE','3221',jdecode('%E9%96%8B%E7%99%BA%E7%92%B0%E5%A2%83'),jdecode(''),'/3212/3221.html','true',[],'']
	],''],
	['PAGE','2205',jdecode('%E7%94%9F%E7%94%A3'),jdecode(''),'/2205/index.html','true',[ 
		['PAGE','3239',jdecode('%E5%93%81%E8%B3%AA%E7%AE%A1%E7%90%86'),jdecode(''),'/2205/3239.html','true',[],''],
		['PAGE','539',jdecode('%E8%B3%87%E6%9D%90%E8%AA%BF%E9%81%94'),jdecode(''),'/2205/539.html','true',[],'']
	],''],
	['PAGE','548',jdecode('%E7%94%9F%E7%94%A3%E6%8B%A0%E7%82%B9'),jdecode(''),'/548/index.html','true',[ 
		['PAGE','3248',jdecode('%E5%9B%BD%E5%86%85%E6%8B%A0%E7%82%B9'),jdecode(''),'/548/3248.html','true',[],''],
		['PAGE','3257',jdecode('%E6%B5%B7%E5%A4%96%E6%8B%A0%E7%82%B9'),jdecode(''),'/548/3257.html','true',[],'']
	],''],
	['PAGE','7466',jdecode('%E7%92%B0%E5%A2%83%E3%81%B8%E3%81%AE%E5%8F%96%E7%B5%84%E3%81%BF'),jdecode(''),'/7466.html','true',[],''],
	['PAGE','3266',jdecode('%E4%BA%8B%E4%BE%8B%E7%B4%B9%E4%BB%8B'),jdecode(''),'/3266/index.html','true',[ 
		['PAGE','9303',jdecode('%E4%BA%8B%E4%BE%8B1'),jdecode(''),'/3266/9303.html','true',[],''],
		['PAGE','9312',jdecode('%E4%BA%8B%E4%BE%8B2'),jdecode(''),'/3266/9312.html','true',[],''],
		['PAGE','9321',jdecode('%E4%BA%8B%E4%BE%8B3'),jdecode(''),'/3266/9321.html','true',[],'']
	],''],
	['PAGE','963',jdecode('%E4%BC%9A%E7%A4%BE%E6%A1%88%E5%86%85'),jdecode(''),'/963.html','true',[],''],
	['PAGE','10114',jdecode('%E3%82%A2%E3%82%AF%E3%82%BB%E3%82%B9%E3%83%9E%E3%83%83%E3%83%97'),jdecode(''),'/10114.html','true',[],''],
	['PAGE','3275',jdecode('%E6%8E%A1%E7%94%A8%E6%83%85%E5%A0%B1'),jdecode(''),'/3275.html','true',[],''],
	['PAGE','8699',jdecode('%E3%81%8A%E5%95%8F%E5%90%88%E3%81%9B'),jdecode(''),'/8699.html','true',[],''],
	['PAGE','9174',jdecode('%E3%82%B5%E3%82%A4%E3%83%88%E3%81%AE%E5%88%A9%E7%94%A8%E6%9D%A1%E4%BB%B6'),jdecode(''),'/9174.html','true',[],''],
	['PAGE','9219',jdecode('%E5%80%8B%E4%BA%BA%E6%83%85%E5%A0%B1%E4%BF%9D%E8%AD%B7%E6%96%B9%E9%87%9D'),jdecode(''),'/9219.html','true',[],''],
	['PAGE','10048',jdecode('%E3%83%AA%E3%83%B3%E3%82%AF'),jdecode(''),'/10048.html','true',[],'']];
var siteelementCount=21;
theSitetree.topTemplateName='Profile';
theSitetree.paletteFamily='003399';
theSitetree.keyvisualId='1280';
theSitetree.keyvisualName='feder.jpg';
theSitetree.fontsetId='13969';
theSitetree.graphicsetId='228';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Profile',
				paletteFamily: 	'003399',
				keyvisualId: 	'1280',
				keyvisualName: 	'feder.jpg',
				fontsetId: 		'13969',
				graphicsetId: 	'228',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'003399',
				b_color: 		'000066',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'MS PGothic',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1501']={
webappId:    '1501',
documentId:  '11',
internalId:  '14241',
customField: '1501'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '8699',
internalId:  '196394',
customField: 'ja:JP:'
};
var canonHostname = 'diy00.oem.mlpsca02.us.diy-servers.net';
var accountId     = 'AVWHN0INXEJD';
var companyName   = '%E8%A8%AD%E8%A8%88%E3%83%BB%E8%AA%BF%E9%81%94%E3%83%BB%E7%94%9F%E7%94%A3%E3%81%AE%E4%B8%80%E8%B2%AB%E4%BD%93%E5%88%B6%28DMS%2FEMS%29';
var htmlTitle	  = 'Copyright+TKR+Corp+2010%2F07%2F01';
var metaKeywords  = '';
var metaContents  = '';
					                                                                    
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 */					                                                            

