/* [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','41915',jdecode('Wir+%C3%BCber+uns'),jdecode(''),'/41915.html','true',[],''],
	['PAGE','40541',jdecode('Speisekarte'),jdecode(''),'/40541.html','true',[],''],
	['PAGE','40550',jdecode('Feiern'),jdecode(''),'/40550.html','true',[],''],
	['PAGE','40559',jdecode('Veranstaltungen'),jdecode(''),'/40559.html','true',[],''],
	['PAGE','40568',jdecode('Aktionen'),jdecode(''),'/40568.html','true',[],''],
	['PAGE','105901',jdecode('Ente+%28SATT%29'),jdecode(''),'/105901.html','false',[],''],
	['PAGE','98201',jdecode('Gr%C3%BCnkohlessen'),jdecode(''),'/98201.html','true',[],''],
	['PAGE','110201',jdecode('1.+Weihnachtstag'),jdecode(''),'/110201.html','false',[],''],
	['PAGE','103601',jdecode('Spargelessen%21'),jdecode(''),'/103601.html','false',[],''],
	['PAGE','40577',jdecode('%C3%96ffnungszeiten'),jdecode(''),'/40577.html','true',[],''],
	['PAGE','40609',jdecode('So+finden+Sie+uns'),jdecode(''),'/40609.html','true',[],''],
	['PAGE','40586',jdecode('Kontakt'),jdecode(''),'/40586/home.html','true',[ 
		['PAGE','41627',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/40586/41627.html','true',[],'']
	],''],
	['PAGE','42524',jdecode('G%C3%A4stebuch'),jdecode(''),'/42524/home.html','true',[ 
		['PAGE','42523',jdecode('Eintr%C3%A4ge'),jdecode(''),'/42524/42523.html','true',[],'']
	],''],
	['PAGE','109601',jdecode('Krusendorf+'),jdecode(''),'/109601.html','true',[],''],
	['PAGE','43192',jdecode('Bildergalerie'),jdecode(''),'/43192.html','true',[],''],
	['PAGE','42354',jdecode('Links'),jdecode(''),'/42354.html','true',[],''],
	['PAGE','40595',jdecode('Impressum'),jdecode(''),'/40595.html','true',[],'']];
var siteelementCount=20;
theSitetree.topTemplateName='cutout';
theSitetree.paletteFamily='F0F1D8';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10611';
theSitetree.graphicsetId='10473';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'cutout',
				paletteFamily: 	'F0F1D8',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10611',
				graphicsetId: 	'10473',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'FFFFFF',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '40609',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['1001']=webappMappings['1001-atoix0i7n14710b6b99c3bc']={
webappId:    '1001',
documentId:  '40586',
internalId:  'atoix0i7n14710b6b99c3bc',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0i7n14710b6b99c3bc']={
webappId:    '1001',
documentId:  '41627',
internalId:  'atoix0i7n14710b6b99c3bc',
customField: 'followUp'
};
webappMappings['1501']=webappMappings['1501-15011322']={
webappId:    '1501',
documentId:  '44',
internalId:  '15011322',
customField: '1501'
};
webappMappings['1002']=webappMappings['1002-42524atoix0i7n147']={
webappId:    '1002',
documentId:  '42524',
internalId:  '42524atoix0i7n147',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-42524atoix0i7n147']={
webappId:    '1002',
documentId:  '42523',
internalId:  '42524atoix0i7n147',
customField: 'action=list'
};
webappMappings['1007']=webappMappings['1007-10c5c7436cd']={
webappId:    '1007',
documentId:  '43192',
internalId:  '10c5c7436cd',
customField: 'g.11he75qhf.o38i3gkn8t.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20101015-132728'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40568',
internalId:  '',
customField: '20101015-133047'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40559',
internalId:  '',
customField: '20110519-140522'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41915',
internalId:  '',
customField: '20070904-145625'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40541',
internalId:  '',
customField: '20100612-170537'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40550',
internalId:  '',
customField: '20070424-120226'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '98201',
internalId:  '',
customField: '20111009-174136'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40577',
internalId:  '',
customField: '20111009-174312'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40609',
internalId:  '',
customField: '20090627-120220'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40586',
internalId:  '',
customField: '20060528-191528'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41627',
internalId:  '',
customField: '20070601-205744'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42524',
internalId:  '',
customField: '20081003-191420'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42523',
internalId:  '',
customField: '20060601-220539'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43192',
internalId:  '',
customField: '20060910-171137'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42354',
internalId:  '',
customField: '20071112-192732'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40595',
internalId:  '',
customField: '20060908-192737'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '105901',
internalId:  '',
customField: '20100909-200237'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '103601',
internalId:  '',
customField: '20080525-134720'
};
webappMappings['7060']=webappMappings['7060-ba5a3358f9eb28ddbe96b87c456ad553']={
webappId:    '7060',
documentId:  '109601',
internalId:  'ba5a3358f9eb28ddbe96b87c456ad553',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '109601',
internalId:  '',
customField: '20081003-190456'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '110201',
internalId:  '',
customField: '20111009-174240'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0I7N147';
var companyName   = 'Mi%C3%9Ffeldt%27s+Gasthof';
var htmlTitle	  = 'Mi%C3%9Ffeldts+Gasthof';
var metaKeywords  = 'Missfeldt%2CMi%C3%9Ffeldt%2CMissfeldts-Gasthof%2CGasthof%2CLandgasthof%2CSchwedeneck%2CKrusendorf%2CSchleswig-Holstein%2CBratkartoffeln%2CDeutsche+K%C3%BCche%2CGr%C3%BCnkohlessen%2CEntenbraten%2CG%C3%A4nsebraten%2CFamilienfeiern%2C24229%2CTraditionelle+K%C3%BCche%2CGutb%C3%BCrgerliche+K%C3%BCche%2CSchleswig-Holsteinische+K%C3%BCche%2CHolzkohleherd%2CFischgerichte%2CSpargelessen%2CVeranstaltungen%2CSaal%2COstseek%C3%BCste%2COstseekueste%2CEckernf%C3%B6rde%2CEckernfoerde%2CKiel%2CDaenischer-Wohld%2CD%C3%A4nischer-Wohld%2C+Tradition%2C+Handwerkermarkt%2C+Knochenbruchgilde%2C+Sommergarten%2C+Feuerwehr+Krusendorf%2C';
var metaContents  = 'Willkommen+bei+Mi%C3%9Ffeldts+Gasthof.+Traditionelle+deutsche+und+schleswig-holsteinische+K%C3%BCche.+Essen+wie+bei+Muttern%2C+Zubereitung+der+Speisen+nach+alter+Tradition+auf+einem+Holzkohleherd.+Spezialit%C3%A4t+Bratkartoffeln+mit+diversen+Fleisch-+und+Fischsorten.+In+den+Wintermonaten+traditionelles+Gr%C3%BCnkohlessen.Enten-+und+G%C3%A4nsebraten+auf+Vorbestellung%2C+in+der+Sommersaison+u.a.+Spargelessen+satt.+Diverse+R%C3%A4umlichkeiten+f%C3%BCr+Familienfeiern+und+Veranstaltungen%2C+gro%C3%9Fer+Saal.Seit+142+Jahren+im+Familienbesitz.+Idyllisch+an+der+Ostseek%C3%BCste+im+Ort+Krusendorf+%28Schwedeneck%29+an+der+L45+zwischen+Eckernf%C3%B6rde+und+Kiel+gelegen.';
					                                                                    
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 */					                                                            

