/* [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','41036',jdecode('Start'),jdecode(''),'/41036.html','true',[],''],
	['PAGE','41054',jdecode('Werdegang'),jdecode(''),'/41054.html','true',[],''],
	['PAGE','41063',jdecode('Rechtsgebiete'),jdecode(''),'/41063/home.html','true',[ 
		['PAGE','41590',jdecode('Familienrecht'),jdecode(''),'/41063/41590.html','true',[],''],
		['PAGE','41599',jdecode('Erbrecht'),jdecode(''),'/41063/41599.html','true',[],''],
		['PAGE','43583',jdecode('Vertragsrecht'),jdecode(''),'/41063/43583.html','true',[],''],
		['PAGE','43592',jdecode('Verkehrsunfallrecht'),jdecode(''),'/41063/43592.html','true',[],'']
	],''],
	['PAGE','43601',jdecode('Aktuelles'),jdecode(''),'/43601.html','true',[],''],
	['PAGE','41072',jdecode('Standort+Konstanz'),jdecode(''),'/41072/home.html','true',[ 
		['PAGE','41132',jdecode('Anfahrt'),jdecode(''),'/41072/41132.html','true',[],'']
	],''],
	['PAGE','43792',jdecode('Standort+Waldshut'),jdecode(''),'/43792.html','true',[],''],
	['PAGE','41090',jdecode('Impressum+%2F+Kontakt'),jdecode(''),'/41090/home.html','true',[ 
		['PAGE','43086',jdecode('Online-Anfrage'),jdecode(''),'/41090/43086.html','true',[],''],
		['PAGE','43378',jdecode('Online-Scheidung'),jdecode(''),'/41090/43378.html','true',[],'']
	],'']];
var siteelementCount=14;
theSitetree.topTemplateName='TOI_Business_2';
theSitetree.paletteFamily='D3E3ED';
theSitetree.keyvisualId='10768';
theSitetree.keyvisualName='kv_10768.jpg';
theSitetree.fontsetId='31829';
theSitetree.graphicsetId='13618';
theSitetree.contentColor='063667';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Business_2',
				paletteFamily: 	'D3E3ED',
				keyvisualId: 	'10768',
				keyvisualName: 	'kv_10768.jpg',
				fontsetId: 		'31829',
				graphicsetId: 	'13618',
				contentColor: 	'063667',
				contentBGColor: 'FFFFFF',
				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['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '41132',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '41036',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41036',
internalId:  '',
customField: '20080728-112636'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41599',
internalId:  '',
customField: '20070510-180058'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41090',
internalId:  '',
customField: '20080728-120014'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41132',
internalId:  '',
customField: '20070501-162959'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41054',
internalId:  '',
customField: '20080728-115533'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41063',
internalId:  '',
customField: '20070508-121236'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41072',
internalId:  '',
customField: '20080728-120100'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43086',
internalId:  '',
customField: '20110909-141654'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41590',
internalId:  '',
customField: '20070510-175744'
};
webappMappings['1008']=webappMappings['1008-33213434']={
webappId:    '1008',
documentId:  '43086',
internalId:  '33213434',
customField: 'de:DE:'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43378',
internalId:  '',
customField: '20110909-141711'
};
webappMappings['1008']=webappMappings['1008-33212939']={
webappId:    '1008',
documentId:  '43378',
internalId:  '33212939',
customField: 'de:DE:'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43601',
internalId:  '',
customField: '20100826-170358'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43583',
internalId:  '',
customField: '20070806-184357'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43592',
internalId:  '',
customField: '20110909-141911'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43792',
internalId:  '',
customField: '20100826-172128'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0I7OC8D';
var companyName   = 'Anwaltskanzlei+Plewe';
var htmlTitle	  = 'Anwaltskanzlei+Plewe+-+Konstanz+-+Waldshut';
var metaKeywords  = 'Kanzlei%2C+Plewe%2C+Anwaltskanzlei%2C+Rechtsanw%C3%A4ltin%2C+Anw%C3%A4ltin%2C+Konstanz%2C+Erbrecht%2C+Familienrecht%2C+Verkehrsunfallrecht%2C+Ehescheidung%2C+Scheidung%2CRechtsanw%C3%A4lte%2C+Karin%2C+Marktst%C3%A4tte%2C+Testament%2C+Vertragsrecht%2C+Scheidung-online%2C+online-Scheidung%2C+Waldshut%2C+Waldshut-Tiengen';
var metaContents  = 'Anwaltskanzlei+Karin+Plewe%2C+Konstanz-Waldshut';
					                                                                    
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 */					                                                            

