/* [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','701',jdecode('Der+Verein'),jdecode(''),'/701/index.html','true',[ 
		['PAGE','752',jdecode('Ziele'),jdecode(''),'/701/752.html','true',[],''],
		['PAGE','773',jdecode('Vorstand'),jdecode(''),'/701/773.html','true',[],''],
		['PAGE','794',jdecode('Statuten'),jdecode(''),'/701/794.html','true',[],''],
		['PAGE','815',jdecode('Mitgliedschaft'),jdecode(''),'/701/815.html','true',[],'']
	],''],
	['PAGE','836',jdecode('Termine'),jdecode(''),'/836.html','true',[],''],
	['PAGE','899',jdecode('Aktuelle+Informationen'),jdecode(''),'/899/index.html','true',[ 
		['PAGE','44062',jdecode('Korrespondenz+Stift%2FP%C3%A4chter'),jdecode(''),'/899/44062.html','true',[],''],
		['PAGE','47062',jdecode('Falldarstellungen'),jdecode(''),'/899/47062.html','true',[],''],
		['PAGE','79530',jdecode('Verlassenschaften'),jdecode(''),'/899/79530.html','true',[],''],
		['PAGE','920',jdecode('Rechtsgutachten'),jdecode(''),'/899/920.html','true',[],''],
		['PAGE','183643',jdecode('Expertisen+Dr.+Klenk'),jdecode(''),'/899/183643.html','true',[],''],
		['PAGE','941',jdecode('P%C3%A4chter-Infos'),jdecode(''),'/899/941.html','true',[],''],
		['PAGE','221643',jdecode('P%C3%A4chterzeitung'),jdecode(''),'/899/221643.html','true',[],''],
		['PAGE','962',jdecode('Gemeindenachrichten'),jdecode(''),'/899/962.html','true',[],''],
		['PAGE','51562',jdecode('Rechtsschutzversicherung'),jdecode(''),'/899/51562.html','true',[],''],
		['PAGE','78430',jdecode('Pachtfl%C3%A4chenplan+LE'),jdecode(''),'/899/78430.html','true',[],''],
		['PAGE','166130',jdecode('Wahlversprechen+2010'),jdecode(''),'/899/166130.html','true',[],'']
	],''],
	['PAGE','983',jdecode('Diskussionsforum'),jdecode(''),'/983.html','true',[],''],
	['PAGE','1025',jdecode('Presse'),jdecode(''),'/1025.html','true',[],''],
	['PAGE','202643',jdecode('Partner'),jdecode(''),'/202643.html','true',[],''],
	['PAGE','29201',jdecode('Links'),jdecode(''),'/29201.html','true',[],''],
	['PAGE','1046',jdecode('Kontakt'),jdecode(''),'/1046/index.html','true',[ 
		['PAGE','6301',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/1046/6301.html','false',[],'']
	],''],
	['PAGE','1067',jdecode('Impressum'),jdecode(''),'/1067.html','true',[],''],
	['PAGE','37412',jdecode('Anfahrt'),jdecode(''),'/37412.html','true',[],''],
	['PAGE','70962',jdecode('Umfrage+Kaufabsicht'),jdecode(''),'/70962.html','true',[],''],
	['PAGE','80430',jdecode('Erhebung+Stiftszusagen'),jdecode(''),'/80430.html','true',[],''],
	['PAGE','73262',jdecode('Augustin%28er%29'),jdecode(''),'/73262.html','true',[],''],
	['PAGE','89030',jdecode('Bauten+auf+Stiftsgr%C3%BCnden'),jdecode(''),'/89030/index.html','true',[ 
		['PAGE','89051',jdecode('Gegendarstellung'),jdecode(''),'/89030/89051.html','true',[],'']
	],'']];
var siteelementCount=31;
theSitetree.topTemplateName='Vignette';
theSitetree.paletteFamily='E79E6E';
theSitetree.keyvisualId='3549';
theSitetree.keyvisualName='kv_3549.jpg';
theSitetree.fontsetId='10783';
theSitetree.graphicsetId='10833';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Vignette',
				paletteFamily: 	'E79E6E',
				keyvisualId: 	'3549',
				keyvisualName: 	'kv_3549.jpg',
				fontsetId: 		'10783',
				graphicsetId: 	'10833',
				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: 		'E79E6E',
				e_color: 		'886146',
				f_color: 		'C97556',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['5000']={
webappId:    '5000',
documentId:  '701',
internalId:  '',
customField: '20120109-163440'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '752',
internalId:  '',
customField: '20090125-125345'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '773',
internalId:  '',
customField: '20110925-192451'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '794',
internalId:  '',
customField: '20090124-155439'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1046',
internalId:  '',
customField: '20120109-164306'
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '1046',
internalId:  'ainod0ine9ya11f04c0aafa',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '6301',
internalId:  'ainod0ine9ya11f04c0aafa',
customField: 'followUp'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1067',
internalId:  '',
customField: '20110117-140929'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '836',
internalId:  '',
customField: '20111216-083239'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '899',
internalId:  '',
customField: '20111119-081535'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '815',
internalId:  '',
customField: '20120104-142200'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '983',
internalId:  '',
customField: '20090704-083750'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '920',
internalId:  '',
customField: '20101018-194242'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '941',
internalId:  '',
customField: '20100227-194502'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '962',
internalId:  '',
customField: '20100227-194800'
};
webappMappings['1003']={
webappId:    '1003',
documentId:  '983',
internalId:  'ainod0ine9ya11f04bb09c3',
customField: 'de:DE:'
};
webappMappings['1007']={
webappId:    '1007',
documentId:  '166130',
internalId:  '127566ed15d',
customField: 'g.14tb5svn5.r279mms09n.1s'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '1025',
internalId:  '',
customField: '20110307-075909'
};
webappMappings['1006']={
webappId:    '1006',
documentId:  '701',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '29201',
internalId:  '',
customField: '20110323-112605'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '6301',
internalId:  '',
customField: '20090123-192909'
};
webappMappings['2001']={
webappId:    '2001',
documentId:  '37412',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '37412',
internalId:  '',
customField: '20090212-191025'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '70962',
internalId:  '',
customField: '20090608-140721'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '44062',
internalId:  '',
customField: '20100227-180400'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '47062',
internalId:  '',
customField: '20090318-184954'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '51562',
internalId:  '',
customField: '20090314-092808'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '166130',
internalId:  '',
customField: '20100313-095017'
};
webappMappings['1005']={
webappId:    '1005',
documentId:  '70962',
internalId:  '121bfd873d3.37958e0e',
customField: 'de:DE:'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '73262',
internalId:  '',
customField: '20090618-220356'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '89051',
internalId:  '',
customField: '20100130-162844'
};
webappMappings['1501']={
webappId:    '1501',
documentId:  '701',
internalId:  '2285629',
customField: '1501'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '89030',
internalId:  '',
customField: '20100130-163026'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '78430',
internalId:  '',
customField: '20090930-201815'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '79530',
internalId:  '',
customField: '20091007-151852'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '80430',
internalId:  '',
customField: '20101004-192134'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '183643',
internalId:  '',
customField: '20101118-104624'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '202643',
internalId:  '',
customField: '20110919-193829'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '221643',
internalId:  '',
customField: '20120109-163912'
};
var canonHostname = 'cm4all.inode.at';
var accountId     = 'AINOD0INE9YA';
var companyName   = 'P%C3%A4chterverein+Langenzersdorf';
var htmlTitle	  = 'P%C3%A4chterverein+Langenzersdorf';
var metaKeywords  = 'p%C3%A4chterverein+langenzersdorf%3B+stift+klosterneuburg%3B+chorherrnstift+klosterneuburg%3B+pachtvertrag%3B+bestandvertrag%3B+pacht%3B+p%C3%A4chter%3B';
var metaContents  = 'p%C3%A4chterverein+langenzersdorf%3B+stift+klosterneuburg%3B+chorherrnstift+klosterneuburg%3B+pachtvertrag%3B+bestandvertrag%3B+pacht%3B+p%C3%A4chter%3B';
					                                                                    
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 */					                                                            

