/* [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','10678',jdecode('Home'),jdecode(''),'/10678.html','true',[],''],
	['PAGE','22223',jdecode('Wir+%C3%BCber+uns'),jdecode(''),'/22223.html','true',[],''],
	['PAGE','10816',jdecode('Preise'),jdecode(''),'/10816/home.html','true',[ 
		['PAGE','40751',jdecode('Angebote'),jdecode(''),'/10816/40751.html','true',[],'']
	],''],
	['PAGE','22250',jdecode('Unsere+Umgebung'),jdecode(''),'/22250.html','true',[],''],
	['PAGE','17024',jdecode('Online-Anfragen+%28Folgeseite%29'),jdecode(''),'/17024.html','false',[],''],
	['PAGE','17450',jdecode('Kontakt'),jdecode(''),'/17450/home.html','true',[ 
		['PAGE','17589',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/17450/17589.html','false',[],'']
	],''],
	['PAGE','22277',jdecode('Anreise'),jdecode(''),'/22277/home.html','true',[ 
		['PAGE','17324',jdecode('Anfahrts-Plan'),jdecode(''),'/22277/17324.html','true',[],'']
	],''],
	['PAGE','23224',jdecode('G%C3%A4stebuch'),jdecode(''),'/23224/home.html','true',[ 
		['PAGE','23225',jdecode('Eintr%C3%A4ge'),jdecode(''),'/23224/23225.html','true',[],'']
	],''],
	['PAGE','72394',jdecode('Bildergalerie'),jdecode(''),'/72394.html','true',[],''],
	['PAGE','74799',jdecode('Veranstaltungen'),jdecode(''),'/74799.html','true',[],''],
	['PAGE','74712',jdecode('Interessante+Links'),jdecode(''),'/74712.html','true',[],''],
	['PAGE','78925',jdecode('AGB'),jdecode(''),'/78925.html','true',[],''],
	['PAGE','68665',jdecode('Impressum'),jdecode(''),'/68665.html','true',[],'']];
var siteelementCount=17;
theSitetree.topTemplateName='Holz';
theSitetree.paletteFamily='FF7113';
theSitetree.keyvisualId='8817';
theSitetree.keyvisualName='KV_03.swf';
theSitetree.fontsetId='17186';
theSitetree.graphicsetId='12655';
theSitetree.contentColor='262626';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'true',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'true',
				hasCompanyname: 'false',
				name: 			'Holz',
				paletteFamily: 	'FF7113',
				keyvisualId: 	'8817',
				keyvisualName: 	'KV_03.swf',
				fontsetId: 		'17186',
				graphicsetId: 	'12655',
				contentColor: 	'262626',
				contentBGColor: 'FFFFFF',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'FF6600',
				d_color: 		'FFFFFF',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1001']=webappMappings['1001-atoix0invdq856f313891004e8a8']={
webappId:    '1001',
documentId:  '17024',
internalId:  'atoix0invdq856f313891004e8a8',
customField: 'followUp'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '17324',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['1001']=webappMappings['1001-atoix0invdq8b3ceb3a01de5bbf1']={
webappId:    '1001',
documentId:  '17450',
internalId:  'atoix0invdq8b3ceb3a01de5bbf1',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0invdq8b3ceb3a01de5bbf1']={
webappId:    '1001',
documentId:  '17589',
internalId:  'atoix0invdq8b3ceb3a01de5bbf1',
customField: 'followUp'
};
webappMappings['1002']=webappMappings['1002-23224ATOIX0INVDQ8']={
webappId:    '1002',
documentId:  '23224',
internalId:  '23224ATOIX0INVDQ8',
customField: 'action=form&icq=false'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '10678',
internalId:  '1006',
customField: '1006'
};
webappMappings['1002']=webappMappings['1002-23224ATOIX0INVDQ8']={
webappId:    '1002',
documentId:  '23225',
internalId:  '23224ATOIX0INVDQ8',
customField: 'action=list'
};
webappMappings['1007']=webappMappings['1007-108fcf1ac50']={
webappId:    '1007',
documentId:  '72394',
internalId:  '108fcf1ac50',
customField: 'g.113ueis8t.9o016fj7ue.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10678',
internalId:  '',
customField: '20091208-194433'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '74799',
internalId:  '',
customField: '20100218-112851'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22223',
internalId:  '',
customField: '20060402-172835'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '10816',
internalId:  '',
customField: '20091226-131850'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40751',
internalId:  '',
customField: '20100106-190947'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22250',
internalId:  '',
customField: '20091230-084554'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17024',
internalId:  '',
customField: '20040621-220147'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17450',
internalId:  '',
customField: '20060217-151858'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17589',
internalId:  '',
customField: '20040622-183129'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22277',
internalId:  '',
customField: '20040711-142044'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17324',
internalId:  '',
customField: '20040622-142934'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23224',
internalId:  '',
customField: '20060219-112122'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23225',
internalId:  '',
customField: '20040623-195811'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '72394',
internalId:  '',
customField: '20060126-120215'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '74712',
internalId:  '',
customField: '20060403-135346'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '68665',
internalId:  '',
customField: '20091209-074739'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '78925',
internalId:  '',
customField: '20091216-230411'
};
var canonHostname = 'cfawrk09.aul.t-online.de';
var accountId     = 'ATOIX0INVDQ8';
var companyName   = 'Hotel+-+Pension+-+Haus+Mecklenburg+';
var htmlTitle	  = 'Hotel+Haus+Mecklenburg';
var metaKeywords  = 'Hotel%2C+Pension%2C+Haus%2C+Mecklenburg%2C+Bad%2C+Salzuflen%2C+Bad+Salzuflen%2C+Lippe%2C+NRW%2C+Stadt%2C+32105%2C+Staatsbad%2C+Kurpark%2C+Diaetverpflegung%2C+Diaet%2C+Zimmer%2C+Kur%2C+Urlaub%2C+Erholung%2C+Tourist%2C++info%2C+Information%2C+Touristinfo%2C+Bad+Salzuflen%2C+Diaet%2C+bad+salzuflen%2C';
var metaContents  = 'Das+Hotel+liegt+in+einem+schoenen+Garten%2C+sehr+ruhig+und+zentral.+Mit+wenigen+Schritten+erreichen+Sie+bequem+den+Kurpark%2C+das+Therapiezentrum+und+die+Fussgaengerzone.+Halb-+und+Vollpension%2C+Schonkost+sowie+Diaetverpflegung+werden+angeboten.';
					                                                                    
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 */					                                                            
