/* [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('Startseite'),jdecode(''),'/44.html','true',[],''],
	['PAGE','41961',jdecode('Bilder'),jdecode(''),'/41961.html','true',[],''],
	['PAGE','41265',jdecode('Arbeiten'),jdecode(''),'/41265.html','true',[],''],
	['PAGE','41274',jdecode('Feiern'),jdecode(''),'/41274.html','true',[],''],
	['PAGE','41283',jdecode('Catering'),jdecode(''),'/41283.html','true',[],''],
	['PAGE','41256',jdecode('Wir+%C3%BCber+uns'),jdecode(''),'/41256.html','true',[],''],
	['PAGE','41310',jdecode('Service'),jdecode(''),'/41310.html','true',[],''],
	['PAGE','41319',jdecode('Impressum'),jdecode(''),'/41319.html','true',[],'']];
var siteelementCount=8;
theSitetree.topTemplateName='Konzept';
theSitetree.paletteFamily='6C05A7';
theSitetree.keyvisualId='568';
theSitetree.keyvisualName='handel.jpg';
theSitetree.fontsetId='119';
theSitetree.graphicsetId='139';
theSitetree.contentColor='666666';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Konzept',
				paletteFamily: 	'6C05A7',
				keyvisualId: 	'568',
				keyvisualName: 	'handel.jpg',
				fontsetId: 		'119',
				graphicsetId: 	'139',
				contentColor: 	'666666',
				contentBGColor: 'FFFFFF',
				a_color: 		'6C05A7',
				b_color: 		'C8D0ED',
				c_color: 		'000000',
				d_color: 		'15094B',
				e_color: 		'C5B39F',
				f_color: 		'900B4D',
				hasCustomLogo: 	'false',
				contentFontFace:'Times New Roman, Times, serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['1007']=webappMappings['1007-10f1b599edc']={
webappId:    '1007',
documentId:  '41961',
internalId:  '10f1b599edc',
customField: 'g.11sdlbi3r.4n10rleg0kf.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20100825-221041'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41310',
internalId:  '',
customField: '20080731-160554'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41961',
internalId:  '',
customField: '20070104-164958'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41256',
internalId:  '',
customField: '20081026-153326'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41265',
internalId:  '',
customField: '20080731-161411'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41274',
internalId:  '',
customField: '20070830-003229'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41283',
internalId:  '',
customField: '20070830-003336'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41319',
internalId:  '',
customField: '20100825-221123'
};
webappMappings['1501']=webappMappings['1501-43391407']={
webappId:    '1501',
documentId:  '44',
internalId:  '43391407',
customField: '1501'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0I7YR0P';
var companyName   = 'Der+Liebenweinturm+in+Burghausen';
var htmlTitle	  = 'Der+Liebenweinturm+-+eine+Top-Location+in+Burghausen%2FOberbayern';
var metaKeywords  = 'Liebenweinturm%2C+Location%2C+Catering%2C+Burg%2C+Top-Location%2C+Burghausen%2C+Festabend%2C+Road%2C+Show%2C+Competence%2C+Incentive%2C+social+event%2C+Meeting+l%C3%A4ngste%2C+Burg%2C+Welt%2C+Oberbayern%2C+Catering-Team%2C+Landhotel%2C+Reisinger%2C+Bayerische%2C+Alm%2C+Planung%2C+Ausf%C3%BChrung%2C+repr%C3%A4sentativ%2C+Veranstaltung%2C+Tagung%2C+Incentive%2C+Event%2C+Festabend%2C+Gala%2C+Lage%2C+ruhig%2C+Blick%2C+Restaurant%2C+Feinschmecker%2C+Genie%C3%9Fer%2C+idyllisch%2C+Erholung%2C+Events%2C+Hochzeiten%2C+Burgfest%2C+Konzepte%2C+B%C3%BCrgerhaus%2C+Tagungen%2C+Businesshotel%2C+Erlebnis%2C+Verw%C3%B6hnservice%2C+deen%2C+Ausf%C3%BChrung%2C+Catering%2C+S%C3%BCdostbayern%2C+professionell%2C+au%C3%9Fergew%C3%B6hnlich%2C+Feste%2C+Incentives%2C+Salzach%2C+Wirt%2C+Caterer%2C+Spezialist%2C+Veranstaltungen%2C+Veranstaltungsservice%2C+Dekoration%2C+Equipment%2C+Stehempfang%2C+Diner%2C+Rahmenprogramm%2C+Budget%2C+Veranstalter';
var metaContents  = 'Der+Liebenweinturm+in+Burghausen+ist+eine+Top-Locations+auf+der+l%C3%A4ngsten+Burg+der+Welt%21+Competence+Show%2C+Incentive%2C+social+event%2C+Meeting+oder+Firmen-+oder+Weihnachtsfeier.';
					                                                                    
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 */					                                                            

