/* [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('Startseite'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','40555',jdecode('Klein+Stresow'),jdecode(''),'/40555.html','true',[],''],
	['PAGE','41006',jdecode('Unser+Feriendorf'),jdecode(''),'/41006.html','true',[],''],
	['PAGE','40573',jdecode('Ferienhaus'),jdecode(''),'/40573.html','true',[],''],
	['PAGE','41024',jdecode('Bungalows'),jdecode(''),'/41024.html','true',[],''],
	['PAGE','40994',jdecode('Preise'),jdecode(''),'/40994.html','true',[],''],
	['PAGE','41247',jdecode('Bildergalerie'),jdecode(''),'/41247.html','true',[],''],
	['PAGE','40582',jdecode('Buchungsanfragen'),jdecode(''),'/40582.html','true',[],''],
	['PAGE','41161',jdecode('Anreise'),jdecode(''),'/41161.html','true',[],''],
	['PAGE','40609',jdecode('Impressum'),jdecode(''),'/40609.html','true',[],'']];
var siteelementCount=10;
theSitetree.topTemplateName='Dynamics';
theSitetree.paletteFamily='86935E';
theSitetree.keyvisualId='11186';
theSitetree.keyvisualName='kv_11186.jpg';
theSitetree.fontsetId='32090';
theSitetree.graphicsetId='13892';
theSitetree.contentColor='47502B';
theSitetree.contentBGColor='86935E';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Dynamics',
				paletteFamily: 	'86935E',
				keyvisualId: 	'11186',
				keyvisualName: 	'kv_11186.jpg',
				fontsetId: 		'32090',
				graphicsetId: 	'13892',
				contentColor: 	'47502B',
				contentBGColor: '86935E',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-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: '20080604-085439'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40582',
internalId:  '',
customField: '20080116-100031'
};
webappMappings['1007']=webappMappings['1007-11980e3d304']={
webappId:    '1007',
documentId:  '41247',
internalId:  '11980e3d304',
customField: 'g.1360dpnvv.887lo1tbvv.3o'
};
webappMappings['1008']=webappMappings['1008-43372026']={
webappId:    '1008',
documentId:  '40582',
internalId:  '43372026',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41006',
internalId:  '',
customField: '20080606-121533'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40555',
internalId:  '',
customField: '20080116-095333'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41161',
internalId:  '',
customField: '20080118-121817'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40573',
internalId:  '',
customField: '20100111-074111'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41024',
internalId:  '',
customField: '20080123-152918'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40609',
internalId:  '',
customField: '20080121-085822'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41247',
internalId:  '',
customField: '20080424-164828'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40994',
internalId:  '',
customField: '20100111-074138'
};
var canonHostname = 'cfawrk11.aul.t-online.de';
var accountId     = 'ATOIX0IR1DOS';
var companyName   = 'Urlaub+auf+R%C3%BCgen';
var htmlTitle	  = 'Urlaub+auf+R%C3%BCgen+-+Feriendorf+Klein+Stresow';
var metaKeywords  = 'Urlaub%2C+Ferien%2C+R%C3%BCgen%2C+Unterkunft%2C+Erholung%2C+Feriendorf%2C+Bungalow%2C+%C3%9Cbernachtung%2C+Binz%2C+Putbus%2C+Vilm%2C+Klein+Stresow%2C+Wasser%2CNatur%2C+Bodden%2C+Ferienhaus%2C+Zimmer';
var metaContents  = 'Willkommen+im+Feriendorf+Klein+Stresow.+Wir+bieten+Ihnen+Erholung+und+%C3%9Cbernachtung+in+einer+landschaftlich+reizvollen+Lage+am+R%C3%BCgischen+Bodden+im+S%C3%BCdosten+der+Insel+R%C3%BCgen.';
					                                                                    
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 */					                                                            
