/* [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','14001',jdecode('Home'),jdecode(''),'/14001.html','true',[],''],
	['PAGE','15001',jdecode('Ferienhaus+Nina+'),jdecode(''),'/15001.html','true',[],''],
	['PAGE','15006',jdecode('Die+Zimmer'),jdecode(''),'/15006.html','true',[],''],
	['PAGE','15046',jdecode('Die+Terrasse'),jdecode(''),'/15046.html','true',[],''],
	['PAGE','15051',jdecode('Die+Lage+'),jdecode(''),'/15051.html','true',[],''],
	['PAGE','15056',jdecode('Preise'),jdecode(''),'/15056.html','true',[],''],
	['PAGE','15583',jdecode('Fahrplan+Schiff'),jdecode(''),'/15583.html','true',[],''],
	['PAGE','16101',jdecode('Buchungsanfrage'),jdecode(''),'/16101/home.html','true',[ 
		['PAGE','16202',jdecode('Online-Buchen+%28Folgeseite%29'),jdecode(''),'/16101/16202.html','false',[],'']
	],''],
	['PAGE','15066',jdecode('Kontakt'),jdecode(''),'/15066.html','true',[],''],
	['PAGE','15071',jdecode('Links'),jdecode(''),'/15071.html','true',[],'']];
var siteelementCount=11;
theSitetree.topTemplateName='Stylus';
theSitetree.paletteFamily='FFD375';
theSitetree.keyvisualId='1990';
theSitetree.keyvisualName='strand.jpg';
theSitetree.fontsetId='328';
theSitetree.graphicsetId='385';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Stylus',
				paletteFamily: 	'FFD375',
				keyvisualId: 	'1990',
				keyvisualName: 	'strand.jpg',
				fontsetId: 		'328',
				graphicsetId: 	'385',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'FFD375',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14001',
internalId:  '',
customField: '20111231-140227'
};
webappMappings['1001']=webappMappings['1001-atoix0in2hgw102b6a48a3b']={
webappId:    '1001',
documentId:  '16101',
internalId:  'atoix0in2hgw102b6a48a3b',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0in2hgw102b6a48a3b']={
webappId:    '1001',
documentId:  '16202',
internalId:  'atoix0in2hgw102b6a48a3b',
customField: 'followUp'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '14001',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16101',
internalId:  '',
customField: '20070106-223547'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15056',
internalId:  '',
customField: '20120108-175036'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15001',
internalId:  '',
customField: '20080116-224255'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15006',
internalId:  '',
customField: '20100130-195516'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15046',
internalId:  '',
customField: '20070122-142053'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15051',
internalId:  '',
customField: '20080312-231839'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15583',
internalId:  '',
customField: '20101128-201216'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16202',
internalId:  '',
customField: '20100303-124247'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15066',
internalId:  '',
customField: '20050318-195407'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15071',
internalId:  '',
customField: '20070629-131455'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0IN2HGW';
var companyName   = 'Ihre+Ferienwohnung+auf+Borkum+%21';
var htmlTitle	  = 'Ferienhaus+auf+Borkum';
var metaKeywords  = 'Nordsee+%2C+Borkum+%2C+Erhohlung+%2C+Urlaub+%2C+Wellness+%2C+Spa%C3%9F+%2C+Ferienhaus+%2C+Ferienwohnung+%2C+Leuchtturm+%2C+K%C3%BCste+%2C+Ostfriesland+%2C+Reisen+%2C+Tauchen+%2C+Schwimmen+%2C+Surfen+%2C+Sonne+%2C+Meer+%2C+Swart+%2C+Nina+%2C+Urlaub+%2C+Relaxen+%2C+Reiten+%2C+Insel+%2C+K%C3%BCste+%2C+Dampflok+%2C+Triebwagen+%2C+Kleinbahn+%2C+Ehrendampflokf%C3%BChrer+%2C+Angeln+%2C+Sauna+%2C+FKK+%2C+Sonnen+%2C+Solarium+%2C+Br%C3%A4une+%2C+Ferien+%2C+Entspannen++';
var metaContents  = 'Ihr+Ferienhaus+%2F+Ferienwohnung+auf+Borkum.+Sehr+zentral+gelegen+.+Neubau+2004+.+Nordsee+Insel+%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 */					                                                            

