/* [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','13763',jdecode('Home'),jdecode(''),'/13763.html','true',[],''],
	['PAGE','51999',jdecode('Messestand+in+K%C3%B6ln'),jdecode(''),'/51999.html','true',[],''],
	['PAGE','32002',jdecode('So+finden+Sie+uns'),jdecode(''),'/32002.html','true',[],''],
	['PAGE','32301',jdecode('Messen+%2F+Aktivit%C3%A4ten'),jdecode(''),'/32301.html','true',[],''],
	['PAGE','32601',jdecode('Gem%C3%A4lde'),jdecode(''),'/32601/home.html','true',[ 
		['PAGE','32328',jdecode('Gem%C3%A4lde+%281800+-+1950%29'),jdecode(''),'/32601/32328.html','true',[],''],
		['PAGE','32355',jdecode('Gem%C3%A4lde+%281950+-+heute%29'),jdecode(''),'/32601/32355.html','true',[],'']
	],''],
	['PAGE','13928',jdecode('Schmuck'),jdecode(''),'/13928.html','true',[],''],
	['PAGE','32382',jdecode('Service'),jdecode(''),'/32382/home.html','true',[ 
		['PAGE','32436',jdecode('Objektberatung'),jdecode(''),'/32382/32436.html','true',[],''],
		['PAGE','32409',jdecode('Einrahmungen'),jdecode(''),'/32382/32409.html','true',[],'']
	],''],
	['PAGE','39485',jdecode('Impressum'),jdecode(''),'/39485.html','true',[],''],
	['PAGE','54815',jdecode('Newsletter+%28Folgeseite%29'),jdecode(''),'/54815.html','false',[],'']];
var siteelementCount=13;
theSitetree.topTemplateName='Galerie';
theSitetree.paletteFamily='003333';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='73';
theSitetree.graphicsetId='78';
theSitetree.contentColor='666666';
theSitetree.contentBGColor='D0D5DB';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Galerie',
				paletteFamily: 	'003333',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'73',
				graphicsetId: 	'78',
				contentColor: 	'666666',
				contentBGColor: 'D0D5DB',
				a_color: 		'003333',
				b_color: 		'FFFFFF',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '32002',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['1001']=webappMappings['1001-atoix0inv1ul5dbdbd74b6758254']={
webappId:    '1001',
documentId:  '54815',
internalId:  'atoix0inv1ul5dbdbd74b6758254',
customField: 'followUp'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '13763',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13763',
internalId:  '',
customField: '20100306-154443'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '51999',
internalId:  '',
customField: '20100116-160848'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32002',
internalId:  '',
customField: '20040728-160426'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32301',
internalId:  '',
customField: '20100213-120737'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32601',
internalId:  '',
customField: '20091104-123651'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32328',
internalId:  '',
customField: '20100306-160728'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32355',
internalId:  '',
customField: '20100116-162758'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13928',
internalId:  '',
customField: '20100116-165442'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32382',
internalId:  '',
customField: '20040630-144415'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32436',
internalId:  '',
customField: '20040630-142746'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32409',
internalId:  '',
customField: '20040803-162935'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39485',
internalId:  '',
customField: '20050929-120954'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '54815',
internalId:  '',
customField: '20070309-120019'
};
var canonHostname = 'cfawrk03.aul.t-online.de';
var accountId     = 'ATOIX0INV1UL';
var companyName   = 'Galerie+Am+Elisengarten';
var htmlTitle	  = 'Galerie+Am+Elisengarten+in+Aachen';
var metaKeywords  = 'Galerie%2CAachen%2CElisengarten%2CElisengalerie%2CSt%C3%B6cker%2CStoecker%2CRedl%2CKunst%2CGemaelde%2CGem%C3%A4lde%2COelgemaelde%2C%C3%96lgem%C3%A4lde%2CRahmen%2CExpertisen%2CGutachten';
var metaContents  = 'Ein+%C3%9Cberblick+%C3%BCber+das+Angebot+der+Galerie+Am+Elisengarten+in+Aachen.%0AMessetermine+und+Aktivit%C3%A4ten+der+Galerie.%0ALageplan+und+Anreisebeschreibung.%0AVerschiedene+Bildergalerien+und+Darstellung+des+Schmuckangebotes.';
					                                                                    
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 */					                                                            
