/* [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','13901',jdecode('Home'),jdecode(''),'/13901.html','true',[],''],
	['PAGE','13985',jdecode('Die+Ferienwohnung'),jdecode(''),'/13985/home.html','true',[ 
		['PAGE','14012',jdecode('++++Das+Wohzimmer'),jdecode(''),'/13985/14012.html','true',[],''],
		['PAGE','14039',jdecode('++++Der+Kamin+und+TV+Raum'),jdecode(''),'/13985/14039.html','true',[],''],
		['PAGE','16405',jdecode('++++Die+K%C3%BCche'),jdecode(''),'/13985/16405.html','true',[],''],
		['PAGE','16432',jdecode('+++++Das+Kinderzimmer'),jdecode(''),'/13985/16432.html','true',[],''],
		['PAGE','16459',jdecode('+++++Das+Schlafzimmer'),jdecode(''),'/13985/16459.html','true',[],''],
		['PAGE','16486',jdecode('+++++Das+Luxusbad'),jdecode(''),'/13985/16486.html','true',[],''],
		['PAGE','16513',jdecode('+++++Der+Garten'),jdecode(''),'/13985/16513.html','true',[],'']
	],''],
	['PAGE','14093',jdecode('+Friesische-Kaufhaus'),jdecode(''),'/14093.html','true',[],''],
	['PAGE','14120',jdecode('Preis+%26+Leistung'),jdecode(''),'/14120.html','true',[],''],
	['PAGE','19424',jdecode('G%C3%BCnstige+Restpl%C3%A4tze'),jdecode(''),'/19424.html','true',[],''],
	['PAGE','21037',jdecode('+Impressum+%26+AGB+%26+Datenschutz'),jdecode(''),'/21037.html','true',[],''],
	['PAGE','17387',jdecode('Termine'),jdecode(''),'/17387.html','true',[],''],
	['PAGE','14174',jdecode('Online-Anfragen'),jdecode(''),'/14174/home.html','true',[ 
		['PAGE','15056',jdecode('Online-Anfragen+%28Folgeseite%29'),jdecode(''),'/14174/15056.html','false',[],'']
	],''],
	['PAGE','14201',jdecode('Online-Buchen'),jdecode(''),'/14201/home.html','true',[ 
		['PAGE','15127',jdecode('Online-Buchen+%28Folgeseite%29'),jdecode(''),'/14201/15127.html','false',[],'']
	],''],
	['PAGE','17055',jdecode('Kontakt'),jdecode(''),'/17055/home.html','true',[ 
		['PAGE','17136',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/17055/17136.html','false',[],'']
	],''],
	['PAGE','18655',jdecode('Anreise'),jdecode(''),'/18655.html','true',[],'']];
var siteelementCount=21;
theSitetree.topTemplateName='Roadsign';
theSitetree.paletteFamily='CFD5F7';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10356';
theSitetree.graphicsetId='10496';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Roadsign',
				paletteFamily: 	'CFD5F7',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10356',
				graphicsetId: 	'10496',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'666666',
				e_color: 		'999999',
				f_color: 		'663300',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1001']=webappMappings['1001-atoix0inv2g3a9d4c1cc8a3a66a1']={
webappId:    '1001',
documentId:  '14174',
internalId:  'atoix0inv2g3a9d4c1cc8a3a66a1',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0inv2g3a9d4c1cc8a3a66a1']={
webappId:    '1001',
documentId:  '15056',
internalId:  'atoix0inv2g3a9d4c1cc8a3a66a1',
customField: 'followUp'
};
webappMappings['1001']=webappMappings['1001-atoix0inv2g3f237dbc00a8d1ac']={
webappId:    '1001',
documentId:  '14201',
internalId:  'atoix0inv2g3f237dbc00a8d1ac',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0inv2g3f237dbc00a8d1ac']={
webappId:    '1001',
documentId:  '15127',
internalId:  'atoix0inv2g3f237dbc00a8d1ac',
customField: 'followUp'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '13901',
internalId:  '1006',
customField: '1006'
};
webappMappings['1001']=webappMappings['1001-atoix0inv2g36ab02c1bae71b290']={
webappId:    '1001',
documentId:  '17055',
internalId:  'atoix0inv2g36ab02c1bae71b290',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0inv2g36ab02c1bae71b290']={
webappId:    '1001',
documentId:  '17136',
internalId:  'atoix0inv2g36ab02c1bae71b290',
customField: 'followUp'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13901',
internalId:  '',
customField: '20101020-143714'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19424',
internalId:  '',
customField: '20080227-234328'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '21037',
internalId:  '',
customField: '20080317-002649'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13985',
internalId:  '',
customField: '20101023-113541'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14012',
internalId:  '',
customField: '20060107-140415'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14039',
internalId:  '',
customField: '20060107-140625'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16405',
internalId:  '',
customField: '20040224-232954'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16432',
internalId:  '',
customField: '20060806-134735'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16459',
internalId:  '',
customField: '20040309-115039'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16486',
internalId:  '',
customField: '20040224-233229'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16513',
internalId:  '',
customField: '20101023-114039'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14093',
internalId:  '',
customField: '20080124-122719'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14120',
internalId:  '',
customField: '20101020-144121'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17387',
internalId:  '',
customField: '20040328-102508'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14174',
internalId:  '',
customField: '20040223-141124'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15056',
internalId:  '',
customField: '20040223-140911'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14201',
internalId:  '',
customField: '20101020-144007'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15127',
internalId:  '',
customField: '20040223-142200'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17055',
internalId:  '',
customField: '20080317-002853'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17136',
internalId:  '',
customField: '20040223-190845'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18655',
internalId:  '',
customField: '20040328-113804'
};
var canonHostname = 'c4awrk05.aul.t-online.de';
var accountId     = 'ATOIX0INV2G3';
var companyName   = 'Ferienwohnung+am+Kirchweg-Nordseebad+Tossens';
var htmlTitle	  = 'Ferienwohnung+am+Kirchweg';
var metaKeywords  = '0';
var metaContents  = 'Ferienwohnung+an+der+Nordsee.+Angebote+f%C3%BCr+das+ganze+Jahr.+Ansichten+der+Ferienwohnung.+Lage+auf+innerhalb+der+Urlaubsregion+Butjadingen.';
					                                                                    
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 */					                                                            

