/* [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('Home'),jdecode(''),'/44.html','true',[],''],
	['PAGE','423001',jdecode('Bluegrass+%26+Country'),jdecode(''),'/423001.html','false',[],''],
	['PAGE','314901',jdecode('NEWS'),jdecode(''),'/314901.html','true',[],''],
	['PAGE','42905',jdecode('Termine'),jdecode(''),'/42905/home.html','true',[ 
		['PAGE','413001',jdecode('Hotels+'),jdecode(''),'/42905/413001.html','false',[],'']
	],''],
	['PAGE','53106',jdecode('Pee+Wee+%22News%22'),jdecode(''),'/53106.html','true',[],''],
	['PAGE','66001',jdecode('Friedrich+Hog+%22News%22'),jdecode(''),'/66001.html','true',[],''],
	['PAGE','460801',jdecode('Reisen+'),jdecode(''),'/460801/home.html','true',[ 
		['PAGE','67401',jdecode('Way+Out+West+2011'),jdecode(''),'/460801/67401.html','true',[],'']
	],''],
	['PAGE','303101',jdecode('Radio+free+fm+102%2C6'),jdecode(''),'/303101.html','true',[],''],
	['PAGE','53064',jdecode('Clubzeitschrift+'),jdecode(''),'/53064/home.html','true',[ 
		['PAGE','277801',jdecode('Formular'),jdecode(''),'/53064/277801.html','true',[],'']
	],''],
	['PAGE','60201',jdecode('Clubabende'),jdecode(''),'/60201.html','true',[],''],
	['PAGE','42887',jdecode('Vereinsgeschichte'),jdecode(''),'/42887/home.html','true',[ 
		['PAGE','84701',jdecode('Chronik+CWF-Koetz+'),jdecode(''),'/42887/84701.html','true',[],'']
	],''],
	['PAGE','41566',jdecode('Impressum+%2F+Law'),jdecode(''),'/41566.html','true',[],''],
	['PAGE','58801',jdecode('Kontakt'),jdecode(''),'/58801.html','true',[],''],
	['PAGE','42914',jdecode('Links+'),jdecode(''),'/42914.html','true',[],''],
	['PAGE','41602',jdecode('G%C3%A4stebuch'),jdecode(''),'/41602/home.html','true',[ 
		['PAGE','41601',jdecode('Eintr%C3%A4ge'),jdecode(''),'/41602/41601.html','true',[],'']
	],''],
	['PAGE','384801',jdecode('Christmas+2010'),jdecode(''),'/384801.html','false',[],''],
	['PAGE','405001',jdecode('media+Show+'),jdecode(''),'/405001.html','true',[],'']];
var siteelementCount=22;
theSitetree.topTemplateName='Favor';
theSitetree.paletteFamily='9CA3D3';
theSitetree.keyvisualId='7326';
theSitetree.keyvisualName='kv_7326.jpg';
theSitetree.fontsetId='16471';
theSitetree.graphicsetId='12163';
theSitetree.contentColor='323232';
theSitetree.contentBGColor='E4E7FB';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Favor',
				paletteFamily: 	'9CA3D3',
				keyvisualId: 	'7326',
				keyvisualName: 	'kv_7326.jpg',
				fontsetId: 		'16471',
				graphicsetId: 	'12163',
				contentColor: 	'323232',
				contentBGColor: 'E4E7FB',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['1002']=webappMappings['1002-41602atoix0i7tupn']={
webappId:    '1002',
documentId:  '41602',
internalId:  '41602atoix0i7tupn',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-41602atoix0i7tupn']={
webappId:    '1002',
documentId:  '41601',
internalId:  '41602atoix0i7tupn',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42905',
internalId:  '',
customField: '20111211-100746'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20111214-085012'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42887',
internalId:  '',
customField: '20110523-084712'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41566',
internalId:  '',
customField: '20110124-135510'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42914',
internalId:  '',
customField: '20110905-075241'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41602',
internalId:  '',
customField: '20081026-180740'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41601',
internalId:  '',
customField: '20081026-180756'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '405001',
internalId:  '',
customField: '20110502-104511'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '53064',
internalId:  '',
customField: '20111108-011827'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '53106',
internalId:  '',
customField: '20111127-105640'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '384801',
internalId:  '',
customField: '20101125-185012'
};
webappMappings['7090']=webappMappings['7090-185602']={
webappId:    '7090',
documentId:  '314901',
internalId:  '185602',
customField: 'type:rss-2.0;language:de;country:DE;'
};
webappMappings['7060']=webappMappings['7060-0f55a5be1d7f975a067768e9ae042a60']={
webappId:    '7060',
documentId:  '405001',
internalId:  '0f55a5be1d7f975a067768e9ae042a60',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '58801',
internalId:  '',
customField: '20100209-084259'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '66001',
internalId:  '',
customField: '20111127-110641'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '413001',
internalId:  '',
customField: '20110521-101052'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '277801',
internalId:  '',
customField: '20090127-131504'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '60201',
internalId:  '',
customField: '20111115-095449'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '67401',
internalId:  '',
customField: '20111108-005150'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '460801',
internalId:  '',
customField: '20111211-110515'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '423001',
internalId:  '',
customField: '20110907-065205'
};
webappMappings['1008']=webappMappings['1008-25649920']={
webappId:    '1008',
documentId:  '277801',
internalId:  '25649920',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '84701',
internalId:  '',
customField: '20070604-103833'
};
webappMappings['1501']=webappMappings['1501-25525242']={
webappId:    '1501',
documentId:  '44',
internalId:  '25525242',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '303101',
internalId:  '',
customField: '20111128-130913'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '314901',
internalId:  '',
customField: '20111127-105413'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0I7TUPN';
var companyName   = 'Country+%26+Western+Friends+Koetz+';
var htmlTitle	  = 'Country+%26+Western+Friends+Koetz+1982+e.v.';
var metaKeywords  = 'Country+Musik+';
var metaContents  = 'Country+Club+CWF-Koetz+e.V.+1982';
					                                                                    
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 */					                                                            

