/* [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','39994',jdecode('Startseite'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','41275',jdecode('Polnisch'),jdecode(''),'/41275.html','true',[],''],
	['PAGE','40709',jdecode('Fachgebiete'),jdecode(''),'/40709.html','true',[],''],
	['PAGE','40718',jdecode('Terminologie'),jdecode(''),'/40718.html','true',[],''],
	['PAGE','40912',jdecode('AGB%C2%B4s'),jdecode(''),'/40912.html','true',[],''],
	['PAGE','41239',jdecode('Kontakt'),jdecode(''),'/41239.html','true',[],''],
	['PAGE','41255',jdecode('G%C3%A4stebuch'),jdecode(''),'/41255/home.html','true',[ 
		['PAGE','41254',jdecode('Eintr%C3%A4ge'),jdecode(''),'/41255/41254.html','true',[],'']
	],''],
	['PAGE','41394',jdecode('Wenzel+Shop'),jdecode(''),'/41394.html','true',[],''],
	['PAGE','40587',jdecode('Impressum'),jdecode(''),'/40587.html','true',[],'']];
var siteelementCount=10;
theSitetree.topTemplateName='TOI_Segel_1';
theSitetree.paletteFamily='7586C1';
theSitetree.keyvisualId='10729';
theSitetree.keyvisualName='kv_10729.jpg';
theSitetree.fontsetId='31817';
theSitetree.graphicsetId='13589';
theSitetree.contentColor='2F458D';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Segel_1',
				paletteFamily: 	'7586C1',
				keyvisualId: 	'10729',
				keyvisualName: 	'kv_10729.jpg',
				fontsetId: 		'31817',
				graphicsetId: 	'13589',
				contentColor: 	'2F458D',
				contentBGColor: 'FFFFFF',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '39994',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20100327-102202'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40709',
internalId:  '',
customField: '20100327-102255'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40912',
internalId:  '',
customField: '20100327-102419'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40718',
internalId:  '',
customField: '20100327-102319'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40587',
internalId:  '',
customField: '20100327-102518'
};
webappMappings['1002']=webappMappings['1002-41255atoix0ir1cax']={
webappId:    '1002',
documentId:  '41254',
internalId:  '41255atoix0ir1cax',
customField: 'action=list'
};
webappMappings['1002']=webappMappings['1002-41255atoix0ir1cax']={
webappId:    '1002',
documentId:  '41255',
internalId:  '41255atoix0ir1cax',
customField: 'action=form&icq=false'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41239',
internalId:  '',
customField: '20090718-174546'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41255',
internalId:  '',
customField: '20090820-093708'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41254',
internalId:  '',
customField: '20090820-093708'
};
webappMappings['1008']=webappMappings['1008-53802606']={
webappId:    '1008',
documentId:  '41239',
internalId:  '53802606',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41275',
internalId:  '',
customField: '20100304-140059'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41394',
internalId:  '',
customField: '20100721-202620'
};
var canonHostname = 'c4awrk06.aul.t-online.de';
var accountId     = 'ATOIX0IR1CAX';
var companyName   = 'Wenzel+%C3%9Cbersetzungen';
var htmlTitle	  = 'Wenzel+%C3%9Cbersetzungen';
var metaKeywords  = 'Wenzel+%C3%9Cbersetzungen%2C+Agnes+Wenzel%2C+Agnieszka+Wenzel%2C+Englisch%2C+Franz%C3%B6sisch%2C+Spanisch%2C+Polnisch%2C+Russisch%2C+Italienisch%2C+Sprachen%2C+Fremdsprachen%2C+polnische+%C3%9Cbersetzung%2C+%C3%9Cbersetzungen+deutsch-polnisch%2C+Wenzel-%C3%9Cbersetzungen%2C+%C3%9Cbersetzungen+Polnisch%2C+%C3%9Cbersetzungen+Wenzel%2C+%C3%9Cbersetzung+Polnisch%2C+%C3%9Cbersetzung+ins+Polnische%2C+%C3%9Cbersetzungen+ins+Polnische%2C+Polnische+%C3%9Cbersetzungen%2C+pl%2C+de-pl%2C+de+pl%2C+d-pl%2C+d+pl%2C+Schneverdingen%2C+Soltau%2C+Buchholz%2C+29640%2C+Niedersachsen%2C+Technik%2C+technische+%C3%9Cbersetzung%2C+technische+%C3%9Cbersetzungen%2C+technische+Dokumentation%2C+Bedienungsanleitung%2C+Betriebsanleitungen%2C+Betriebsanleitung%2C+Bedienungsanleitungen%2C+Handbuch%2C+Handb%C3%BCcher%2C+Benutzerhandbuch%2C+Benutzerhandb%C3%BCcher%2C+Deutschland%2C+Polen%2C+Abchasisch%2C+Adygeisch%2C+Afrikaans%2C+Ahanta';
var metaContents  = 'Alle+Sprachen%2C+alle+Sprachkombinationen.+Hohe+Qualit%C3%A4t%2C+g%C3%BCnstige+Preise%21%21%21';
					                                                                    
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 */					                                                            
