/* [nodename, id, name, navigationtext, href, isnavigation, childs[], templatename] */

function jdecode(s) {
    s = s.replace(/\+/g, "%20")
    return unescape(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','123',jdecode('Startseite'),jdecode(''),'/123.html','true',[],''],
	['PAGE','1501',jdecode('Der+Verein'),jdecode(''),'/1501/index.html','true',[ 
		['PAGE','2806',jdecode('Entstehung'),jdecode(''),'/1501/2806.html','true',[],''],
		['PAGE','2811',jdecode('Das+Team'),jdecode(''),'/1501/2811.html','true',[],'']
	],''],
	['PAGE','1506',jdecode('Programm'),jdecode(''),'/1506.html','true',[],''],
	['PAGE','26106',jdecode('Kartenbestellung'),jdecode(''),'/26106.html','true',[],''],
	['PAGE','15601',jdecode('Nachrichten'),jdecode(''),'/15601.html','true',[],''],
	['PAGE','2001',jdecode('Veranstaltungsr%C3%BCckblick'),jdecode(''),'/2001/index.html','true',[ 
		['PAGE','68814',jdecode('2010'),jdecode(''),'/2001/68814.html','true',[],''],
		['PAGE','68835',jdecode('2009'),jdecode(''),'/2001/68835.html','true',[],''],
		['PAGE','68856',jdecode('2008'),jdecode(''),'/2001/68856.html','true',[],''],
		['PAGE','68877',jdecode('2007'),jdecode(''),'/2001/68877.html','true',[],''],
		['PAGE','5749',jdecode('2006'),jdecode(''),'/2001/5749.html','true',[],''],
		['PAGE','2801',jdecode('2005'),jdecode(''),'/2001/2801.html','true',[],''],
		['PAGE','2006',jdecode('2004'),jdecode(''),'/2001/2006.html','true',[],''],
		['PAGE','2011',jdecode('2003'),jdecode(''),'/2001/2011.html','true',[],''],
		['PAGE','2016',jdecode('2002'),jdecode(''),'/2001/2016.html','true',[],''],
		['PAGE','2021',jdecode('2001'),jdecode(''),'/2001/2021.html','true',[],''],
		['PAGE','2026',jdecode('2000'),jdecode(''),'/2001/2026.html','true',[],''],
		['PAGE','2031',jdecode('1999'),jdecode(''),'/2001/2031.html','true',[],''],
		['PAGE','2036',jdecode('1998'),jdecode(''),'/2001/2036.html','true',[],''],
		['PAGE','2041',jdecode('1997'),jdecode(''),'/2001/2041.html','true',[],''],
		['PAGE','2046',jdecode('1996'),jdecode(''),'/2001/2046.html','true',[],''],
		['PAGE','2051',jdecode('1995'),jdecode(''),'/2001/2051.html','true',[],''],
		['PAGE','2056',jdecode('1994'),jdecode(''),'/2001/2056.html','true',[],''],
		['PAGE','2061',jdecode('1993'),jdecode(''),'/2001/2061.html','true',[],''],
		['PAGE','2066',jdecode('1992'),jdecode(''),'/2001/2066.html','true',[],''],
		['PAGE','2071',jdecode('1991'),jdecode(''),'/2001/2071.html','true',[],'']
	],''],
	['PAGE','45114',jdecode('Fotos'),jdecode(''),'/45114.html','true',[],''],
	['PAGE','16401',jdecode('Mitgliederbereich'),jdecode(''),'/16401.html','true',[],''],
	['PAGE','3663',jdecode('Anfahrt'),jdecode(''),'/3663.html','true',[],''],
	['PAGE','12901',jdecode('Download'),jdecode(''),'/12901/index.html','true',[ 
		['PAGE','38201',jdecode('allg.+Informationen'),jdecode(''),'/12901/38201.html','true',[],'']
	],''],
	['PAGE','7301',jdecode('Partner'),jdecode(''),'/7301.html','true',[],''],
	['PAGE','1516',jdecode('Kontakt%2FImpressum'),jdecode(''),'/1516.html','true',[],'']];
var siteelementCount=35;
theSitetree.topTemplateName='Alpha';
theSitetree.paletteFamily='479949';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10555';
theSitetree.graphicsetId='10895';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Alpha',
				paletteFamily: 	'479949',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10555',
				graphicsetId: 	'10895',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'479949',
				e_color: 		'479949',
				f_color: 		'479949',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['2001']={
webappId:    '2001',
documentId:  '3663',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '68877',
internalId:  '',
customField: '20100411-144521'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '68856',
internalId:  '',
customField: '20100411-144521'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '123',
internalId:  '',
customField: '20100724-143801'
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '123',
internalId:  '984553',
customField: '1501'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '15601',
internalId:  '',
customField: '20100120-095932'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '12901',
internalId:  '',
customField: '20100319-002028'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '123',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1506',
internalId:  '',
customField: '20100411-125307'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '26106',
internalId:  '',
customField: '20071014-211537'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '2001',
internalId:  '',
customField: '20060706-231501'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '5749',
internalId:  '',
customField: '20061007-155917'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '2801',
internalId:  '',
customField: '20051216-205631'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '2006',
internalId:  '',
customField: '20051216-203834'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '2011',
internalId:  '',
customField: '20051216-203834'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '2016',
internalId:  '',
customField: '20051216-203834'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '2021',
internalId:  '',
customField: '20051216-203834'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '2026',
internalId:  '',
customField: '20051216-203835'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '2031',
internalId:  '',
customField: '20051216-203835'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '2036',
internalId:  '',
customField: '20051216-203835'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '2041',
internalId:  '',
customField: '20051216-203835'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '2046',
internalId:  '',
customField: '20051216-203835'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '2051',
internalId:  '',
customField: '20051216-203835'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '2056',
internalId:  '',
customField: '20051216-203835'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '2061',
internalId:  '',
customField: '20051216-203835'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '2066',
internalId:  '',
customField: '20051216-203836'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '2071',
internalId:  '',
customField: '20051216-203836'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1501',
internalId:  '',
customField: '20090130-192816'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '2806',
internalId:  '',
customField: '20090202-000756'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '2811',
internalId:  '',
customField: '20100120-100019'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '16401',
internalId:  '',
customField: '20090201-235104'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '68814',
internalId:  '',
customField: '20100411-144521'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '68835',
internalId:  '',
customField: '20100411-144521'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '3663',
internalId:  '',
customField: '20100411-125429'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '7301',
internalId:  '',
customField: '20100724-143840'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1516',
internalId:  '',
customField: '20080405-130005'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '38201',
internalId:  '',
customField: '20080405-130543'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '45114',
internalId:  '',
customField: '20100724-143817'
};
var canonHostname = 'cm4all.inode.at';
var accountId     = 'AIN010IN27AB';
var companyName   = '';
var htmlTitle	  = 'WAKUUM+--+Kultur+erleben+in+Thalgau';
var metaKeywords  = 'kultur+salzburg%2C+kultur+programm+salzburg%2C+salzkammergut+kultur%2C+kabarett+programm+salzburg%2C';
var metaContents  = 'Gegr%C3%BCndet+1991+verstehen+wir+uns+als+kultureller+%E2%80%9ENahversorger.+Dabei+gilt+uns+Kultur+nicht+als+reines+Freizeitvergn%C3%BCgen.+Kultur+ist+viel+mehr.+Sie+vermag+unsere+Pers%C3%B6nlichkeit+positiv+zu+gestalten%2C+indem+sie+sich+mit+unserem+Dasein+auseinandersetzt.+Lesungen%2C+Theater-+und+Kabarettabende+und+Musik+in+ihrem+breiten+Spektrum+sind+f%C3%BCr+uns+Genuss+und+Bildung+und+die+Lebensqualit%C3%A4t+vor+Ort+steigt.++';
					                                                                    
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;                                                                     
	};                                                                               
/* EOF */					                                                            
