/* [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','40958',jdecode('Home'),jdecode(''),'/40958.html','true',[],''],
	['PAGE','40969',jdecode('Startseite'),jdecode(''),'/40969.html','true',[],''],
	['PAGE','40978',jdecode('Kontakt'),jdecode(''),'/40978.html','true',[],''],
	['PAGE','41133',jdecode('Anfahrt'),jdecode(''),'/41133.html','true',[],''],
	['PAGE','41145',jdecode('Die+Schulungsfahrzeuge'),jdecode(''),'/41145.html','true',[],''],
	['PAGE','41157',jdecode('G%C3%A4stebuch'),jdecode(''),'/41157/home.html','true',[ 
		['PAGE','41156',jdecode('Eintr%C3%A4ge'),jdecode(''),'/41157/41156.html','true',[],'']
	],''],
	['PAGE','41175',jdecode('Auto+%26+KFZ'),jdecode(''),'/41175.html','true',[],''],
	['PAGE','41451',jdecode('Reisemobile'),jdecode(''),'/41451.html','true',[],''],
	['PAGE','41474',jdecode('Impressum'),jdecode(''),'/41474.html','true',[],''],
	['PAGE','41489',jdecode('AGB'),jdecode(''),'/41489.html','true',[],'']];
var siteelementCount=11;
theSitetree.topTemplateName='Stripes';
theSitetree.paletteFamily='660000';
theSitetree.keyvisualId='1558';
theSitetree.keyvisualName='fernverkehr.jpg';
theSitetree.fontsetId='244';
theSitetree.graphicsetId='312';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FCFCFB';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Stripes',
				paletteFamily: 	'660000',
				keyvisualId: 	'1558',
				keyvisualName: 	'fernverkehr.jpg',
				fontsetId: 		'244',
				graphicsetId: 	'312',
				contentColor: 	'000000',
				contentBGColor: 'FCFCFB',
				a_color: 		'660000',
				b_color: 		'DEDECA',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '40958',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40958',
internalId:  '',
customField: '20101007-221219'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40969',
internalId:  '',
customField: '20070425-003131'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40978',
internalId:  '',
customField: '20090717-205320'
};
webappMappings['1008']=webappMappings['1008-33300039']={
webappId:    '1008',
documentId:  '40978',
internalId:  '33300039',
customField: 'de:DE:'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '41133',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41133',
internalId:  '',
customField: '20090715-222223'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41145',
internalId:  '',
customField: '20090716-134430'
};
webappMappings['1002']=webappMappings['1002-41157atoix0i72j1s']={
webappId:    '1002',
documentId:  '41157',
internalId:  '41157atoix0i72j1s',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-41157atoix0i72j1s']={
webappId:    '1002',
documentId:  '41156',
internalId:  '41157atoix0i72j1s',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41157',
internalId:  '',
customField: '20090715-222337'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41156',
internalId:  '',
customField: '20090713-150820'
};
webappMappings['1011']=webappMappings['1011-ddp-auto']={
webappId:    '1011',
documentId:  '41175',
internalId:  'ddp-auto',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41175',
internalId:  '',
customField: '20090713-220422'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41451',
internalId:  '',
customField: '20100214-122924'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41474',
internalId:  '',
customField: '20100226-130804'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41489',
internalId:  '',
customField: '20100226-125523'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0I72J1S';
var companyName   = 'Fahrschule+Markus+Gr%C3%B6nebaum';
var htmlTitle	  = '%3Cmeta+name%3D%22verify-v1%22+content%3D%22Ax1cEEPRbGGAqA58%2BHwikgMXyH%2Bp61VJmygLstC9vew%3D%22%2F%3E+Fahrschule+Markus+Gr%C3%B6nebaum';
var metaKeywords  = 'meta+name%3Dverify-v1+content%3DAx1cEEPRbGGAqA58%2BHwikgMXyH%2Bp61VJmygLstC9vew%3D%2FMarkus+Gr%C3%B6nebaum%2C+Fahrschule%2C+Fahrschulen%2C+Fuehrerschein%2C+Pruefungsfragen%2C+Verkehrsuebungsplatz%2C+MTU%2C+Autofahren%2C+Bu%C3%9Fgeld%2C+Katalog%2C+Fahrschueler%2C+Motorrad%2C+groenebaum.Markus%2CGr%C3%B6nebaum%2Cgr%C3%B6nebaum%2CRheda%2CWiedenbr%C3%BCck%2Cschnell%2Cgut%2Csuper++meta+name%3Dverify-v1+content%3DAx1cEEPRbGGAqA58%2BHwikgMXyH%2Bp61VJmygLstC9vew%3D+%2F';
var metaContents  = 'meta+name%3Dverify-v1+content%3DAx1cEEPRbGGAqA58%2BHwikgMXyH%2Bp61VJmygLstC9vew%3D%2FWillkommen+bei+Eurer+Fahrschule+Markus+Gr%C3%B6nebaum.+Hier+finden+Ihr+Informationen+zu+den+Themen+Autofahren%2C+Fahrschule%2C+Fuehrerschein%2C++';
					                                                                    
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 */					                                                            

