/* [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','13801',jdecode('Wer+macht+was%3F%3F'),jdecode(''),'/13801.html','true',[],''],
	['PAGE','116427',jdecode('Gummistiefelservice'),jdecode(''),'/116427.html','true',[],''],
	['PAGE','13832',jdecode('Wattwanderungen'),jdecode(''),'/13832/home.html','true',[ 
		['PAGE','68927',jdecode('Allgemeines%2C+Kosten'),jdecode(''),'/13832/68927.html','true',[],''],
		['PAGE','13847',jdecode('Hooks.+Wattdetektive'),jdecode(''),'/13832/13847.html','true',[],''],
		['PAGE','36627',jdecode('Mit+offenen+Augen......'),jdecode(''),'/13832/36627.html','true',[],''],
		['PAGE','36827',jdecode('Abendwattwanderung'),jdecode(''),'/13832/36827.html','true',[],''],
		['PAGE','169827',jdecode('Kurzwattwanderung'),jdecode(''),'/13832/169827.html','true',[],''],
		['PAGE','50127',jdecode('Winterwattwanderung'),jdecode(''),'/13832/50127.html','true',[],''],
		['PAGE','13842',jdecode('Wanderung+zur+Insel'),jdecode(''),'/13832/13842.html','true',[],'']
	],''],
	['PAGE','102427',jdecode('Barometer-Heft'),jdecode(''),'/102427.html','true',[],''],
	['PAGE','73627',jdecode('Wattfotos'),jdecode(''),'/73627.html','true',[],''],
	['PAGE','55727',jdecode('Kindergeburtstage'),jdecode(''),'/55727.html','true',[],''],
	['PAGE','109527',jdecode('Anfahrt+zum+Startpunkt'),jdecode(''),'/109527.html','true',[],''],
	['PAGE','16895',jdecode('Wattenmeervortrag'),jdecode(''),'/16895.html','true',[],''],
	['PAGE','41027',jdecode('Termine+'),jdecode(''),'/41027.html','true',[],''],
	['PAGE','66327',jdecode('Anfrageformular'),jdecode(''),'/66327.html','true',[],''],
	['PAGE','15715',jdecode('G%C3%A4stebuch'),jdecode(''),'/15715/home.html','true',[ 
		['PAGE','15716',jdecode('Eintr%C3%A4ge'),jdecode(''),'/15715/15716.html','true',[],'']
	],''],
	['PAGE','172427',jdecode('Impressum'),jdecode(''),'/172427.html','true',[],'']];
var siteelementCount=20;
theSitetree.topTemplateName='Billy';
theSitetree.paletteFamily='7179A3';
theSitetree.keyvisualId='7097';
theSitetree.keyvisualName='kv_7097.jpg';
theSitetree.fontsetId='16390';
theSitetree.graphicsetId='12122';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='7179A3';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Billy',
				paletteFamily: 	'7179A3',
				keyvisualId: 	'7097',
				keyvisualName: 	'kv_7097.jpg',
				fontsetId: 		'16390',
				graphicsetId: 	'12122',
				contentColor: 	'FFFFFF',
				contentBGColor: '7179A3',
				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['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '172427',
internalId:  '',
customField: '20110930-231749'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '13801',
internalId:  '1006',
customField: '1006'
};
webappMappings['1002']=webappMappings['1002-15715atoix0inety5']={
webappId:    '1002',
documentId:  '15715',
internalId:  '15715atoix0inety5',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-15715atoix0inety5']={
webappId:    '1002',
documentId:  '15716',
internalId:  '15715atoix0inety5',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13801',
internalId:  '',
customField: '20120117-075103'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13832',
internalId:  '',
customField: '20110211-115143'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '68927',
internalId:  '',
customField: '20120120-081635'
};
webappMappings['7060']=webappMappings['7060-d8b452fd072f551d192be394023b15a6']={
webappId:    '7060',
documentId:  '73627',
internalId:  'd8b452fd072f551d192be394023b15a6',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16895',
internalId:  '',
customField: '20100319-173403'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41027',
internalId:  '',
customField: '20120130-193301'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13847',
internalId:  '',
customField: '20120129-100304'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '36627',
internalId:  '',
customField: '20120125-200125'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '36827',
internalId:  '',
customField: '20120125-195018'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '109527',
internalId:  '',
customField: '20120201-110628'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13842',
internalId:  '',
customField: '20110312-085837'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '66327',
internalId:  '',
customField: '20080101-173251'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15715',
internalId:  '',
customField: '20050316-145514'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15716',
internalId:  '',
customField: '20050316-145514'
};
webappMappings['1501']=webappMappings['1501-10601150']={
webappId:    '1501',
documentId:  '13801',
internalId:  '10601150',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '50127',
internalId:  '',
customField: '20120115-123046'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55727',
internalId:  '',
customField: '20100112-165028'
};
webappMappings['1008']=webappMappings['1008-36170204']={
webappId:    '1008',
documentId:  '66327',
internalId:  '36170204',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '116427',
internalId:  '',
customField: '20101012-154031'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '73627',
internalId:  '',
customField: '20080226-202525'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '102427',
internalId:  '',
customField: '20090224-151450'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '169827',
internalId:  '',
customField: '20120125-200239'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0INETY5';
var companyName   = 'Rolf+Gerdes+-+Wattabenteuer+im+Wangerland';
var htmlTitle	  = 'Wattwanderungen+in+Hooksiel+und+Schillig';
var metaKeywords  = 'Rolf+Gerdes%2C+Wattwanderung%2C+Wattabenteuer%2C+Wattwandern%2C+Wangerland%2C+Hooksiel%2C+Horumersiel%2C+Schillig%2C+Wattenmeer%2C+Natur+erleben%2C+Wattwanderungen+in+Hooksiel%2C+Detektive+im+Watt%2C+Wattdetektive%2C+Piraten+im+Watt%2C+Wattpiraten%2C+Hooksieler+Wattpiraten%2C+Dagmar+Pradel%2C+Rolf+Gerdes%2C+Naturerlebnis+Wattenmeer%2C+Exkursionsabenteuer+Strand%2C+Sp%C3%BClsaumerkundung%2C+Strandexkursionen%2C+Hooksiel+Wattwanderungen%2C+Wattf%C3%BChrer+Rolf+Gerdes%2C+Hooksieler+Wattwanderungen%2C+Wattwurm%2C+Strandkrabbe%2C+Wattrippel%2C+Priel%2C+Wangerl%C3%A4nder+Strandexkursionen+und+Wattabenteuer%2C+Abenteuer+im+Watt%2C+Wattveranstaltungen%2C+S%C3%BCdliche+Nordsee%2C+Wilhelmshaven%2C+Jever%2C+Schortens%2C+Waddewarden%2C+F%C3%B6rrien-Minsen%2C+F%C3%B6rrien%2C+Minsen%2C+Wiarden%2C+Heidm%C3%BChle%2C+Sengwarden%2C+Wilhelmshaven%2C+Accum%2C+Wittmund%2C+Fedderwardergroden%2C+Fedderwarden%2C+Voslapp%2C++Kindergeburtstage%2C+Vereinsausflug%2C+Vereinsausfl%C3%BCge';
var metaContents  = 'Wattwanderungen+in+Hooksiel+und+Schillig.+Wenn+eine+Wanderung+zum+Abenteuer+wird%21%21Das+Erlebnis+f%C3%BCr+alle+Altersgruppen.';
					                                                                    
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 */					                                                            

