/* [nodename, id, name, navigationtext, href, isnavigation, childs[], templatename] */

if (typeof(decodeURIComponent) == 'undefined') {
  decodeURIComponent = function(s) {
    return unescape(s);
  }
}

function jdecode(s) {
    s = s.replace(/\+/g, "%20")
    return decodeURIComponent(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','44',jdecode('Startseite'),jdecode(''),'/44.html','true',[],''],
	['PAGE','41395',jdecode('Links'),jdecode(''),'/41395.html','true',[],''],
	['PAGE','41404',jdecode('News'),jdecode(''),'/41404.html','true',[],'']];
var siteelementCount=3;
theSitetree.topTemplateName='Architekt';
theSitetree.paletteFamily='90A262';
theSitetree.keyvisualId='1690';
theSitetree.keyvisualName='beratung.jpg';
theSitetree.fontsetId='282';
theSitetree.graphicsetId='344';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='90A262';
var theTemplate={
				name: 			'Architekt',
				paletteFamily: 	'90A262',
				keyvisualId: 	'1690',
				keyvisualName: 	'beratung.jpg',
				fontsetId: 		'282',
				graphicsetId: 	'344',
				contentColor: 	'000000',
				contentBGColor: '90A262',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'90A262',
				b_color: 		'525D37',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20080515-094823'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41395',
internalId:  '',
customField: '20070627-145043'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41404',
internalId:  '',
customField: '20070627-145043'
};
var canonHostname = 'cfawrk06.aul.t-online.de';
var accountId     = 'ATOIX0I7IJO8';
var companyName   = '%C3%9Cbersetzungsb%C3%BCro+Anthonypillai';
var htmlTitle	  = 'Anthonypillai%2C+Ernest%2C+%C3%9Cbersetzer%2C+Dolmetscher%2C+Tamilisch%2C+Singhalesisch%2C+Englisch%2C+Deutsch%2CTranslator%2C+Tamil%2C+German%2C+English%2C+Singhala';
var metaKeywords  = 'Allgemein+Vereidigter+Dolmetscher+und+%C3%9Cbersetzer+f%C3%BCr+Tamil%2C+Englisch+und+Deutsch%2C+Sworn+Translator+for+Tamil%2C+English+and+German%2C+Vermittlung+von+%C3%9Cbersetzern+f%C3%BCr+andere+Sprachen%2C+%C3%9Cbersetzen+und+Dolmetschen+seit+%C3%BCber+20+Jahren+f%C3%BCr+verschiedene+Beh%C3%B6rden%2C+Gerichte+%28Verwaltungsgerichte-+Asylverfahren%29%2C+Bundesamt+f%C3%BCr+Migration%2C+Notare%2C+Rechtsanw%C3%A4lte+und+Organisationen%C3%9Cbersetzer+f%C3%BCr+Singhalesisch';
var metaContents  = 'Allgemein+Vereidigter+Dolmetscher+und+%C3%9Cbersetzer+f%C3%BCr+Tamil%2C+Englisch+und+Deutsch%2C+Sworn+Translator+for+Tamil%2C+English+and+GermanTranslator+for+Singhala%2C+%C3%9Cbersertzer+f%C3%BCr+Singhalesisch';
					                                                                    
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 */					                                                            
