/* [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','44',jdecode('Startseite+SFDK'),jdecode(''),'/44.html','true',[],''],
	['PAGE','41265',jdecode('Wer+sind+wir+und+Links'),jdecode(''),'/41265.html','true',[],''],
	['PAGE','41274',jdecode('Impressum+und+Kontakt'),jdecode(''),'/41274/home.html','true',[ 
		['PAGE','41285',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/41274/41285.html','false',[],'']
	],'']];
var siteelementCount=4;
theSitetree.topTemplateName='Hobby';
theSitetree.paletteFamily='595F91';
theSitetree.keyvisualId='9924';
theSitetree.keyvisualName='kv_9924.jpg';
theSitetree.fontsetId='17862';
theSitetree.graphicsetId='13089';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Hobby',
				paletteFamily: 	'595F91',
				keyvisualId: 	'9924',
				keyvisualName: 	'kv_9924.jpg',
				fontsetId: 		'17862',
				graphicsetId: 	'13089',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'a1a1a1',
				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:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['1001']=webappMappings['1001-atoix0i7nzrd10bd7668054']={
webappId:    '1001',
documentId:  '41274',
internalId:  'atoix0i7nzrd10bd7668054',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0i7nzrd10bd7668054']={
webappId:    '1001',
documentId:  '41285',
internalId:  'atoix0i7nzrd10bd7668054',
customField: 'followUp'
};
webappMappings['1501']=webappMappings['1501-16211994']={
webappId:    '1501',
documentId:  '44',
internalId:  '16211994',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20080216-212818'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41265',
internalId:  '',
customField: '20100526-221631'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41274',
internalId:  '',
customField: '20070323-201158'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41285',
internalId:  '',
customField: '20060615-131447'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0I7NZRD';
var companyName   = 'Science-Fiction-Dinner-Kiel';
var htmlTitle	  = 'Das+Science+Fiction+Dinner+Kiel';
var metaKeywords  = 'Science+Fiction+Dinner+Kiel%2C+Star+Wars%2C+Star+Trek%2C+Raumpatrouille%2C+Dr.+Who%2C+Harry+Potter%2C+Perry+Rhodan%2C+Alien+Earth%2C+Atlan%2C+Bad+Earth%2C+CHARR%2C+Rex+Corda%2C+Ren+Dhark%2C+Honor+Harrington%2C+Maddrax%2C+Mythor%2C+Nick+-+der+Weltraumfahrer%2C+Quest-Universum%2C+Rah+Norten%2C+Ringwelt-Zyklus%2C+Stargate+SG-1%2C+Sternentor%2C+Sun+Koh%2C+UFO%2C+ZBV%2C+Zeitkugel%2C+Utopisch%2C+Galaktisch%2C+Jeschke%2C+Heftromane%2C+Asimov%2C+Utopia%2C+Terra+Astra%2C+Fantasy%2C+Horror';
var metaContents  = 'Willkommen+bei+Science+Fiction+Dinner+Kiel.+Infos+zum+Treffen%2C+Zeiten%2C+Lage+und+vieles+mehr.++Hier+gibt+es+Infos+und+Gespr%C3%A4che+zu+Star+Wars%2C+Star+Trek%2C+Raumpatrouille+Orion%2C+Dr.+Who%2C+Harry+Potter%2C+Perry+Rhodan+u.s.w.';
					                                                                    
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 */					                                                            
