/* [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/home.html','true',[ 
		['PAGE','41383',jdecode('Leistungen'),jdecode(''),'/44/41383.html','true',[],'']
	],''],
	['PAGE','41267',jdecode('English'),jdecode(''),'/41267.html','true',[],''],
	['PAGE','41984',jdecode('Svenska'),jdecode(''),'/41984.html','true',[],''],
	['PAGE','42149',jdecode('Norsk'),jdecode(''),'/42149.html','true',[],''],
	['PAGE','41613',jdecode('%D0%A0%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9+'),jdecode(''),'/41613.html','true',[],''],
	['PAGE','41622',jdecode('Fran%C3%A7ais'),jdecode(''),'/41622.html','true',[],''],
	['PAGE','41294',jdecode('Kontakt'),jdecode(''),'/41294.html','true',[],''],
	['PAGE','41631',jdecode('Profil+%2F+Impressum'),jdecode(''),'/41631.html','true',[],''],
	['PAGE','41392',jdecode('AGB'),jdecode(''),'/41392.html','true',[],''],
	['PAGE','41482',jdecode('Terms+and+Conditions'),jdecode(''),'/41482.html','true',[],'']];
var siteelementCount=11;
theSitetree.topTemplateName='Quattro';
theSitetree.paletteFamily='ACBFAE';
theSitetree.keyvisualId='10943';
theSitetree.keyvisualName='kv_10943.jpg';
theSitetree.fontsetId='31901';
theSitetree.graphicsetId='13714';
theSitetree.contentColor='324133';
theSitetree.contentBGColor='ACBFAE';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Quattro',
				paletteFamily: 	'ACBFAE',
				keyvisualId: 	'10943',
				keyvisualName: 	'kv_10943.jpg',
				fontsetId: 		'31901',
				graphicsetId: 	'13714',
				contentColor: 	'324133',
				contentBGColor: 'ACBFAE',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['1008']=webappMappings['1008-17407632']={
webappId:    '1008',
documentId:  '41294',
internalId:  '17407632',
customField: 'de:DE:'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20100424-235355'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41294',
internalId:  '',
customField: '20090920-201745'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41631',
internalId:  '',
customField: '20100224-001637'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41392',
internalId:  '',
customField: '20080222-200007'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41383',
internalId:  '',
customField: '20100606-222825'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41984',
internalId:  '',
customField: '20100606-224712'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41267',
internalId:  '',
customField: '20100606-222936'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41613',
internalId:  '',
customField: '20100214-233847'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41622',
internalId:  '',
customField: '20100606-223236'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41482',
internalId:  '',
customField: '20080222-205439'
};
webappMappings['1008']=webappMappings['1008-39855052']={
webappId:    '1008',
documentId:  '41613',
internalId:  '39855052',
customField: 'de:DE:'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42149',
internalId:  '',
customField: '20100606-182634'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0I74SZL';
var companyName   = 'WORDDYNAMIC+Fach%C3%BCbersetzungen';
var htmlTitle	  = 'Worddynamic+Fach%C3%BCbersetzungen+-+legal+and+business+translations+-+%C3%B6vers%C3%A4ttare+-+oversetter+-+traducteurs';
var metaKeywords  = 'WORDDYNAMIC+Fach%C3%BCbersetzungen+-+legal+and+business+translations+-+%C3%9Cbersetzungen+Wirtschaft+und+Recht+%28English%2C+French%2C+Norwegian%2C+Swedish%2C+German%2C+Russian+and+Dutch%29+-+traductions+%C3%A9conomiques+et+juridiques+%28en+anglais%2C+allemand%2C+fran%C3%A7ais%2C+russe%2C+norv%C3%A9gien%2C+su%C3%A9dois+et+n%C3%A9erlandais%29';
var metaContents  = 'WORDDYNAMIC+Fach%C3%BCbersetzungen+-+legal+and+business+translations+-+traductions+%C3%A9conomiques+et+juridiques+-+%28English%2C+French%2C+Russian%2C+German%2C+Norwegian%2C+Swedish+and+Dutch%29++';
					                                                                    
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;                                                                     
	};                                                                               
theSitetree.getByXx = function(lookup, xx, ar) {									 
    if (typeof(ar) == 'undefined')												 
    	ar = this;																	 
    for (var i=0; i < ar.length; i++) {										     
        if (ar[i][xx] == lookup)													 
        	return ar[i];															 
        if (ar[i][POS_CHILDS].length > 0) {										 
        	var result=this.getByXx(lookup, xx, ar[i][POS_CHILDS]);					 
            if (result != null)													 
                return result;													 
        }																			 
    }																				 
    return null;																	 
};																				 
function gotoPage(lookup) {														 
    var page = theSitetree.getHREF(lookup);										 
    if (!page) {																	 
  		var testFor = [ POS_NAME, POS_NAVIGATIONTEXT ];							 
            for (var i=0 ; i < testFor.length ; i++) {							 
                    var p = theSitetree.getByXx(lookup, testFor[i]);				 
                    if (p != null) {												 
                            page = p[POS_HREF];									 
                            break;												 
                    }																 
            }																		 
    }																				 
 document.location.href = (new URL(__path_prefix__ + page, true, true)).toString();
}
/* EOF */					                                                            
