/* [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','50822',jdecode('Harfst%2C+Daniel'),jdecode(''),'/50822.html','false',[],''],
	['PAGE','51643',jdecode('Werther%2C+Marco'),jdecode(''),'/51643.html','false',[],''],
	['PAGE','63527',jdecode('Einheitspreis-Berater'),jdecode(''),'/63527.html','false',[],''],
	['PAGE','67501',jdecode('Videokonferenz-Berater'),jdecode(''),'/67501.html','false',[],''],
	['PAGE','68701',jdecode('Startseite'),jdecode(''),'/68701.html','false',[],''],
	['PAGE','68748',jdecode('%22Open+Source%22+L%C3%B6sung'),jdecode(''),'/68748.html','false',[],''],
	['PAGE','68769',jdecode('reste'),jdecode(''),'/68769.html','false',[],''],
	['PAGE','104001',jdecode('Startseite'),jdecode(''),'/104001.html','true',[],''],
	['PAGE','113101',jdecode('Kostenlos-Mandat+%22Klassik%22'),jdecode(''),'/113101.html','true',[],''],
	['PAGE','110501',jdecode('Kostenlos-Mandat+%22Premium%22'),jdecode(''),'/110501.html','true',[],''],
	['PAGE','105201',jdecode('Warum+%22kostenlos%22%3F'),jdecode(''),'/105201.html','false',[],''],
	['PAGE','109301',jdecode('Sonstige+Gratis-Rechtsberatung'),jdecode(''),'/109301.html','true',[],''],
	['PAGE','112001',jdecode('%22MeinGratisAnwalt%22+-+BLOG'),jdecode(''),'/112001.html','true',[],''],
	['PAGE','98801',jdecode('Ihre+Meinung+zu+%22MeinGratisAnwalt%22'),jdecode(''),'/98801.html','false',[],''],
	['PAGE','90301',jdecode('Discount+war+gestern'),jdecode(''),'/90301.html','false',[],''],
	['PAGE','85001',jdecode('Gesch%C3%A4ftsmodell+Kostenlos'),jdecode(''),'/85001.html','false',[],''],
	['PAGE','93801',jdecode('F%C3%BCr+die+Presse'),jdecode(''),'/93801.html','false',[],''],
	['PAGE','94501',jdecode('Wir+suchen+Volljuristen'),jdecode(''),'/94501.html','true',[],''],
	['PAGE','86601',jdecode('Unsere+Anwaltssoziet%C3%A4t'),jdecode(''),'/86601.html','true',[],''],
	['PAGE','109201',jdecode('Impressum'),jdecode(''),'/109201.html','true',[],'']];
var siteelementCount=20;
theSitetree.topTemplateName='TOI_Office_01';
theSitetree.paletteFamily='EC3333';
theSitetree.keyvisualId='12234';
theSitetree.keyvisualName='kv_12234.jpg';
theSitetree.fontsetId='33368';
theSitetree.graphicsetId='14236';
theSitetree.contentColor='F1EDE1';
theSitetree.contentBGColor='343434';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Office_01',
				paletteFamily: 	'EC3333',
				keyvisualId: 	'12234',
				keyvisualName: 	'kv_12234.jpg',
				fontsetId: 		'33368',
				graphicsetId: 	'14236',
				contentColor: 	'F1EDE1',
				contentBGColor: '343434',
				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['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '105201',
internalId:  '',
customField: '20120210-012125'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '113101',
internalId:  '',
customField: '20120210-011441'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '98801',
internalId:  '',
customField: '20111228-225813'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '109301',
internalId:  '',
customField: '20120210-014052'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '112001',
internalId:  '',
customField: '20120105-004800'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '90301',
internalId:  '',
customField: '20111228-223435'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '86601',
internalId:  '',
customField: '20120107-025850'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '109201',
internalId:  '',
customField: '20111230-024628'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '68769',
internalId:  '',
customField: '20120210-014821'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '50822',
internalId:  '',
customField: '20091130-183402'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '51643',
internalId:  '',
customField: '20091130-183636'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '110501',
internalId:  '',
customField: '20120210-015306'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '68748',
internalId:  '',
customField: '20110727-163931'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '67501',
internalId:  '',
customField: '20110401-023240'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '68701',
internalId:  '',
customField: '20110628-032606'
};
webappMappings['1008']=webappMappings['1008-74074901']={
webappId:    '1008',
documentId:  '63527',
internalId:  '74074901',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '63527',
internalId:  '',
customField: '20110401-024331'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '85001',
internalId:  '',
customField: '20110829-183247'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '94501',
internalId:  '',
customField: '20111229-005645'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '104001',
internalId:  '',
customField: '20120210-011327'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '93801',
internalId:  '',
customField: '20110914-162923'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0I7UBAC';
var companyName   = 'MeinGratisAnwalt';
var htmlTitle	  = 'Kostenlose+Rechtsberatung';
var metaKeywords  = 'kostenlose+Rechtsberatung+Anwalt+kostenlos+gratis+unentgeltliche+Rechtsberatung+Kanzlei';
var metaContents  = 'Wir+bieten+kostenlose+Rechtsberatung';
					                                                                    
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 */					                                                            

