/* [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%2FImpressum'),jdecode(''),'/13801.html','true',[],''],
	['PAGE','13807',jdecode('Wir+%C3%BCber+uns'),jdecode(''),'/13807.html','true',[],''],
	['PAGE','13817',jdecode('...+Theorie+ganz+cool%21'),jdecode(''),'/13817.html','true',[],''],
	['PAGE','136501',jdecode('...+jetzt+wird+gefahren'),jdecode(''),'/136501.html','true',[],''],
	['PAGE','13827',jdecode('Eure+21+Vorteile'),jdecode(''),'/13827.html','true',[],''],
	['PAGE','159501',jdecode('Meine+Leits%C3%A4tze'),jdecode(''),'/159501.html','true',[],''],
	['PAGE','17701',jdecode('Gratulation'),jdecode(''),'/17701.html','true',[],''],
	['PAGE','15318',jdecode('G%C3%A4stebuch'),jdecode(''),'/15318/home.html','true',[ 
		['PAGE','15319',jdecode('Eintr%C3%A4ge'),jdecode(''),'/15318/15319.html','true',[],'']
	],''],
	['PAGE','172801',jdecode('Bilder+von+uns+2011'),jdecode(''),'/172801.html','true',[],''],
	['PAGE','193001',jdecode('Manchmal+klappt%60s+nicht....'),jdecode(''),'/193001.html','true',[],''],
	['PAGE','14401',jdecode('Wie+geht%C2%B4s+zum+F%C3%BChrerschein'),jdecode(''),'/14401.html','true',[],''],
	['PAGE','148101',jdecode('Interessante+Links'),jdecode(''),'/148101.html','true',[],'']];
var siteelementCount=13;
theSitetree.topTemplateName='Stripes';
theSitetree.paletteFamily='CC6600';
theSitetree.keyvisualId='1558';
theSitetree.keyvisualName='fernverkehr.jpg';
theSitetree.fontsetId='244';
theSitetree.graphicsetId='309';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FCFCFB';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Stripes',
				paletteFamily: 	'CC6600',
				keyvisualId: 	'1558',
				keyvisualName: 	'fernverkehr.jpg',
				fontsetId: 		'244',
				graphicsetId: 	'309',
				contentColor: 	'000000',
				contentBGColor: 'FCFCFB',
				a_color: 		'CC6600',
				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['1002']=webappMappings['1002-15318atoix0inelu1']={
webappId:    '1002',
documentId:  '15318',
internalId:  '15318atoix0inelu1',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-15318atoix0inelu1']={
webappId:    '1002',
documentId:  '15319',
internalId:  '15318atoix0inelu1',
customField: 'action=list'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '13801',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']=webappMappings['1501-22687267']={
webappId:    '1501',
documentId:  '13801',
internalId:  '22687267',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13801',
internalId:  '',
customField: '20120122-140720'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17701',
internalId:  '',
customField: '20120201-111028'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13807',
internalId:  '',
customField: '20111210-072440'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14401',
internalId:  '',
customField: '20110203-121520'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '136501',
internalId:  '',
customField: '20120105-132432'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13817',
internalId:  '',
customField: '20120105-131936'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13827',
internalId:  '',
customField: '20120105-132812'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15318',
internalId:  '',
customField: '20050529-134647'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15319',
internalId:  '',
customField: '20110513-123416'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '159501',
internalId:  '',
customField: '20110107-173533'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '193001',
internalId:  '',
customField: '20120122-140629'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '172801',
internalId:  '',
customField: '20111011-085023'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '148101',
internalId:  '',
customField: '20110929-090032'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0INELU1';
var companyName   = '+';
var htmlTitle	  = 'Fahrschule';
var metaKeywords  = 'Kontakt+finden%2C+Fuhrpark%2C+F%C3%BChrerschein%2C+ASF+Seminar+usw.';
var metaContents  = 'Alles+%C3%BCber+Uli%60s+Fahrschule+sowie+ein+kleines+Gewinnspiel%21%21';
					                                                                    
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 */					                                                            

