/* [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','13801',jdecode('Home'),jdecode(''),'/13801.html','true',[],''],
	['PAGE','13885',jdecode('Unser+Team'),jdecode(''),'/13885.html','true',[],''],
	['PAGE','13912',jdecode('So+finden+Sie+uns'),jdecode(''),'/13912.html','true',[],''],
	['PAGE','13939',jdecode('Unsere+Fahrzeuge'),jdecode(''),'/13939.html','true',[],''],
	['PAGE','13966',jdecode('Ausbildung'),jdecode(''),'/13966/home.html','true',[ 
		['PAGE','13993',jdecode('FE-Klassen'),jdecode(''),'/13966/13993.html','true',[],''],
		['PAGE','14047',jdecode('Theorie'),jdecode(''),'/13966/14047.html','true',[],''],
		['PAGE','14020',jdecode('Praxis'),jdecode(''),'/13966/14020.html','true',[],''],
		['PAGE','14101',jdecode('Pr%C3%BCfungen'),jdecode(''),'/13966/14101.html','true',[],''],
		['PAGE','14485',jdecode('Nachschulung'),jdecode(''),'/13966/14485.html','true',[],'']
	],''],
	['PAGE','14182',jdecode('Bootsf%C3%BChrerscheine'),jdecode(''),'/14182.html','true',[],''],
	['PAGE','18629',jdecode('Gratulationen%2FBilder'),jdecode(''),'/18629.html','true',[],''],
	['PAGE','14209',jdecode('Wissenswertes'),jdecode(''),'/14209/home.html','true',[ 
		['PAGE','14236',jdecode('Der+EU-F%C3%BChrerschein'),jdecode(''),'/14209/14236.html','true',[],''],
		['PAGE','14512',jdecode('Neu+Verkehrsrecht'),jdecode(''),'/14209/14512.html','true',[],'']
	],''],
	['PAGE','18620',jdecode('Kontakt'),jdecode(''),'/18620.html','true',[],''],
	['PAGE','16605',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/16605.html','false',[],''],
	['PAGE','14539',jdecode('Links'),jdecode(''),'/14539.html','true',[],''],
	['PAGE','14371',jdecode('AGB+%2F+Impressum'),jdecode(''),'/14371.html','true',[],''],
	['PAGE','14621',jdecode('G%C3%A4stebuch'),jdecode(''),'/14621/home.html','true',[ 
		['PAGE','14622',jdecode('Eintr%C3%A4ge'),jdecode(''),'/14621/14622.html','true',[],'']
	],'']];
var siteelementCount=21;
theSitetree.topTemplateName='Metal';
theSitetree.paletteFamily='9E9E9E';
theSitetree.keyvisualId='773';
theSitetree.keyvisualName='sicherheit.jpg';
theSitetree.fontsetId='143';
theSitetree.graphicsetId='155';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='000000';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Metal',
				paletteFamily: 	'9E9E9E',
				keyvisualId: 	'773',
				keyvisualName: 	'sicherheit.jpg',
				fontsetId: 		'143',
				graphicsetId: 	'155',
				contentColor: 	'FFFFFF',
				contentBGColor: '000000',
				a_color: 		'9E9E9E',
				b_color: 		'E8EAEE',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Times New Roman, Times, serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1002']=webappMappings['1002-14621ATOIX0INV41S']={
webappId:    '1002',
documentId:  '14621',
internalId:  '14621ATOIX0INV41S',
customField: 'action=form&icq=false'
};
webappMappings['1011']=webappMappings['1011-ddp-auto']={
webappId:    '1011',
documentId:  '18629',
internalId:  'ddp-auto',
customField: 'language:de;country:DE;'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '13801',
internalId:  '1006',
customField: '1006'
};
webappMappings['1001']=webappMappings['1001-atoix0inv41s448f87cf3cf407d6']={
webappId:    '1001',
documentId:  '16605',
internalId:  'atoix0inv41s448f87cf3cf407d6',
customField: 'followUp'
};
webappMappings['1002']=webappMappings['1002-14621ATOIX0INV41S']={
webappId:    '1002',
documentId:  '14622',
internalId:  '14621ATOIX0INV41S',
customField: 'action=list'
};
webappMappings['1008']=webappMappings['1008-21154626']={
webappId:    '1008',
documentId:  '18620',
internalId:  '21154626',
customField: 'de:DE:'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13801',
internalId:  '',
customField: '20070415-163714'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13885',
internalId:  '',
customField: '20040212-154117'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13912',
internalId:  '',
customField: '20040212-215154'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13939',
internalId:  '',
customField: '20040212-213252'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13966',
internalId:  '',
customField: '20040217-203012'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13993',
internalId:  '',
customField: '20040217-203207'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14047',
internalId:  '',
customField: '20040212-222956'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14020',
internalId:  '',
customField: '20040212-223010'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14101',
internalId:  '',
customField: '20040212-223022'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14485',
internalId:  '',
customField: '20040212-223035'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14182',
internalId:  '',
customField: '20040405-221255'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18629',
internalId:  '',
customField: '20060903-165733'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14209',
internalId:  '',
customField: '20040212-222251'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14236',
internalId:  '',
customField: '20040212-221643'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14512',
internalId:  '',
customField: '20040212-091249'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16605',
internalId:  '',
customField: '20040212-221906'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18620',
internalId:  '',
customField: '20060903-165635'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14539',
internalId:  '',
customField: '20040212-091522'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14371',
internalId:  '',
customField: '20040217-193853'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14621',
internalId:  '',
customField: '20040203-220138'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14622',
internalId:  '',
customField: '20040203-220138'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0INV41S';
var companyName   = 'Fahrschule+P%C3%B6hlmann+GmbH+';
var htmlTitle	  = 'Fahrschule+P%C3%B6hlmann+GmbH++-++Wir+bringen+Sie+in+Fahrt';
var metaKeywords  = 'Fahrschule+Poehlmann+GmbH+Bayreuth';
var metaContents  = 'Hier+erfahren+Sie+alles+%C3%BCber+die+Fahrschule+P%C3%B6hlmann+GmbH+in+Bayreuth';
					                                                                    
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 */					                                                            

