/* [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','601',jdecode('Home'),jdecode(''),'/601.html','true',[],''],
	['PAGE','652',jdecode('Company+Profile'),jdecode(''),'/652.html','true',[],''],
	['PAGE','673',jdecode('Company+Philosophy'),jdecode(''),'/673.html','true',[],''],
	['PAGE','694',jdecode('Concepts'),jdecode(''),'/694.html','true',[],''],
	['PAGE','715',jdecode('Remarketing'),jdecode(''),'/715.html','true',[],''],
	['PAGE','736',jdecode('Contact'),jdecode(''),'/736/index.html','true',[ 
		['PAGE','7201',jdecode('Contact+%28Folgeseite%29'),jdecode(''),'/736/7201.html','false',[],'']
	],''],
	['PAGE','3701',jdecode('blancco'),jdecode(''),'/3701.html','true',[],''],
	['PAGE','4301',jdecode('Map'),jdecode(''),'/4301.html','true',[],''],
	['PAGE','5501',jdecode('Online-Shop'),jdecode(''),'/5501.html','true',[],''],
	['PAGE','7401',jdecode('.pdf+Infos'),jdecode(''),'/7401.html','true',[],'']];
var siteelementCount=11;
theSitetree.topTemplateName='Alpha';
theSitetree.paletteFamily='D72B2B';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10555';
theSitetree.graphicsetId='10893';
theSitetree.contentColor='A00000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Alpha',
				paletteFamily: 	'D72B2B',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10555',
				graphicsetId: 	'10893',
				contentColor: 	'A00000',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'D72B2B',
				e_color: 		'D72B2B',
				f_color: 		'D72B2B',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['5000']={
webappId:    '5000',
documentId:  '601',
internalId:  '',
customField: '20091008-120457'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '652',
internalId:  '',
customField: '20091008-141202'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '673',
internalId:  '',
customField: '20091008-114548'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '694',
internalId:  '',
customField: '20091008-141649'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '715',
internalId:  '',
customField: '20091008-114654'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '736',
internalId:  '',
customField: '20091008-121249'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '3701',
internalId:  '',
customField: '20091007-162719'
};
webappMappings['2001']={
webappId:    '2001',
documentId:  '4301',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '4301',
internalId:  '',
customField: '20091008-141834'
};
webappMappings['4001']={
webappId:    '4001',
documentId:  '5501',
internalId:  '2443488',
customField: 'language:de;country:DE;'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5501',
internalId:  '',
customField: '20091007-164621'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '7201',
internalId:  'ain010in2d9p12433a17443',
customField: 'followUp'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '736',
internalId:  'ain010in2d9p12433a17443',
customField: ''
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '7201',
internalId:  '',
customField: '20091008-121109'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '7401',
internalId:  '',
customField: '20091008-141019'
};
var canonHostname = 'cm4all.inode.at';
var accountId     = 'AIN010IN2D9P';
var companyName   = '';
var htmlTitle	  = '---i4next.com---Remarketing---Leasing---Consultancy---';
var metaKeywords  = 'ict%2C+leasing%2C+auditing%2C+datenl%C3%B6schung%2C+remarketing%2C+end+of+live+management%2C+verwertung%2C+wiederverkauf';
var metaContents  = 'technology+leasing%2C+straight+lease%2C+operational+leasing+under+us-gaap+and+ias%2C+leasing+purchases%2C+project+leasing%2C+municipal+leasing';
					                                                                    
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 */					                                                            
