/* [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','39994',jdecode('Home'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','40350',jdecode('Das+Haus'),jdecode(''),'/40350/home.html','true',[ 
		['PAGE','40359',jdecode('Ausstattung'),jdecode(''),'/40350/40359.html','true',[],''],
		['PAGE','45609',jdecode('Bildergalerie'),jdecode(''),'/40350/45609.html','true',[],'']
	],''],
	['PAGE','40377',jdecode('Cape+Coral'),jdecode(''),'/40377.html','true',[],''],
	['PAGE','40386',jdecode('Preise+%26+Anfrage'),jdecode(''),'/40386.html','true',[],''],
	['PAGE','40404',jdecode('Southwest+Florida'),jdecode(''),'/40404.html','true',[],''],
	['PAGE','40413',jdecode('Tipps+%26+Links'),jdecode(''),'/40413.html','true',[],''],
	['PAGE','49401',jdecode('Anreise'),jdecode(''),'/49401.html','true',[],''],
	['PAGE','40422',jdecode('Impressum'),jdecode(''),'/40422.html','true',[],'']];
var siteelementCount=10;
theSitetree.topTemplateName='Architekt';
theSitetree.paletteFamily='A95C61';
theSitetree.keyvisualId='1704';
theSitetree.keyvisualName='haengematte.jpg';
theSitetree.fontsetId='281';
theSitetree.graphicsetId='345';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='A95C61';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Architekt',
				paletteFamily: 	'A95C61',
				keyvisualId: 	'1704',
				keyvisualName: 	'haengematte.jpg',
				fontsetId: 		'281',
				graphicsetId: 	'345',
				contentColor: 	'000000',
				contentBGColor: 'A95C61',
				a_color: 		'A95C61',
				b_color: 		'7F162D',
				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['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '39994',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20111109-105411'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40350',
internalId:  '',
customField: '20111109-104854'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40377',
internalId:  '',
customField: '20090216-185540'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40386',
internalId:  '',
customField: '20111104-022143'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40404',
internalId:  '',
customField: '20100904-124608'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40359',
internalId:  '',
customField: '20111117-134650'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40413',
internalId:  '',
customField: '20111104-022116'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40422',
internalId:  '',
customField: '20110920-082959'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49401',
internalId:  '',
customField: '20110505-203159'
};
webappMappings['1008']=webappMappings['1008-55008019']={
webappId:    '1008',
documentId:  '40386',
internalId:  '55008019',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['1501']=webappMappings['1501-55339092']={
webappId:    '1501',
documentId:  '39994',
internalId:  '55339092',
customField: '1501'
};
webappMappings['1007']=webappMappings['1007-11e1be06d3b']={
webappId:    '1007',
documentId:  '45609',
internalId:  '11e1be06d3b',
customField: 'g.13odu0i7a.bckq0rkfck.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45609',
internalId:  '',
customField: '20090217-200718'
};
webappMappings['7091']=webappMappings['7091-54581']={
webappId:    '7091',
documentId:  '39994',
internalId:  '54581',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['7091']=webappMappings['7091-54582']={
webappId:    '7091',
documentId:  '40386',
internalId:  '54582',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['7091']=webappMappings['7091-54591']={
webappId:    '7091',
documentId:  '39994',
internalId:  '54591',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['7091']=webappMappings['7091-54592']={
webappId:    '7091',
documentId:  '49401',
internalId:  '54592',
customField: 'align:left;language:de;country:DE;'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0IRJQUW';
var companyName   = 'Villa+Satori+-+Cape+Coral';
var htmlTitle	  = 'Villa+Satori+-+Cape+Coral';
var metaKeywords  = 'Ferienhaus+Cape+Coral%2C+Ferienh%C3%A4user+Cape+Coral%2C+Ferienvilla+Cape+Coral%2C+Traumvillen+Cape+Coral%2C+Traumurlaub+Florida%2C+Traumurlaub+S%C3%BCdwestflorida%2C+Ferienhaus+Florida';
var metaContents  = 'Exklusive+Ferienvilla+in+SW+Cape+Coral+mit+Pool%2BBootsdock+und+Kanu+am+Kanal+in+ruhiger+Lage+nahe+Seabreeze+Lake+f%C3%BCr+komfortablen+und+erholsamen+Individualurlaub';
					                                                                    
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 */					                                                            

