/* [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','40966',jdecode('Home'),jdecode(''),'/40966.html','true',[],''],
	['PAGE','40975',jdecode('About'),jdecode(''),'/40975.html','true',[],''],
	['PAGE','40984',jdecode('Contesting'),jdecode(''),'/40984/home.html','true',[ 
		['PAGE','45289',jdecode('Operation+times'),jdecode(''),'/40984/45289.html','true',[],''],
		['PAGE','47701',jdecode('More+time-stats'),jdecode(''),'/40984/47701.html','true',[],''],
		['PAGE','46001',jdecode('Reports'),jdecode(''),'/40984/46001.html','true',[],'']
	],''],
	['PAGE','40993',jdecode('Portable'),jdecode(''),'/40993/home.html','true',[ 
		['PAGE','44851',jdecode('Ideas'),jdecode(''),'/40993/44851.html','true',[],''],
		['PAGE','44860',jdecode('Terrain'),jdecode(''),'/40993/44860.html','true',[],'']
	],''],
	['PAGE','41011',jdecode('Amateurfunk'),jdecode(''),'/41011.html','true',[],''],
	['PAGE','44970',jdecode('Cartoon-QSLs'),jdecode(''),'/44970.html','true',[],''],
	['PAGE','41020',jdecode('Links+%26+Ressources'),jdecode(''),'/41020.html','true',[],'']];
var siteelementCount=12;
theSitetree.topTemplateName='Global';
theSitetree.paletteFamily='006600';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='87';
theSitetree.graphicsetId='104';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Global',
				paletteFamily: 	'006600',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'87',
				graphicsetId: 	'104',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'176B03',
				b_color: 		'669900',
				c_color: 		'000000',
				d_color: 		'E0EEE3',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				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['1007']=webappMappings['1007-10e0de87bca']={
webappId:    '1007',
documentId:  '44970',
internalId:  '10e0de87bca',
customField: 'g.11o6u17sd.18cvp4uhgs.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40966',
internalId:  '',
customField: '20100304-093526'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45289',
internalId:  '',
customField: '20070706-194747'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40975',
internalId:  '',
customField: '20100219-194729'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40993',
internalId:  '',
customField: '20061011-184750'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44860',
internalId:  '',
customField: '20080131-215938'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44970',
internalId:  '',
customField: '20061003-232608'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40984',
internalId:  '',
customField: '20081017-185108'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44851',
internalId:  '',
customField: '20080823-201605'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41011',
internalId:  '',
customField: '20070611-140216'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41020',
internalId:  '',
customField: '20071201-000045'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46001',
internalId:  '',
customField: '20070610-162646'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47701',
internalId:  '',
customField: '20071201-132004'
};
var canonHostname = 'cfawrk06.aul.t-online.de';
var accountId     = 'ATOIX0I788YT';
var companyName   = '-..++.-..++---..++--++-...++...';
var htmlTitle	  = 'DL8MBS';
var metaKeywords  = 'DL8MBS%2C+DR2Q%2C+antennas%2C+terrain%2C+portable%2C+contesting%2C+QSL%2C+cartoon%2C+amateur+radio%2C+ham+radio%2C+operation+time%2C+operation+times%2C+contest%2C+contests%2C+contesters';
var metaContents  = 'This+is+the+homepage+of+amateur+radio+station+DL8MBS.+My+name+is+Chris+and+I+live+in+Erfurt+in+the+central+part+of+Germany.+Here+you+will+find+a+lot+about+this+fascinating+worldwide+hobby.';
					                                                                    
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 */					                                                            
