/* [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','4579',jdecode('Neuigkeiten'),jdecode(''),'/4579.html','true',[],''],
	['PAGE','19201',jdecode('Online-Shop'),jdecode(''),'/19201.html','true',[],''],
	['PAGE','19228',jdecode('Kontakt'),jdecode(''),'/19228/home.html','true',[ 
		['PAGE','19255',jdecode('Kontaktdaten'),jdecode(''),'/19228/19255.html','true',[],''],
		['PAGE','19282',jdecode('Emailformular'),jdecode(''),'/19228/19282/home.html','true',[ 
			['PAGE','19537',jdecode('Emailformular+%28Folgeseite%29'),jdecode(''),'/19228/19282/19537.html','false',[],'']
		],''],
		['PAGE','19309',jdecode('Disclaimer'),jdecode(''),'/19228/19309.html','true',[],''],
		['PAGE','19336',jdecode('Impressum'),jdecode(''),'/19228/19336.html','true',[],''],
		['PAGE','19363',jdecode('AGB%C2%B4s'),jdecode(''),'/19228/19363.html','true',[],'']
	],''],
	['PAGE','20001',jdecode('Lagerverkauf'),jdecode(''),'/20001.html','true',[],''],
	['PAGE','19390',jdecode('Links'),jdecode(''),'/19390.html','true',[],'']];
var siteelementCount=11;
theSitetree.topTemplateName='Match';
theSitetree.paletteFamily='A1C183';
theSitetree.keyvisualId='2698';
theSitetree.keyvisualName='blanco.jpg';
theSitetree.fontsetId='10404';
theSitetree.graphicsetId='10634';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='DBE9CF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Match',
				paletteFamily: 	'A1C183',
				keyvisualId: 	'2698',
				keyvisualName: 	'blanco.jpg',
				fontsetId: 		'10404',
				graphicsetId: 	'10634',
				contentColor: 	'000000',
				contentBGColor: 'DBE9CF',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'306102',
				e_color: 		'707070',
				f_color: 		'707070',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1001']=webappMappings['1001-atoix0inljqrb272ca5c7f6ec51c']={
webappId:    '1001',
documentId:  '19282',
internalId:  'atoix0inljqrb272ca5c7f6ec51c',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0inljqrb272ca5c7f6ec51c']={
webappId:    '1001',
documentId:  '19537',
internalId:  'atoix0inljqrb272ca5c7f6ec51c',
customField: 'followUp'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '4579',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4579',
internalId:  '',
customField: '20040327-141232'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19201',
internalId:  '',
customField: '20090124-160900'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19390',
internalId:  '',
customField: '20040327-142006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20001',
internalId:  '',
customField: '20040327-141918'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19228',
internalId:  '',
customField: '20031214-001536'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19255',
internalId:  '',
customField: '20040110-140339'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19282',
internalId:  '',
customField: '20031213-224229'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19537',
internalId:  '',
customField: '20031213-221244'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19309',
internalId:  '',
customField: '20031213-224251'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19336',
internalId:  '',
customField: '20031213-221559'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19363',
internalId:  '',
customField: '20040117-150345'
};
var canonHostname = 'cfawrk08.aul.t-online.de';
var accountId     = 'ATOIX0INLJQR';
var companyName   = '+The+spirit+of+Brazil';
var htmlTitle	  = 'BKT+Trading+%C2%B7+Cachaca+f%C3%BCr+Caipirinha+%C2%B7+Lindau+am+Bodensee';
var metaKeywords  = 'bkt%2C+trading%2C+sontheim%2C+cachaca%2C+caipirinha%2C++zuckerrohrschnaps%2C+geschenkidee%2C+spezialit%C3%A4t%2C+spezialitaet%2C+brasilien%2C+bettnau%2C+lindau%2C+bodensee';
var metaContents  = 'Cachaca+%28Zuckerrohrschnaps+z.B.+f%C3%BCr+Caipirinha%29%2C+Spezialit%C3%A4ten+und+Geschenkideen+aus+Brasilien+in+Bettnau+bei+Lindau+am+Bodensee.';
					                                                                    
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 */					                                                            
