/* [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','39994',jdecode('Startseite'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','41374',jdecode('Wir+%C3%BCber+uns'),jdecode(''),'/41374.html','true',[],''],
	['PAGE','44231',jdecode('Aktuelles'),jdecode(''),'/44231.html','true',[],''],
	['PAGE','41392',jdecode('Termine'),jdecode(''),'/41392.html','true',[],''],
	['PAGE','41950',jdecode('Kappeler+Alphorn-Melodien'),jdecode(''),'/41950/home.html','true',[ 
		['PAGE','44696',jdecode('Heft+1+%2B+2'),jdecode(''),'/41950/44696.html','true',[],''],
		['PAGE','44705',jdecode('Heft+3+%2B+4'),jdecode(''),'/41950/44705.html','true',[],''],
		['PAGE','44714',jdecode('Heft+5+%2B+6'),jdecode(''),'/41950/44714.html','true',[],''],
		['PAGE','44723',jdecode('Heft+7+%2B+8'),jdecode(''),'/41950/44723.html','true',[],''],
		['PAGE','45211',jdecode('Heft+9+%2B+10'),jdecode(''),'/41950/45211.html','true',[],''],
		['PAGE','45232',jdecode('Heft+11+%2B+12'),jdecode(''),'/41950/45232.html','true',[],''],
		['PAGE','45253',jdecode('Heft+13+%2B+14'),jdecode(''),'/41950/45253.html','true',[],''],
		['PAGE','45274',jdecode('Heft+15+%2B+16'),jdecode(''),'/41950/45274.html','true',[],''],
		['PAGE','56611',jdecode('Heft+17+%2B+18'),jdecode(''),'/41950/56611.html','true',[],''],
		['PAGE','56632',jdecode('Heft+19+%2B+20'),jdecode(''),'/41950/56632.html','true',[],'']
	],''],
	['PAGE','41900',jdecode('Bildergalerie'),jdecode(''),'/41900.html','true',[],''],
	['PAGE','41419',jdecode('Kontakt'),jdecode(''),'/41419.html','true',[],''],
	['PAGE','41433',jdecode('Anfahrt'),jdecode(''),'/41433.html','true',[],''],
	['PAGE','41410',jdecode('Links'),jdecode(''),'/41410.html','true',[],''],
	['PAGE','42229',jdecode('Impressum'),jdecode(''),'/42229.html','true',[],'']];
var siteelementCount=20;
theSitetree.topTemplateName='Litfass';
theSitetree.paletteFamily='F8FBE8';
theSitetree.keyvisualId='11039';
theSitetree.keyvisualName='kv_11039.jpg';
theSitetree.fontsetId='32074';
theSitetree.graphicsetId='13773';
theSitetree.contentColor='696558';
theSitetree.contentBGColor='F8FBE8';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Litfass',
				paletteFamily: 	'F8FBE8',
				keyvisualId: 	'11039',
				keyvisualName: 	'kv_11039.jpg',
				fontsetId: 		'32074',
				graphicsetId: 	'13773',
				contentColor: 	'696558',
				contentBGColor: 'F8FBE8',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '39994',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20110804-153927'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '41433',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41900',
internalId:  '',
customField: '20090221-190045'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41374',
internalId:  '',
customField: '20111002-100409'
};
webappMappings['1007']=webappMappings['1007-11f8541ea13']={
webappId:    '1007',
documentId:  '41900',
internalId:  '11f8541ea13',
customField: 'g.13u2juvgu.ijna7hb577.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41392',
internalId:  '',
customField: '20120109-190338'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41410',
internalId:  '',
customField: '20111031-184538'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41419',
internalId:  '',
customField: '20110720-150100'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41433',
internalId:  '',
customField: '20110720-150250'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41950',
internalId:  '',
customField: '20110907-112212'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42229',
internalId:  '',
customField: '20100821-144847'
};
webappMappings['1008']=webappMappings['1008-64608264']={
webappId:    '1008',
documentId:  '41950',
internalId:  '64608264',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44231',
internalId:  '',
customField: '20111002-100956'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44696',
internalId:  '',
customField: '20110831-144033'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44705',
internalId:  '',
customField: '20110831-144653'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44714',
internalId:  '',
customField: '20110831-150141'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44723',
internalId:  '',
customField: '20110613-181554'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45211',
internalId:  '',
customField: '20110831-150340'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45232',
internalId:  '',
customField: '20110618-125223'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45253',
internalId:  '',
customField: '20101204-133644'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45274',
internalId:  '',
customField: '20101204-133933'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56632',
internalId:  '',
customField: '20110613-172120'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56611',
internalId:  '',
customField: '20110613-172208'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0IRN45H';
var companyName   = 'Stockweg+Alphorn+Formation';
var htmlTitle	  = 'Stockweg+Alphorn+Formation';
var metaKeywords  = 'meta+name%3Dverify-v1+content%3D6bJ7uf5yYYxdlwSkzVOMukY2GjT3ZRSg1J54y3arTG8%3D+%2F%2C+Stockweg+Alphorn+Formation%2C+Alphorn%2C+Musik%2C+Ensemble+%2CNoten+%2CAlphornnoten+%2CAlphorn-Verband+%2CAlphornbl%C3%A4ser+Baden-W%C3%BCrttemberg%2C+Unterhaltung%2C+Alphorn%2C+Alph%C3%B6rner%2C+Wald%2C+Stockweg%2C+Wald%2FHohenzollern%2C+Alphornbl%C3%A4ser%2C+Literatur%2C+Quartett%2C+Kappel%2C+Kappeler+Alphorn%2C+Kappeler+Alphorn-Melodien%2C+Melodien';
var metaContents  = 'Stockweg+Alphorn+Formation+-+Alphornmusik+vom+Feinsten+aus+dem+Hohenzollerl%C3%A4ndle.+Die+vorgetragene+Musik+umfasst+nahezu+ausnahmslos+Eigenkompositionen+bzw.+Arrangements+von+J%C3%BCrgen+Schatz.+Diese+Noten+k%C3%B6nnen+%C3%BCber+die+Homepage+in+handlichen+Notenheften+im+DIN+A5-Format+direkt+bestellt+werden.';
					                                                                    
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 */					                                                            

