/* [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','39994',jdecode('Startseite'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','59801',jdecode('Tagesfahrten'),jdecode(''),'/59801/home.html','true',[ 
		['PAGE','40581',jdecode('...+f%C3%BCr+Gruppen'),jdecode(''),'/59801/40581.html','false',[],''],
		['PAGE','41740',jdecode('1%2F2-Tagesfahrten'),jdecode(''),'/59801/41740.html','true',[],''],
		['PAGE','41112',jdecode('Freizeitparks'),jdecode(''),'/59801/41112.html','true',[],''],
		['PAGE','40975',jdecode('Mehrtagesfahrten+%26+Reisen'),jdecode(''),'/59801/40975.html','false',[],'']
	],''],
	['PAGE','47201',jdecode('Fahrten+im+Advent'),jdecode(''),'/47201/home.html','false',[ 
		['PAGE','41486',jdecode('...+mehr+Weihnachtsm%C3%A4rkte'),jdecode(''),'/47201/41486.html','false',[],'']
	],''],
	['PAGE','41933',jdecode('Mehrtagesfahrten+%26+Reisen'),jdecode(''),'/41933/home.html','true',[ 
		['PAGE','40608',jdecode('Erlebnisreisen+f%C3%BCr+Vereine'),jdecode(''),'/41933/40608.html','true',[],''],
		['PAGE','41336',jdecode('Aktivreisen+f%C3%BCr+Sportvereine'),jdecode(''),'/41933/41336.html','true',[],''],
		['PAGE','40984',jdecode('Wellnessreisen'),jdecode(''),'/41933/40984.html','true',[],'']
	],''],
	['PAGE','41442',jdecode('Seniorenreisen'),jdecode(''),'/41442.html','true',[],''],
	['PAGE','40662',jdecode('Barrierefreie+Fahrten+f%C3%BCr+Alle+'),jdecode(''),'/40662.html','true',[],''],
	['PAGE','41345',jdecode('Klassenfahrten'),jdecode(''),'/41345.html','true',[],''],
	['PAGE','40626',jdecode('Kontakt'),jdecode(''),'/40626.html','true',[],''],
	['PAGE','40644',jdecode('AGBs'),jdecode(''),'/40644.html','true',[],''],
	['PAGE','40653',jdecode('Impressum'),jdecode(''),'/40653.html','true',[],''],
	['PAGE','41246',jdecode('G%C3%A4stebuch'),jdecode(''),'/41246/home.html','true',[ 
		['PAGE','41245',jdecode('Eintr%C3%A4ge'),jdecode(''),'/41246/41245.html','true',[],'']
	],'']];
var siteelementCount=20;
theSitetree.topTemplateName='TOI_Smoothsurface';
theSitetree.paletteFamily='D85959';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='33401';
theSitetree.graphicsetId='14267';
theSitetree.contentColor='222222';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Smoothsurface',
				paletteFamily: 	'D85959',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'33401',
				graphicsetId: 	'14267',
				contentColor: 	'222222',
				contentBGColor: 'FFFFFF',
				a_color: 		'FFFFFF',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '39994',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20110511-212035'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40581',
internalId:  '',
customField: '20120101-231000'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40984',
internalId:  '',
customField: '20110502-224222'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '59801',
internalId:  '',
customField: '20120218-120650'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40608',
internalId:  '',
customField: '20110608-095724'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40975',
internalId:  '',
customField: '20110530-095911'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40662',
internalId:  '',
customField: '20110502-214432'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40626',
internalId:  '',
customField: '20110209-102248'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41112',
internalId:  '',
customField: '20100628-105751'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40644',
internalId:  '',
customField: '20110502-222552'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40653',
internalId:  '',
customField: '20110813-212541'
};
webappMappings['1002']=webappMappings['1002-41246atoix0iruhc3']={
webappId:    '1002',
documentId:  '41246',
internalId:  '41246atoix0iruhc3',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-41246atoix0iruhc3']={
webappId:    '1002',
documentId:  '41245',
internalId:  '41246atoix0iruhc3',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41246',
internalId:  '',
customField: '20100628-112745'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41245',
internalId:  '',
customField: '20100628-112745'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41336',
internalId:  '',
customField: '20110106-115002'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41740',
internalId:  '',
customField: '20110502-134523'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41345',
internalId:  '',
customField: '20110502-224604'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41442',
internalId:  '',
customField: '20101223-134727'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41486',
internalId:  '',
customField: '20111117-195024'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47201',
internalId:  '',
customField: '20111130-093926'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41933',
internalId:  '',
customField: '20120218-211322'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0IRUHC3';
var companyName   = 'Reisedienst+Der+Tramp';
var htmlTitle	  = 'Reisedienst+Der+Tramp';
var metaKeywords  = 'Reisedienst+Busunternehmen+Omnibusbetrieb+Transferfahrten+Cluburlaub+Gruppenreisen+Schulklassen+Klassenfahrten+Tagesfahrten+Urlaubsreisen+Hebeb%C3%BChne+Barrierefrei+Rollstuhlbus+Kleingruppen+Kegelclubs+St%C3%A4dtereisen+Wellnessreisen+Busreisen+';
var metaContents  = 'Der+Tramp+%C3%BCbernimmt+ihre+Transferfahrten+mit+Bussen+mit+bis+zu+26+Sitzpl%C3%A4tzen.+Wir+organisieren+von+Tagesfahrten+bis+hin+zu+Gruppenreisen.+Barrierefreie+Fahrten+sind+f%C3%BCr+uns+selbstverst%C3%A4ndlich.++++';
					                                                                    
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 */					                                                            

