/* [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('Home'),jdecode(''),'/13801.html','true',[],''],
	['PAGE','13807',jdecode('Windsurfen'),jdecode(''),'/13807.html','true',[],''],
	['PAGE','19314',jdecode('Windsurfen+f%C3%BCr+Kinder'),jdecode(''),'/19314.html','true',[],''],
	['PAGE','45814',jdecode('Optimisten+-+Segeln+f%C3%BCr+Kinder'),jdecode(''),'/45814.html','true',[],''],
	['PAGE','13817',jdecode('Jollensegeln'),jdecode(''),'/13817.html','true',[],''],
	['PAGE','13812',jdecode('Catamaransegeln'),jdecode(''),'/13812.html','true',[],''],
	['PAGE','28114',jdecode('Wochenendkurse+'),jdecode(''),'/28114.html','true',[],''],
	['PAGE','13822',jdecode('Kitesurfen'),jdecode(''),'/13822.html','true',[],''],
	['PAGE','14401',jdecode('Angebot+f%C3%BCr+Gruppen'),jdecode(''),'/14401.html','true',[],''],
	['PAGE','26914',jdecode('Prospekt+'),jdecode(''),'/26914.html','true',[],''],
	['PAGE','13827',jdecode('Unterkunft'),jdecode(''),'/13827.html','true',[],''],
	['PAGE','43614',jdecode('Jobs'),jdecode(''),'/43614.html','true',[],''],
	['PAGE','22414',jdecode('Anfrage'),jdecode(''),'/22414/home.html','true',[ 
		['PAGE','22514',jdecode('Anfrage+%28Folgeseite%29'),jdecode(''),'/22414/22514.html','true',[],'']
	],''],
	['PAGE','22719',jdecode('G%C3%A4stebuch'),jdecode(''),'/22719/home.html','true',[ 
		['PAGE','22714',jdecode('Eintr%C3%A4ge'),jdecode(''),'/22719/22714.html','true',[],'']
	],''],
	['PAGE','41414',jdecode('Blog'),jdecode(''),'/41414.html','false',[],''],
	['PAGE','23914',jdecode('Anfahrt'),jdecode(''),'/23914.html','true',[],''],
	['PAGE','42114',jdecode('Fehmarn+Ahoi+-++Infos'),jdecode(''),'/42114.html','true',[],''],
	['PAGE','36614',jdecode('Impressum'),jdecode(''),'/36614.html','true',[],'']];
var siteelementCount=20;
theSitetree.topTemplateName='Stylus';
theSitetree.paletteFamily='B0CBD6';
theSitetree.keyvisualId='1990';
theSitetree.keyvisualName='strand.jpg';
theSitetree.fontsetId='328';
theSitetree.graphicsetId='383';
theSitetree.contentColor='000066';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Stylus',
				paletteFamily: 	'B0CBD6',
				keyvisualId: 	'1990',
				keyvisualName: 	'strand.jpg',
				fontsetId: 		'328',
				graphicsetId: 	'383',
				contentColor: 	'000066',
				contentBGColor: 'FFFFFF',
				a_color: 		'B0CBD6',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13801',
internalId:  '',
customField: '20111218-210718'
};
webappMappings['1501']=webappMappings['1501-13226643']={
webappId:    '1501',
documentId:  '13801',
internalId:  '13226643',
customField: '1501'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '13801',
internalId:  '1006',
customField: '1006'
};
webappMappings['1001']=webappMappings['1001-atoix0inerpn10b48877fac']={
webappId:    '1001',
documentId:  '22414',
internalId:  'atoix0inerpn10b48877fac',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0inerpn10b48877fac']={
webappId:    '1001',
documentId:  '22514',
internalId:  'atoix0inerpn10b48877fac',
customField: 'followUp'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41414',
internalId:  '',
customField: '20100211-211405'
};
webappMappings['1002']=webappMappings['1002-22719atoix0inerpn']={
webappId:    '1002',
documentId:  '22719',
internalId:  '22719atoix0inerpn',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-22719atoix0inerpn']={
webappId:    '1002',
documentId:  '22714',
internalId:  '22719atoix0inerpn',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19314',
internalId:  '',
customField: '20111215-205321'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13807',
internalId:  '',
customField: '20111215-205138'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13812',
internalId:  '',
customField: '20111215-205725'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14401',
internalId:  '',
customField: '20091205-153030'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13817',
internalId:  '',
customField: '20111215-210003'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13822',
internalId:  '',
customField: '20060417-131510'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26914',
internalId:  '',
customField: '20070522-222556'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13827',
internalId:  '',
customField: '20091120-212446'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22414',
internalId:  '',
customField: '20060520-190101'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22514',
internalId:  '',
customField: '20060518-192507'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22719',
internalId:  '',
customField: '20060518-193917'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22714',
internalId:  '',
customField: '20060518-193917'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23914',
internalId:  '',
customField: '20060604-150457'
};
webappMappings['7050']=webappMappings['7050-47488']={
webappId:    '7050',
documentId:  '41414',
internalId:  '47488',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28114',
internalId:  '',
customField: '20070522-220109'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45814',
internalId:  '',
customField: '20120126-105522'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '36614',
internalId:  '',
customField: '20111011-194741'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42114',
internalId:  '',
customField: '20100607-104050'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43614',
internalId:  '',
customField: '20111215-204911'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0INERPN';
var companyName   = '+SURFEN+%26+SEGELN+++Wassersportschule+in+Gold+auf+Fehmarn';
var htmlTitle	  = 'Surfen+und+Segeln+in+Gold+auf+Fehmarn';
var metaKeywords  = 'Windsurfen%2C+Surfen%2C+Kindersurfen%2C+Catamaransegeln%2C+Katamaransegeln%2C+Jollensegeln%2C+Kurse%2C+Schulung%2C+Fehmarn%2C+Ostsee%2C+Gold%2C+Pension%2C+Ferienwohnungen%2C+Urlaub%2C+Wassersport%2C+Gruppenunterkunft%2C+Gruppenreisen%2C+Schulklassen%2C+Stehrevier%2C+Klassenfahrt%2C+Gruppenreise%2C+Surfen';
var metaContents  = 'Windsurfen%2C+Catamaransegeln%2C+Katamaransegeln%2C+Kindersurfen%2C+Jollensegeln%2C+Pension%2C+G%C3%A4stehaus%2C+Surfmaterialmiete%2C+mieten%2CGruppenreisen%2C+Surfen+%2C+Klassenfahrt%2C+Fehmarn%2C+Gold';
					                                                                    
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 */					                                                            

