/* [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','13624',jdecode('Aktuelle+Wetterdaten%3F'),jdecode(''),'/13624/home.html','true',[ 
		['PAGE','13629',jdecode('Impressum%2F+Kontakt'),jdecode(''),'/13624/13629.html','true',[],'']
	],'']];
var siteelementCount=3;
theSitetree.topTemplateName='Filofax';
theSitetree.paletteFamily='003366';
theSitetree.keyvisualId='516';
theSitetree.keyvisualName='strand3.jpg';
theSitetree.fontsetId='61';
theSitetree.graphicsetId='62';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Filofax',
				paletteFamily: 	'003366',
				keyvisualId: 	'516',
				keyvisualName: 	'strand3.jpg',
				fontsetId: 		'61',
				graphicsetId: 	'62',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'003366',
				b_color: 		'66CCFF',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1501']=webappMappings['1501-3160680']={
webappId:    '1501',
documentId:  '4579',
internalId:  '3160680',
customField: '1501'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '4579',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4579',
internalId:  '',
customField: '20041001-124900'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13624',
internalId:  '',
customField: '20080821-132531'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13629',
internalId:  '',
customField: '20080821-132935'
};
var canonHostname = 'cfawrk03.aul.t-online.de';
var accountId     = 'ATOIX0IN2T7E';
var companyName   = 'NORDSEE-WIND+DE';
var htmlTitle	  = 'Nordsee-Wind+Witzwort+Halbinsel+Eiderstedt+Nordfriesland';
var metaKeywords  = 'Ehrlich%2C+Andreas+Ehrlich%2C+Witzwort%2C+25889+Witzwort%2C+Schleswig+Holstein%2C+Nordsee%2C+Meer%2C+Fahrradfahren%2C+Fahrradtour%2C+Urlaub%2C+Urlaubsreise%2C+Reise%2C+Freizeit%2C+Eiderstedt%2C+Halbinsel+Eiderstedt%2C+Ferien%2C+Ferienwohnungen%2C+Ferienhof%2C+Kinderurlaub%2C+Kinderschutz%2C+Frische+Luft%2C+Landschaft%2C+Ludwig-Oesau-Weg%2C+Erholung%2C+Urlaubsziel%2C+Husum%2C+Friedrichstadt%2C+Winnert%2C+tating%2C+Multimar+Wattforum%2C+Wattforum%2C+T%C3%B6nning%2C+Nordseeurlaub%2C+Urlaub+am+Meer%2C+Urlaub+an+der+Nordsee%2C+Urlaub+auf+Eiderstedt%2C+Bildergalerie%2C+Photos%2C+Fotos%2C+Ferienangebote%2C+Ferienreise%2C+Klootstock%2C+Klootstockspringen%2C+Gemeinde+Witzwort%2C+Bundeswehr%2C+LwWerft+71%2C+CDU%2C+CDU+Ortsverband%2C+CDU+Ortsverband+Witzwort%2C+Eider%2C+Treene%2C+Reimersbude%2C+Hafen%2C+Hafen+Reimersbude%2C+Schleswig+Holstein+Urlaub%2C+Freizeitgestaltung%2C+Kalender%2C+Kalender+Witzwort%2C+Veranstaltungskalender%2C+Ehrlich+Andreas%2C+Krabben%2C+Krabbenfischer%2C+Muscheln%2C+Strand%2C+Sandstrand%2C+Wasser%2C+Baden%2C+Badeurlaub%2C+Oldtimer%2C+Oltimerclub%2C+Fu%C3%9Fball%2C+TSV%2CSport%2C+Vereine%2C+Nordsee-Wind%2C';
var metaContents  = 'Informationen+in+und+um+Witzwort.';
					                                                                    
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;                                                                     
	};                                                                               
/* EOF */					                                                            

