/* [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','48272',jdecode('Startseite'),jdecode(''),'/48272.html','true',[],''],
	['PAGE','41256',jdecode('Rechtsgebiete'),jdecode(''),'/41256.html','true',[],''],
	['PAGE','50201',jdecode('Gesetze%2FVerordnungen'),jdecode(''),'/50201.html','true',[],''],
	['PAGE','50801',jdecode('Rechtsprechung'),jdecode(''),'/50801.html','true',[],''],
	['PAGE','42347',jdecode('Anfahrt'),jdecode(''),'/42347.html','true',[],''],
	['PAGE','41265',jdecode('Kontakt'),jdecode(''),'/41265.html','true',[],''],
	['PAGE','49633',jdecode('Links'),jdecode(''),'/49633.html','true',[],''],
	['PAGE','41292',jdecode('Impressum'),jdecode(''),'/41292.html','true',[],'']];
var siteelementCount=8;
theSitetree.topTemplateName='Spiegelwand';
theSitetree.paletteFamily='C1C5BC';
theSitetree.keyvisualId='10901';
theSitetree.keyvisualName='kv_10901.jpg';
theSitetree.fontsetId='31886';
theSitetree.graphicsetId='13692';
theSitetree.contentColor='444641';
theSitetree.contentBGColor='C1C5BC';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Spiegelwand',
				paletteFamily: 	'C1C5BC',
				keyvisualId: 	'10901',
				keyvisualName: 	'kv_10901.jpg',
				fontsetId: 		'31886',
				graphicsetId: 	'13692',
				contentColor: 	'444641',
				contentBGColor: 'C1C5BC',
				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:  '48272',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49633',
internalId:  '',
customField: '20111214-154835'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '42347',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41256',
internalId:  '',
customField: '20110414-093528'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41292',
internalId:  '',
customField: '20110316-151033'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41265',
internalId:  '',
customField: '20060321-120430'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42347',
internalId:  '',
customField: '20060307-112628'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48272',
internalId:  '',
customField: '20110414-093902'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '50201',
internalId:  '',
customField: '20111214-135451'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '50801',
internalId:  '',
customField: '20111214-143117'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0I7K97B';
var companyName   = 'Dr.+Petra+Buschhorn++-++Rechtsanw%C3%A4ltin++-++Fachanw%C3%A4ltin';
var htmlTitle	  = 'Rechtsanw%C3%A4ltin+Dr.+Petra+Buschhorn';
var metaKeywords  = 'Dr.+Buschhorn%2C+Petra%2C+Buschhorn%2C+Anw%C3%A4ltin%2C+Anwalt%2C+Baurecht%2C+Zivilrecht%2C+Mietrecht%2C+Wohneigentumsrecht%2C+Gericht%2C+allgemein%2C+Recht%2C+Kanzlei%2C+Alte+post%2C+bensberg%2C+zwangsvollstreckung%2C+pargraph%2C+rechtssprechung%2C+richter%2C+staatsanwalt%2C+hilfe%2C+beratung%2C+rechtsbeistand%2C+rechtsmittel%2C+berufung%2C+strafrecht%2C+verwaltungsrecht%2C+gerichtshof%2C+prozesshilfe%2C+prozess%2C+bergisch-gladbach%2C+k%C3%B6ln%2C+landgericht%2C+oberverwaltungsgericht%2C+bundesverwaltungsgericht%2C+gerichte%2C+mahnung%2C+widerspruch%2C+abmahnung%2C+rechtsmittel%2C+architektenrecht%2C+erbrecht%2C+wohnungsgesellschaft%2C+verwaltungen%2C+wohnung%2C+vertr%C3%A4ge%2C+mietvertr%C3%A4ge%2C+minderung%2C+sachm%C3%A4ngel%2C+m%C3%A4ngel%2C+r%C3%BCge%2C+ihr+gutes+recht%2C+recht+bekommen%2C+recht+haben%2C+';
var metaContents  = 'Willkommen+bei+Ihrer+Rechtsanw%C3%A4ltin+in+Bensberg';
					                                                                    
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 */					                                                            

