/* [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','4579',jdecode('Home'),jdecode(''),'/4579.html','true',[],''],
	['PAGE','11254',jdecode('Wir+%C3%BCber+uns'),jdecode(''),'/11254.html','true',[],''],
	['PAGE','11200',jdecode('Ferienwohnungen'),jdecode(''),'/11200.html','true',[],''],
	['PAGE','13001',jdecode('Umgebung+und+Tiere'),jdecode(''),'/13001.html','true',[],''],
	['PAGE','11227',jdecode('Preis+%26+Leistung'),jdecode(''),'/11227.html','true',[],''],
	['PAGE','11191',jdecode('Anreise'),jdecode(''),'/11191.html','true',[],''],
	['PAGE','11245',jdecode('Kontakt'),jdecode(''),'/11245.html','true',[],''],
	['PAGE','11373',jdecode('G%C3%A4stebuch'),jdecode(''),'/11373/home.html','true',[ 
		['PAGE','11372',jdecode('Eintr%C3%A4ge'),jdecode(''),'/11373/11372.html','true',[],'']
	],''],
	['PAGE','22401',jdecode('Links+in+der+Umgebung'),jdecode(''),'/22401.html','true',[],'']];
var siteelementCount=10;
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['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '4579',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4579',
internalId:  '',
customField: '20090630-094849'
};
webappMappings['1501']=webappMappings['1501-2179247']={
webappId:    '1501',
documentId:  '4579',
internalId:  '2179247',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11191',
internalId:  '',
customField: '20090108-151337'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11200',
internalId:  '',
customField: '20090518-193824'
};
webappMappings['1002']=webappMappings['1002-11373atoix0inz7lh']={
webappId:    '1002',
documentId:  '11373',
internalId:  '11373atoix0inz7lh',
customField: 'action=form&icq=false'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11227',
internalId:  '',
customField: '20100401-160808'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11245',
internalId:  '',
customField: '20090109-151631'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11254',
internalId:  '',
customField: '20100401-160338'
};
webappMappings['1002']=webappMappings['1002-11373atoix0inz7lh']={
webappId:    '1002',
documentId:  '11372',
internalId:  '11373atoix0inz7lh',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11373',
internalId:  '',
customField: '20090109-151653'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13001',
internalId:  '',
customField: '20100401-161126'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '11372',
internalId:  '',
customField: '20090109-151715'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22401',
internalId:  '',
customField: '20090116-143035'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0INZ7LH';
var companyName   = 'Willkommen';
var htmlTitle	  = 'Willkommen+auf+dem+Windhof';
var metaKeywords  = 'Urlaub%2C+Bauernhof%2C+Ferien%2C+Ponyreiten%2C+Urlaub%2C+Urlaub+auf+dem+Bauernhof%2C+Bauernhofurlaub%2C+Bauernhofferien%2C+Ferienwohnung+rlp%2C+Windhof%2C+Fam.+Altes%2C+Raus+auf%C2%B4s+Land%2C+Uab%2C+Ferienhof%2C+Erlebnis%2C+Rheinlandpfalz%2C+Erholung%2CLandwirtschaft%2C+Tiere%2C+Schwimmbad%2C+Kinder%2C+Kinderfreundlich%2C+Pf%C3%A4lzer+Land%2C+Weitblick%2C+Blockhaus%2C+Waldh%C3%BCtte%2C+Gruppen%2C+Kinderspielplatz%2C+Tischtennis%2CUmgebung%2C+Grillplatz%2C+Nahe%2C+%C3%9Cbernachtung%2C+Hunde%2C+Draisinentour%2C+Draisine%2C+Kulinarische+Landstra%C3%9Fe%2C+Heuhotel%2C+Imkerei%2C+Pf%C3%A4lzer+Hof%2C+Bienenlehrpfad%2C+Maino%2C+Landkreis-kusel%2C+Kuseler+Musikantenland%2C+Veldenz+Br%C3%A4u%2C+Lauterecken%2C+Grumbach%2CPfalztourismus%2C+Synagoge+Odenbach%2C+Meisenheim+Glan%2C+Herren-Sulzbach%2C+Ulmet%2C+Offenbach-Hundheim%2C+Rutsweiler+Lauter';
var metaContents  = 'Urlaub+auf+dem+Bauernhof+%2CBauernhof%2C+Urlaub%2C+Bauernhofurlaub%2C+Bauernhofferien%2C+Ponyreiten%2C+Ferienwohnungen+rlp%2C+Windhof%2C+Fam.+Altes%2C+Raus+auf%C2%B4s+Land%2C+Uab%2C+Ferienhof%2C+Erlebnis%2C+Rheinland-Pfalz%2C+Erholung%2C+Landwirtschaft%2C%2C+Tiere%2C+Schwimmbad%2C+Kinder+Kinderfreundlich%2CPf%C3%A4lzer+Land%2C+Weitblick%2C+Blockhaus%2C+Waldh%C3%BCtte%2CGruppen%2C+Kinderspielplatz%2C+Tischtennis%2C+Umgebung%2C+Grillplatz%2C+Nahe%2C+%C3%9Cbernachtung%2C+Hunde%2C+Draisine%2C+Kulinarische+Landstra%C3%9Fe%2C+Heuhotel%2C+Imkerei%2C+Bienenlehrpfad%2C+Pf%C3%A4lzer+Hof%2C+Felschbachhof%2C+Reckweilerhof%2C+Maino%2C+Landkreis+Kusel';
					                                                                    
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 */					                                                            

