/* [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','41213',jdecode('Waldheim'),jdecode(''),'/41213.html','true',[],''],
	['PAGE','60001',jdecode('Geschichte'),jdecode(''),'/60001.html','true',[],''],
	['PAGE','59401',jdecode('nette+Kommentare'),jdecode(''),'/59401.html','true',[],''],
	['PAGE','56401',jdecode('Aktuelles'),jdecode(''),'/56401.html','true',[],''],
	['PAGE','41052',jdecode('Ferienwohnung+1'),jdecode(''),'/41052.html','true',[],''],
	['PAGE','41061',jdecode('Ferienwohnung+2'),jdecode(''),'/41061.html','true',[],''],
	['PAGE','62801',jdecode('Zusatzzimmer'),jdecode(''),'/62801.html','true',[],''],
	['PAGE','50801',jdecode('f%C3%BCr+unsere+G%C3%A4ste'),jdecode(''),'/50801.html','true',[],''],
	['PAGE','41079',jdecode('Allgemeines'),jdecode(''),'/41079.html','true',[],''],
	['PAGE','41695',jdecode('Umwelt+und+Natur'),jdecode(''),'/41695.html','true',[],''],
	['PAGE','44532',jdecode('unsere+Eulen'),jdecode(''),'/44532.html','true',[],''],
	['PAGE','53101',jdecode('Imkerseite'),jdecode(''),'/53101.html','true',[],''],
	['PAGE','41518',jdecode('Termine'),jdecode(''),'/41518.html','true',[],''],
	['PAGE','45101',jdecode('Region'),jdecode(''),'/45101.html','true',[],''],
	['PAGE','41070',jdecode('Belegung+%2F+Preise'),jdecode(''),'/41070.html','true',[],''],
	['PAGE','41429',jdecode('Anfahrt'),jdecode(''),'/41429.html','true',[],''],
	['PAGE','41600',jdecode('Kontakt'),jdecode(''),'/41600.html','true',[],''],
	['PAGE','47501',jdecode('Impressum'),jdecode(''),'/47501.html','true',[],'']];
var siteelementCount=18;
theSitetree.topTemplateName='Enjoy';
theSitetree.paletteFamily='93A6CC';
theSitetree.keyvisualId='2224';
theSitetree.keyvisualName='blanko.jpg';
theSitetree.fontsetId='365';
theSitetree.graphicsetId='415';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='93A6CC';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Enjoy',
				paletteFamily: 	'93A6CC',
				keyvisualId: 	'2224',
				keyvisualName: 	'blanko.jpg',
				fontsetId: 		'365',
				graphicsetId: 	'415',
				contentColor: 	'FFFFFF',
				contentBGColor: '93A6CC',
				a_color: 		'93A6CC',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Times New Roman, Times, serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '41429',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41061',
internalId:  '',
customField: '20111010-132958'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41052',
internalId:  '',
customField: '20111010-132832'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41070',
internalId:  '',
customField: '20120123-160942'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41079',
internalId:  '',
customField: '20110112-175432'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41518',
internalId:  '',
customField: '20110320-165748'
};
webappMappings['1007']=webappMappings['1007-11e7e9cd5c3']={
webappId:    '1007',
documentId:  '41213',
internalId:  '11e7e9cd5c3',
customField: 'g.13pv9j5m4.qp9p9d1ih8.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41213',
internalId:  '',
customField: '20111226-100812'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41429',
internalId:  '',
customField: '20110619-181809'
};
webappMappings['1007']=webappMappings['1007-129c714a7c6']={
webappId:    '1007',
documentId:  '53101',
internalId:  '129c714a7c6',
customField: 'g.1573h535v.ep2ngg4bat.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44532',
internalId:  '',
customField: '20100811-092453'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41695',
internalId:  '',
customField: '20110112-175808'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62801',
internalId:  '',
customField: '20111226-103042'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41600',
internalId:  '',
customField: '20110112-180325'
};
webappMappings['1007']=webappMappings['1007-13474f5363c']={
webappId:    '1007',
documentId:  '60001',
internalId:  '13474f5363c',
customField: 'g.16hqf353d.2fb08k18m.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45101',
internalId:  '',
customField: '20110626-095320'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47501',
internalId:  '',
customField: '20110112-180351'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '59401',
internalId:  '',
customField: '20111225-185524'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '53101',
internalId:  '',
customField: '20111226-102653'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '50801',
internalId:  '',
customField: '20110112-175404'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56401',
internalId:  '',
customField: '20120115-182913'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '60001',
internalId:  '',
customField: '20120115-180035'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0I726GC';
var companyName   = 'Waldheim-Schienen';
var htmlTitle	  = 'Waldheim-Schienen+%2F+Ferienwohnungen+in+absolut+ruhige+Lage+auf+dem+%22Schiener+Berg%22+%2F+H%C3%B6ri+%2F+Bodensee+%2F+Untersee';
var metaKeywords  = 'Ferienwohnungen+Bodensee+Untersee+H%C3%B6ri+%C3%96hningen+Schienen+Waldheim+St%C3%BCben';
var metaContents  = 'Unser+Haus+liegt+auf+dem+Schienerberg+inmitten+einer+idyllisch+l%C3%A4ndlich+gepr%C3%A4gten+Landschaft%2C+direkt+an+der+Schweizer+Grenze.+Angus-+Rinderzucht%2C+Pferdehof%2C+Wiesen+und+Felder%2C+biologischer+Gem%C3%BCseanbau++befinden+sich+im+Umfeld.+Direkt+am+Haus+vorbei+f%C3%BChren+zahlreiche+Wander-+und+Radwege+in+die+Schweiz+und+nach+Deutschland.Wir+bieten+zwei%2C+in+2008+neu+errichtete+und+gem%C3%BCtlich+ausgestattete+Ferienappartements.++++++++++++++++++';
					                                                                    
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 */					                                                            

