/* [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('%22Dat+School%22'),jdecode(''),'/44.html','true',[],''],
	['PAGE','41469',jdecode('Die+Speisenkarte'),jdecode(''),'/41469.html','true',[],''],
	['PAGE','105522',jdecode('Events'),jdecode(''),'/105522.html','true',[],''],
	['PAGE','41478',jdecode('N%C3%A4chster+Kochkurs'),jdecode(''),'/41478.html','true',[],''],
	['PAGE','121143',jdecode('Unser+Garten'),jdecode(''),'/121143/home.html','true',[ 
		['PAGE','189111',jdecode('Kleine+Kr%C3%A4uterkunde'),jdecode(''),'/121143/189111.html','true',[],'']
	],''],
	['PAGE','121122',jdecode('Rezepte+'),jdecode(''),'/121122.html','true',[],''],
	['PAGE','121164',jdecode('Museum+%22Kunsterbunt%22'),jdecode(''),'/121164.html','true',[],''],
	['PAGE','129811',jdecode('Kontakt+und+Anfahrt'),jdecode(''),'/129811/home.html','true',[ 
		['PAGE','173811',jdecode('Ich+h%C3%A4tte+da+mal.....'),jdecode(''),'/129811/173811.html','true',[],''],
		['PAGE','191511',jdecode('Ihr+Weg+zu+uns'),jdecode(''),'/129811/191511.html','true',[],'']
	],''],
	['PAGE','121185',jdecode('LINKS+und+Recht'),jdecode(''),'/121185.html','true',[],'']];
var siteelementCount=12;
theSitetree.topTemplateName='Eiform';
theSitetree.paletteFamily='CF3925';
theSitetree.keyvisualId='10880';
theSitetree.keyvisualName='kv_10880.jpg';
theSitetree.fontsetId='31873';
theSitetree.graphicsetId='13674';
theSitetree.contentColor='FBE9E6';
theSitetree.contentBGColor='CF3925';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Eiform',
				paletteFamily: 	'CF3925',
				keyvisualId: 	'10880',
				keyvisualName: 	'kv_10880.jpg',
				fontsetId: 		'31873',
				graphicsetId: 	'13674',
				contentColor: 	'FBE9E6',
				contentBGColor: 'CF3925',
				a_color: 		'000000',
				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:     'true'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20111220-080535'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41469',
internalId:  '',
customField: '20111220-080409'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41478',
internalId:  '',
customField: '20111130-081655'
};
webappMappings['1501']=webappMappings['1501-32996704']={
webappId:    '1501',
documentId:  '44',
internalId:  '32996704',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '121143',
internalId:  '',
customField: '20111130-081915'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '121164',
internalId:  '',
customField: '20111130-082219'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '121185',
internalId:  '',
customField: '20111130-081441'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '105522',
internalId:  '',
customField: '20111220-075510'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '121122',
internalId:  '',
customField: '20110404-092221'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '129811',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '129811',
internalId:  '',
customField: '20111130-081255'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '173811',
internalId:  '',
customField: '20110630-164350'
};
webappMappings['1008']=webappMappings['1008-55060278']={
webappId:    '1008',
documentId:  '173811',
internalId:  '55060278',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '191511',
internalId:  '',
customField: '20100505-083617'
};
webappMappings['2002']=webappMappings['2002-routing']={
webappId:    '2002',
documentId:  '191511',
internalId:  'routing',
customField: 'de_DE'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '189111',
internalId:  '',
customField: '20110209-084340'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0I7TEHY';
var companyName   = 'K%C3%BCchenrestaurant+%22Dat+School%22';
var htmlTitle	  = 'K%C3%BCchenrestaurant+Dat+School+mit+Kochschule%2C+w%C3%B6chentlich+neue+Speisenkarte';
var metaKeywords  = 'Wildkr%C3%A4uterk%C3%BCche%2CCaf%C3%A9%2CWildkr%C3%A4uterseminar%2C+Kochschule%2CHunsrueck%2C+Hunsr%C3%BCck%2CHasselbach+im+Hunsr%C3%BCck%2C+Restaurants+in+Rheinland-Pfalz%2C+Restaurants+im+Hunsr%C3%BCck%2C+Gartenwirtschaft%2C+Biergarten%2C+K%C3%BCchenrestaurant%2C+Kochkurs%2C+Koch-Workshops%2C+Puppendoktor%2CPuppenklinik%2C+Wildkr%C3%A4uterf%C3%BChrung%2CSpielzeugmuseum%2C+Kunsterbunt%2C+Kr%C3%A4utergarten%2CGartenroute-Hunsr%C3%BCck-Mittelrhein%2C+Hasselbach%2C+Natur+One%2C+Flughafen+Frankfurt-Hahn%2C+Flammkuchen%2C+Restaurants+in+Kastellaun%2CSchulausflug%2C+Museumsp%C3%A4dagisches+Angebot%2CVegetarische+K%C3%BCche%2C+';
var metaContents  = 'Speiserestaurant+mit+offener+K%C3%BCche+und+gro%C3%9Fer+Gartenterrasse.+Man+kann+beim+Kochen+zuschauen.+NEU+Sonntags-Caf%C3%A9+NEU%2C+Tel.+06762+961616.+Ge%C3%B6ffnet+DO%2CFR%2C+und+SA+ab+17.30+und+Sonntags+12-18+Uhr+++Saisonale+K%C3%BCche+mit+%C3%BCberwiegend+regionalen+Produkten.+Wildkr%C3%A4uterk%C3%BCche%2C+Els%C3%A4sser+Flammkuchen%2C+Koch-Workshops.+Gro%C3%9Fer+Natur-Garten+%2C+Spielzeugmuseum+Kunsterbunt%2C+Puppenklinik%2C+';
					                                                                    
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 */					                                                            

