/* [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','5888',jdecode('Willkommen'),jdecode(''),'/5888.html','true',[],''],
	['PAGE','34506',jdecode('Neuigkeiten'),jdecode(''),'/34506.html','false',[],''],
	['PAGE','27352',jdecode('Ausbildung+und+Standorte'),jdecode(''),'/27352.html','true',[],''],
	['PAGE','27080',jdecode('Ausbildungsfahrzeuge'),jdecode(''),'/27080.html','true',[],''],
	['PAGE','34707',jdecode('Theorieunterricht'),jdecode(''),'/34707.html','true',[],''],
	['PAGE','34695',jdecode('Preise'),jdecode(''),'/34695.html','false',[],''],
	['PAGE','32701',jdecode('Volkswagen+%22Junge+Fahrer%22%21'),jdecode(''),'/32701.html','false',[],''],
	['PAGE','34484',jdecode('BKF-Aus-+und+Weiterbildung'),jdecode(''),'/34484.html','true',[],''],
	['PAGE','34673',jdecode('MPU-Beratung'),jdecode(''),'/34673.html','true',[],''],
	['PAGE','34530',jdecode('Schulung+f%C3%BCr+Zivildienstleistende'),jdecode(''),'/34530.html','false',[],''],
	['PAGE','33001',jdecode('Weitere+Seminare'),jdecode(''),'/33001.html','true',[],''],
	['PAGE','10637',jdecode('Kontakt'),jdecode(''),'/10637/home.html','true',[ 
		['PAGE','27272',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/10637/27272.html','false',[],'']
	],''],
	['PAGE','27107',jdecode('Impressum'),jdecode(''),'/27107.html','true',[],''],
	['PAGE','34622',jdecode('Sitemap'),jdecode(''),'/34622.html','true',[],'']];
var siteelementCount=15;
theSitetree.topTemplateName='Collage';
theSitetree.paletteFamily='F9C116';
theSitetree.keyvisualId='2469';
theSitetree.keyvisualName='verkehr.jpg';
theSitetree.fontsetId='403';
theSitetree.graphicsetId='459';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Collage',
				paletteFamily: 	'F9C116',
				keyvisualId: 	'2469',
				keyvisualName: 	'verkehr.jpg',
				fontsetId: 		'403',
				graphicsetId: 	'459',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'FFFFFF',
				b_color: 		'F9C116',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1001']=webappMappings['1001-atoix0invkd9585d645acafcb206']={
webappId:    '1001',
documentId:  '27272',
internalId:  'atoix0invkd9585d645acafcb206',
customField: 'followUp'
};
webappMappings['1001']=webappMappings['1001-atoix0invkd9585d645acafcb206']={
webappId:    '1001',
documentId:  '10637',
internalId:  'atoix0invkd9585d645acafcb206',
customField: ''
};
webappMappings['1501']=webappMappings['1501-637167']={
webappId:    '1501',
documentId:  '5888',
internalId:  '637167',
customField: '1501'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '5888',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33001',
internalId:  '',
customField: '20111218-133623'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '5888',
internalId:  '',
customField: '20120107-112644'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27352',
internalId:  '',
customField: '20111218-134034'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10637',
internalId:  '',
customField: '20111218-134359'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27107',
internalId:  '',
customField: '20101116-223517'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27080',
internalId:  '',
customField: '20111218-134537'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32701',
internalId:  '',
customField: '20070828-165206'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27272',
internalId:  '',
customField: '20040418-141127'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '34484',
internalId:  '',
customField: '20101116-222837'
};
webappMappings['1011']=webappMappings['1011-ddp-auto']={
webappId:    '1011',
documentId:  '34506',
internalId:  'ddp-auto',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '34506',
internalId:  '',
customField: '20090726-123042'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '34530',
internalId:  '',
customField: '20091125-005456'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '34622',
internalId:  '',
customField: '20110529-123035'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '34673',
internalId:  '',
customField: '20110206-182936'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '34695',
internalId:  '',
customField: '20110323-133800'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '34707',
internalId:  '',
customField: '20111218-134609'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0INVKD9';
var companyName   = 'Fahrschule+Ehlers';
var htmlTitle	  = 'Fahrschule+Gerhard+Ehlers+-+Berlin+-+Pankow+und+Niedersch%C3%B6nhausen....+F%C3%BChrerschein+f%C3%BCr+Motorrad%2C+Auto+und+LKW';
var metaKeywords  = 'Fahrschule%2C+Ehlers%2C+Pankow%2C+Berlin%2C+Niedersch%C3%B6nhausen%2C+F%C3%BChrerschein%2C+Fahrerlaubnis%2C+MPU%2C+F%C3%BChrerschein+in+Pankow%2C+Fahrschule+Berlin%2C+Motorradf%C3%BChrerschein%2C+Autof%C3%BChrerschein%2C+Fahrschule+Niedersch%C3%B6nhausen%2C+LKW-F%C3%BChrerschein%2C+F%C3%BChrerscheinfinanzierung%2C+Volkswagen%2C+Weiterbildung+f%C3%BCr+Berufskraftfahrer';
var metaContents  = 'Fahrschule+Gerhard+Ehlers+in+Berlin+Pankow+und+Niedersch%C3%B6nhausen.+F%C3%BChrerschein+f%C3%BCr+Auto%2C+Motorrad+und+LKW';
					                                                                    
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 */					                                                            

