/* [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','44',jdecode('Startseite'),jdecode(''),'/44.html','true',[],''],
	['PAGE','41319',jdecode('Reiseziele+und+-termine'),jdecode(''),'/41319/home.html','true',[ 
		['PAGE','41267',jdecode('Tagesfahrten'),jdecode(''),'/41319/41267.html','true',[],''],
		['PAGE','41227',jdecode('Mehrtagesfahrten'),jdecode(''),'/41319/41227.html','true',[],'']
	],''],
	['PAGE','41715',jdecode('Buchungsm%C3%B6glichkeiten'),jdecode(''),'/41715.html','true',[],''],
	['PAGE','43796',jdecode('Zustiegsm%C3%B6glichkeiten'),jdecode(''),'/43796.html','true',[],''],
	['PAGE','43601',jdecode('Spandauer+Weihnachtsmarkt-EXPRESS'),jdecode(''),'/43601.html','false',[],''],
	['PAGE','41294',jdecode('Reservierung'),jdecode(''),'/41294.html','true',[],''],
	['PAGE','43621',jdecode('Gruppenreisen'),jdecode(''),'/43621.html','true',[],''],
	['PAGE','41208',jdecode('Angebotsanfrage'),jdecode(''),'/41208.html','true',[],''],
	['PAGE','43537',jdecode('Stadtrundfahrten+'),jdecode(''),'/43537.html','true',[],''],
	['PAGE','43630',jdecode('Unser+Fuhrpark'),jdecode(''),'/43630/home.html','true',[ 
		['PAGE','43720',jdecode('TopClass+Reisebusse'),jdecode(''),'/43630/43720.html','false',[],''],
		['PAGE','43729',jdecode('Reisebusse'),jdecode(''),'/43630/43729.html','false',[],''],
		['PAGE','43738',jdecode('Stadtrundfahrten-Doppeldecker'),jdecode(''),'/43630/43738.html','false',[],''],
		['PAGE','43747',jdecode('Leyland'),jdecode(''),'/43630/43747.html','false',[],''],
		['PAGE','43756',jdecode('Wunder+von+Berlin'),jdecode(''),'/43630/43756.html','false',[],''],
		['PAGE','43765',jdecode('Tourneebusse'),jdecode(''),'/43630/43765.html','false',[],'']
	],''],
	['PAGE','43704',jdecode('Unser+Team+%2F+Jobs'),jdecode(''),'/43704/home.html','true',[ 
		['PAGE','41688',jdecode('Stellenangebote'),jdecode(''),'/43704/41688.html','true',[],'']
	],''],
	['PAGE','43546',jdecode('Stadtrundfahrten+Potsdam'),jdecode(''),'/43546.html','false',[],''],
	['PAGE','42124',jdecode('Info+f%C3%BCr+Reiseb%C3%BCros'),jdecode(''),'/42124.html','false',[],''],
	['PAGE','41471',jdecode('Impressum%2FKontakt'),jdecode(''),'/41471.html','true',[],'']];
var siteelementCount=23;
theSitetree.topTemplateName='TOI_Freizeit_1';
theSitetree.paletteFamily='DFB0B0';
theSitetree.keyvisualId='10787';
theSitetree.keyvisualName='kv_10787.jpg';
theSitetree.fontsetId='31830';
theSitetree.graphicsetId='13623';
theSitetree.contentColor='F3F4F8';
theSitetree.contentBGColor='860000';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Freizeit_1',
				paletteFamily: 	'DFB0B0',
				keyvisualId: 	'10787',
				keyvisualName: 	'kv_10787.jpg',
				fontsetId: 		'31830',
				graphicsetId: 	'13623',
				contentColor: 	'F3F4F8',
				contentBGColor: '860000',
				a_color: 		'000000',
				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:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20100901-152103'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41208',
internalId:  '',
customField: '20100328-014650'
};
webappMappings['1008']=webappMappings['1008-27654114']={
webappId:    '1008',
documentId:  '41208',
internalId:  '27654114',
customField: 'de:DE:'
};
webappMappings['1501']=webappMappings['1501-27652460']={
webappId:    '1501',
documentId:  '44',
internalId:  '27652460',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41227',
internalId:  '',
customField: '20100901-153945'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41294',
internalId:  '',
customField: '20100504-144214'
};
webappMappings['7091']=webappMappings['7091-44961']={
webappId:    '7091',
documentId:  '43796',
internalId:  '44961',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41319',
internalId:  '',
customField: '20100901-152321'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41267',
internalId:  '',
customField: '20100901-154852'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41471',
internalId:  '',
customField: '20100214-110708'
};
webappMappings['1008']=webappMappings['1008-29966424']={
webappId:    '1008',
documentId:  '41294',
internalId:  '29966424',
customField: 'de:DE:'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41688',
internalId:  '',
customField: '20100116-010003'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41715',
internalId:  '',
customField: '20100712-042242'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42124',
internalId:  '',
customField: '20070720-151912'
};
webappMappings['3001']=webappMappings['3001-']={
webappId:    '3001',
documentId:  '42124',
internalId:  '',
customField: ''
};
webappMappings['1008']=webappMappings['1008-32131951']={
webappId:    '1008',
documentId:  '42124',
internalId:  '32131951',
customField: 'de:DE:'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43537',
internalId:  '',
customField: '20100328-014737'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43546',
internalId:  '',
customField: '20081008-033218'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43601',
internalId:  '',
customField: '20081028-013449'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43621',
internalId:  '',
customField: '20100328-014430'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43630',
internalId:  '',
customField: '20100214-105521'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43747',
internalId:  '',
customField: '20070829-001410'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43720',
internalId:  '',
customField: '20070829-001028'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43729',
internalId:  '',
customField: '20070829-001028'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43738',
internalId:  '',
customField: '20070829-001028'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43756',
internalId:  '',
customField: '20070829-001028'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43765',
internalId:  '',
customField: '20070829-001028'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43704',
internalId:  '',
customField: '20100214-105737'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43796',
internalId:  '',
customField: '20100416-164401'
};
var canonHostname = 'c4awrk08.aul.t-online.de';
var accountId     = 'ATOIX0I7TES1';
var companyName   = 'BUSTOURISTIK+BERLIN+...wir+machen+Ihren+Urlaub%21';
var htmlTitle	  = 'Berlin+City+Tour+GmbH+-+Reisen+und+mehr';
var metaKeywords  = 'Fahr+mal+wieder+Bus%2C+Berlin+City+Tour%2C+Spandauer+Zitadellenstadt-Express%2C+Tagesfahrten%2CMehrtagesfahrten%2CBerlin%2CStadtrundfahrten%2CBusanmietung%2CCharterbus%2C+Gruppenreise%2CKlassenfahrten%2CSch%C3%BClerfahrten%2CEventreisen%2CTourneebus%2CReisebus%2C+Bettenbus%2CHotelbus%2CSpandau+Zitadellenstadt+Express%2CLichterfahrt%2COldtimer%2CWunder+von+Berlin%2CDer+Spandauer%2CBusrouristik%2CVip-Liner%2C+';
var metaContents  = 'Ihr+zuverl%C3%A4ssiger+Partner+f%C3%BCr+Tages-+und+Mehrtagesfahrten+ab+Berlin%2C+Stadtrundfahrten+in+Berlin+sowie+Tourneebus-Service';
					                                                                    
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 */					                                                            
