/* [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','40594',jdecode('Unsere+Ferienwohnung'),jdecode(''),'/40594.html','true',[],''],
	['PAGE','40573',jdecode('Nachrichten+%2F+Rezepte'),jdecode(''),'/40573.html','true',[],''],
	['PAGE','41127',jdecode('Termine'),jdecode(''),'/41127.html','true',[],''],
	['PAGE','41118',jdecode('Handelspartner'),jdecode(''),'/41118.html','true',[],''],
	['PAGE','40623',jdecode('Aktuelle+Angebote'),jdecode(''),'/40623.html','true',[],''],
	['PAGE','40585',jdecode('Links'),jdecode(''),'/40585.html','true',[],''],
	['PAGE','40555',jdecode('G%C3%A4stebuch'),jdecode(''),'/40555.html','true',[],''],
	['PAGE','40554',jdecode('Eintr%C3%A4ge'),jdecode(''),'/40554.html','true',[],''],
	['PAGE','41708',jdecode('Namibia+%22Reisehilfe%22'),jdecode(''),'/41708.html','true',[],''],
	['PAGE','41109',jdecode('Reisevorschl%C3%A4ge+Namibia'),jdecode(''),'/41109.html','true',[],''],
	['PAGE','41717',jdecode('Gastronomie'),jdecode(''),'/41717.html','true',[],''],
	['PAGE','41590',jdecode('Unterk%C3%BCnfte'),jdecode(''),'/41590.html','true',[],''],
	['PAGE','41726',jdecode('Sehenswertes'),jdecode(''),'/41726.html','true',[],''],
	['PAGE','40664',jdecode('Fotos-Produkte+und+mehr'),jdecode(''),'/40664.html','true',[],''],
	['PAGE','40603',jdecode('Versandgeb%C3%BChren'),jdecode(''),'/40603.html','true',[],''],
	['PAGE','41062',jdecode('zum+Namibia-Shop'),jdecode(''),'/41062.html','true',[],''],
	['PAGE','41100',jdecode('Impressum'),jdecode(''),'/41100.html','true',[],''],
	['PAGE','43201',jdecode('Mini+-+Shop'),jdecode(''),'/43201.html','true',[],''],
	['PAGE','46701',jdecode('Multimedia+Show+1'),jdecode(''),'/46701.html','true',[],'']];
var siteelementCount=20;
theSitetree.topTemplateName='Urlaub11';
theSitetree.paletteFamily='EDDAC4';
theSitetree.keyvisualId='9938';
theSitetree.keyvisualName='kv_9938.jpg';
theSitetree.fontsetId='17867';
theSitetree.graphicsetId='13105';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FCF2DB';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Urlaub11',
				paletteFamily: 	'EDDAC4',
				keyvisualId: 	'9938',
				keyvisualName: 	'kv_9938.jpg',
				fontsetId: 		'17867',
				graphicsetId: 	'13105',
				contentColor: 	'000000',
				contentBGColor: 'FCF2DB',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				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['1002']=webappMappings['1002-40555atoix0inhbym']={
webappId:    '1002',
documentId:  '40555',
internalId:  '40555atoix0inhbym',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-40555atoix0inhbym']={
webappId:    '1002',
documentId:  '40554',
internalId:  '40555atoix0inhbym',
customField: 'action=list'
};
webappMappings['1007']=webappMappings['1007-108a46b4303']={
webappId:    '1007',
documentId:  '40664',
internalId:  '108a46b4303',
customField: 'g.112i60jp1.73jk446kj.1s'
};
webappMappings['1501']=webappMappings['1501-16432062']={
webappId:    '1501',
documentId:  '44',
internalId:  '16432062',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20100124-193723'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40594',
internalId:  '',
customField: '20100103-083253'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40573',
internalId:  '',
customField: '20100103-083917'
};
webappMappings['7060']=webappMappings['7060-b74681a1b747950d43405df57f624c6d']={
webappId:    '7060',
documentId:  '46701',
internalId:  'b74681a1b747950d43405df57f624c6d',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41127',
internalId:  '',
customField: '20100124-194949'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41062',
internalId:  '',
customField: '20081129-092242'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41118',
internalId:  '',
customField: '20071127-002829'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40623',
internalId:  '',
customField: '20090614-082629'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40603',
internalId:  '',
customField: '20100103-091408'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40664',
internalId:  '',
customField: '20060124-181601'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40585',
internalId:  '',
customField: '20100124-194027'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40555',
internalId:  '',
customField: '20060106-000004'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40554',
internalId:  '',
customField: '20060106-000004'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41109',
internalId:  '',
customField: '20071118-131754'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41100',
internalId:  '',
customField: '20100103-074400'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43201',
internalId:  '',
customField: '20081004-063844'
};
webappMappings['4001']=webappMappings['4001-28066833']={
webappId:    '4001',
documentId:  '43201',
internalId:  '28066833',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41590',
internalId:  '',
customField: '20071118-132038'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41708',
internalId:  '',
customField: '20071118-131659'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41726',
internalId:  '',
customField: '20071119-111559'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41717',
internalId:  '',
customField: '20070722-090229'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46701',
internalId:  '',
customField: '20080928-083419'
};
var canonHostname = 'cfawrk11.aul.t-online.de';
var accountId     = 'ATOIX0INHBYM';
var companyName   = 'Willkommen+bei+Bernds-Biltong-Bude.';
var htmlTitle	  = 'bernds+biltong+bude';
var metaKeywords  = 'Biltong%2C+Droewors%2C+Trockenwurst%2C+Rauchfleisch%2C+Zam-Buk%2C+Namibia%2C+S%C3%BCd-West-Afrika%2C+S%C3%BCd-Afrika%2C++';
var metaContents  = 'Die+Herstellung+von+Rauchfleisch%2C+Biltong+und+Droewors+%28+Trockenwurst+%29+oder+%C3%A4hnliche+Spezialit%C3%A4ten+aus+S%C3%BCd-+und+S%C3%BCdwest-Afrika++%28+Namibia+%29.+++';
					                                                                    
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 */					                                                            
