/* [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','40555',jdecode('Wir+%C3%BCber+uns'),jdecode(''),'/40555.html','true',[],''],
	['PAGE','40582',jdecode('Tasting+Termine'),jdecode(''),'/40582/home.html','true',[ 
		['PAGE','41836',jdecode('Termine+Whisky+Nights+'),jdecode(''),'/40582/41836.html','true',[],''],
		['PAGE','54301',jdecode('+Wein%2FWhisky+Proben'),jdecode(''),'/40582/54301.html','true',[],''],
		['PAGE','41261',jdecode('Private+Tastings+%21%21+NEU+%21%21%21'),jdecode(''),'/40582/41261.html','true',[],''],
		['PAGE','56801',jdecode('Tasting+Weinstube+'),jdecode(''),'/40582/56801.html','true',[],''],
		['PAGE','56101',jdecode('Tasting+Clubhaus'),jdecode(''),'/40582/56101.html','true',[],'']
	],''],
	['PAGE','41953',jdecode('%22Beer%22+Sortiment'),jdecode(''),'/41953.html','true',[],''],
	['PAGE','44722',jdecode('Weine+%21'),jdecode(''),'/44722.html','true',[],''],
	['PAGE','41353',jdecode('Zubeh%C3%B6r'),jdecode(''),'/41353.html','true',[],''],
	['PAGE','41387',jdecode('Shirts+%26+Caps'),jdecode(''),'/41387.html','true',[],''],
	['PAGE','41344',jdecode('Probierliste'),jdecode(''),'/41344.html','true',[],''],
	['PAGE','40731',jdecode('Tastings+%26+Rarit%C3%A4ten+'),jdecode(''),'/40731.html','true',[],''],
	['PAGE','41539',jdecode('Presse'),jdecode(''),'/41539.html','true',[],''],
	['PAGE','40660',jdecode('Anfahrt'),jdecode(''),'/40660.html','true',[],''],
	['PAGE','40600',jdecode('Kontakt'),jdecode(''),'/40600.html','true',[],''],
	['PAGE','40618',jdecode('Links+%2F+Partner'),jdecode(''),'/40618.html','true',[],''],
	['PAGE','57301',jdecode('Groupon+Gutschein'),jdecode(''),'/57301.html','true',[],'']];
var siteelementCount=19;
theSitetree.topTemplateName='Firma';
theSitetree.paletteFamily='E9DDAD';
theSitetree.keyvisualId='9920';
theSitetree.keyvisualName='kv_9920.jpg';
theSitetree.fontsetId='17859';
theSitetree.graphicsetId='12987';
theSitetree.contentColor='413405';
theSitetree.contentBGColor='C2B16E';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Firma',
				paletteFamily: 	'E9DDAD',
				keyvisualId: 	'9920',
				keyvisualName: 	'kv_9920.jpg',
				fontsetId: 		'17859',
				graphicsetId: 	'12987',
				contentColor: 	'413405',
				contentBGColor: 'C2B16E',
				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:  '39994',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20120116-162127'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40555',
internalId:  '',
customField: '20120127-224552'
};
webappMappings['1008']=webappMappings['1008-42848375']={
webappId:    '1008',
documentId:  '57301',
internalId:  '42848375',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40660',
internalId:  '',
customField: '20080605-225147'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40582',
internalId:  '',
customField: '20120117-105318'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40600',
internalId:  '',
customField: '20101117-222819'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40618',
internalId:  '',
customField: '20120104-222353'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '40660',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['1007']=webappMappings['1007-1164e435181']={
webappId:    '1007',
documentId:  '40731',
internalId:  '1164e435181',
customField: 'g.12p73udrd.5qkk9jeqjl.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40731',
internalId:  '',
customField: '20090630-120723'
};
webappMappings['1008']=webappMappings['1008-42848375']={
webappId:    '1008',
documentId:  '40600',
internalId:  '42848375',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44722',
internalId:  '',
customField: '20111205-111401'
};
webappMappings['1008']=webappMappings['1008-42848375']={
webappId:    '1008',
documentId:  '56101',
internalId:  '42848375',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41261',
internalId:  '',
customField: '20100717-211115'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '57301',
internalId:  '',
customField: '20120203-100940'
};
webappMappings['1008']=webappMappings['1008-42848375']={
webappId:    '1008',
documentId:  '56801',
internalId:  '42848375',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['1008']=webappMappings['1008-42848375']={
webappId:    '1008',
documentId:  '41261',
internalId:  '42848375',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['1007']=webappMappings['1007-1172d0cafff']={
webappId:    '1007',
documentId:  '41387',
internalId:  '1172d0cafff',
customField: 'g.12smfu9hi.3emqqo66ii.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41344',
internalId:  '',
customField: '20090506-222924'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41387',
internalId:  '',
customField: '20090923-221956'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41836',
internalId:  '',
customField: '20120116-161828'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41953',
internalId:  '',
customField: '20091023-161703'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41353',
internalId:  '',
customField: '20101019-224633'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41539',
internalId:  '',
customField: '20080108-142514'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56801',
internalId:  '',
customField: '20120123-225155'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56101',
internalId:  '',
customField: '20120208-100958'
};
webappMappings['1008']=webappMappings['1008-42848375']={
webappId:    '1008',
documentId:  '41836',
internalId:  '42848375',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '54301',
internalId:  '',
customField: '20120116-162006'
};
webappMappings['1008']=webappMappings['1008-42848375']={
webappId:    '1008',
documentId:  '54301',
internalId:  '42848375',
customField: 'de:DE::;language:de;country:DE;'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0I7HSPQ';
var companyName   = 'www.whiskytasting-4you.de';
var htmlTitle	  = 'Whisky+Tastings+%2F+Seminare+%2FVerkostung%2FShop';
var metaKeywords  = 'Whisky%2Cwhiskey%2Ctasting%2CArdbeg%2CSpringbank%2C+Dun+Bheagan%2CGlengoyne%2CGlenmorangie%2C+Whiskyshop+Maintal%2CClassic+Malts%2Cscotch+whisky%2C+scottish+whisky%2C+irish+whiskey%2Csingle+%2Cguinness%2Cmalt+whisky%2C+scotch+single+malt+whisky%2Cmalt+whisky%2Cirish+malt+whisky%2Cclassic+%2Cwhisky%2C+single+malt%2Cardbeg%2Cdun+bheagan%2Cwhiskyshop+maintal%2Cmalt+whisky%2C+classic+malts%2CSchottland%2CIrland%2CWales%2Cscotland%2Cireland%2Cguinness%2Cengland%2Cirish%2Cscottish%2Cscotch%2Cseminar%2Cseminare%2Cwhisky+probe%2Cprobe%2CMaintal%2C+Wachenbuchen%2Cjon+wells%2C+whiskymax%2Cmy+whisky%2C+whiskyfair%2Cevents%2Cgeschenke%2CTalisker%2CBeer%2Cguinnes%2C+rugby%2C+shirts%2C+Karten%2C+tastings%2Ctickets%2Cevent%2Cveranstaltung%2Cgeschenktipp%2Cwerbegeschenke%2Cwhiskyprobe%2C+probe%2Cwww.whiskytasting-4you.de%2Cwhiskymax+maintal%2Cmaintal%2Cwhiskytasting-4you%2C';
var metaContents  = 'Whisky+Tastings+%2F+Seminare+f%C3%BCr+Anf%C3%A4nger+und+Profis.Tickets+direkt+online+bestellen%21%21';
					                                                                    
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 */					                                                            

