/* [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','1801',jdecode('Home'),jdecode(''),'/1801.html','true',[],''],
	['PAGE','1827',jdecode('Startseite+-+Abfahrten'),jdecode(''),'/1827.html','true',[],''],
	['PAGE','1953',jdecode('Fahrplan+2011'),jdecode(''),'/1953.html','true',[],''],
	['PAGE','19601',jdecode('Fahrt+nach+Werder%21%21%21'),jdecode(''),'/19601.html','true',[],''],
	['PAGE','1974',jdecode('Fahrplan%C3%A4nderungen+%2F+Neues'),jdecode(''),'/1974.html','true',[],''],
	['PAGE','3401',jdecode('Dampferanlegestellen'),jdecode(''),'/3401.html','true',[],''],
	['PAGE','29801',jdecode('Schiffsbilder'),jdecode(''),'/29801.html','true',[],''],
	['PAGE','16401',jdecode('Feuerwerk+Wannsee+2008+%21%21%21'),jdecode(''),'/16401.html','false',[],''],
	['PAGE','1995',jdecode('Gruppen+%2F+Vermietung'),jdecode(''),'/1995/home.html','true',[ 
		['PAGE','2037',jdecode('Dampfervermietung'),jdecode(''),'/1995/2037.html','false',[],''],
		['PAGE','2016',jdecode('Gruppenanmeldung'),jdecode(''),'/1995/2016.html','false',[],'']
	],''],
	['PAGE','1869',jdecode('Hausmanns+Kost+an+Bord'),jdecode(''),'/1869/home.html','false',[ 
		['PAGE','1890',jdecode('Kalte+Speisen'),jdecode(''),'/1869/1890.html','true',[],''],
		['PAGE','1911',jdecode('Warme+Speisen'),jdecode(''),'/1869/1911.html','true',[],''],
		['PAGE','1932',jdecode('Buffets'),jdecode(''),'/1869/1932.html','true',[],'']
	],''],
	['PAGE','2079',jdecode('Kontakt'),jdecode(''),'/2079.html','true',[],''],
	['PAGE','2058',jdecode('Schl%C3%B6sserfahrt'),jdecode(''),'/2058.html','false',[],''],
	['PAGE','2100',jdecode('Wir+%C3%BCber+uns'),jdecode(''),'/2100/home.html','false',[ 
		['PAGE','2121',jdecode('Unser+Team'),jdecode(''),'/2100/2121.html','true',[],'']
	],''],
	['PAGE','2142',jdecode('Impressum'),jdecode(''),'/2142.html','true',[],'']];
var siteelementCount=20;
theSitetree.topTemplateName='Macao';
theSitetree.paletteFamily='74B78D';
theSitetree.keyvisualId='6423';
theSitetree.keyvisualName='kv_6423.jpg';
theSitetree.fontsetId='11168';
theSitetree.graphicsetId='11980';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='A3D8B7';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Macao',
				paletteFamily: 	'74B78D',
				keyvisualId: 	'6423',
				keyvisualName: 	'kv_6423.jpg',
				fontsetId: 		'11168',
				graphicsetId: 	'11980',
				contentColor: 	'000000',
				contentBGColor: 'A3D8B7',
				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:     'true'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '1801',
internalId:  '1006',
customField: '1006'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '3401',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['1008']=webappMappings['1008-28518443']={
webappId:    '1008',
documentId:  '2037',
internalId:  '28518443',
customField: 'de:DE:'
};
webappMappings['1008']=webappMappings['1008-28518505']={
webappId:    '1008',
documentId:  '2016',
internalId:  '28518505',
customField: 'de:DE:'
};
webappMappings['1007']=webappMappings['1007-12a1aba07d1']={
webappId:    '1007',
documentId:  '29801',
internalId:  '12a1aba07d1',
customField: 'g.158dbgk77.6k0vq4ir5u.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1801',
internalId:  '',
customField: '20110715-135314'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1995',
internalId:  '',
customField: '20100601-164541'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2037',
internalId:  '',
customField: '20060910-161254'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2079',
internalId:  '',
customField: '20110421-205636'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1827',
internalId:  '',
customField: '20110428-203502'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1869',
internalId:  '',
customField: '20060825-164606'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2016',
internalId:  '',
customField: '20060910-161238'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '3401',
internalId:  '',
customField: '20090416-134222'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1890',
internalId:  '',
customField: '20060825-164606'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1911',
internalId:  '',
customField: '20060825-164606'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1932',
internalId:  '',
customField: '20060825-164606'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1953',
internalId:  '',
customField: '20110428-203926'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '1974',
internalId:  '',
customField: '20110715-135809'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2058',
internalId:  '',
customField: '20060825-164606'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2100',
internalId:  '',
customField: '20060825-164606'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2121',
internalId:  '',
customField: '20060825-164606'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '2142',
internalId:  '',
customField: '20060825-164606'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19601',
internalId:  '',
customField: '20110428-203545'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '29801',
internalId:  '',
customField: '20100728-222729'
};
webappMappings['1501']=webappMappings['1501-34475648']={
webappId:    '1501',
documentId:  '1801',
internalId:  '34475648',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16401',
internalId:  '',
customField: '20080715-075920'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0INXX7W';
var companyName   = 'Reederei+Hartmut+Triebler+-+Dampferfahrten+in+und+um+Berlin';
var htmlTitle	  = 'Reederei+Hartmut+Triebler+-+Dampfer+in+Berlin';
var metaKeywords  = 'Triebler%2C+Berolina%2C+Roland%2C+Reederei%2C+Dampfer%2C+Berlin%2C+Berliner+Umland%2C+Lindenufer%2C+Greenwichpromenade%2C+Reederei+Hartmut+Triebler%2C+Anlegestellen%2C+Spa%C3%9F%2C+Sonne%2C+Wasser%2C+Ausflug%2C+Wannsee%2C+Reederei+Triebler%2C+Tegel%2C+Werder';
var metaContents  = 'Reederei+Hartmut+Triebler+-+MS+Berolina+und+Roland+von+Berlin++-+10+Seen+Rundfahrt++und+Historische+Stadtrundfahrt+-+Tegel+-+Spandau+-+Wannsee+-+Berliner+Umland+-+Fahrt+nach+Werder';
					                                                                    
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 */					                                                            

