/* [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++Arte+Jana+R.'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','44627',jdecode('Surreale+Landschaften'),jdecode(''),'/44627.html','true',[],''],
	['PAGE','44145',jdecode('+Mimikry+-+Europa'),jdecode(''),'/44145.html','true',[],''],
	['PAGE','46601',jdecode('USA+und+Australien'),jdecode(''),'/46601.html','true',[],''],
	['PAGE','44351',jdecode('Mixed+Media'),jdecode(''),'/44351.html','false',[],''],
	['PAGE','80501',jdecode('Mixed+Media'),jdecode(''),'/80501.html','true',[],''],
	['PAGE','40845',jdecode('+Sportbilder+'),jdecode(''),'/40845.html','true',[],''],
	['PAGE','40564',jdecode('+Thunderbirds%2C+Affen+u.Pferde'),jdecode(''),'/40564.html','true',[],''],
	['PAGE','41072',jdecode('Biologie+des+Lebens'),jdecode(''),'/41072.html','true',[],''],
	['PAGE','57901',jdecode('Ausstellungen+'),jdecode(''),'/57901.html','true',[],''],
	['PAGE','40591',jdecode('Kontakt++%2F+Links+%2F+Impressum'),jdecode(''),'/40591.html','true',[],'']];
var siteelementCount=11;
theSitetree.topTemplateName='Litfass';
theSitetree.paletteFamily='F4EBCE';
theSitetree.keyvisualId='11045';
theSitetree.keyvisualName='kv_11045.jpg';
theSitetree.fontsetId='32074';
theSitetree.graphicsetId='13768';
theSitetree.contentColor='696558';
theSitetree.contentBGColor='F4EBCE';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Litfass',
				paletteFamily: 	'F4EBCE',
				keyvisualId: 	'11045',
				keyvisualName: 	'kv_11045.jpg',
				fontsetId: 		'32074',
				graphicsetId: 	'13768',
				contentColor: 	'696558',
				contentBGColor: 'F4EBCE',
				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:     'false'
			  };
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: '20120209-200919'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44145',
internalId:  '',
customField: '20111004-163802'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40564',
internalId:  '',
customField: '20120129-185834'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41072',
internalId:  '',
customField: '20100812-222452'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44351',
internalId:  '',
customField: '20090314-160538'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40591',
internalId:  '',
customField: '20120118-192640'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40845',
internalId:  '',
customField: '20111120-175630'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46601',
internalId:  '',
customField: '20111009-161649'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '57901',
internalId:  '',
customField: '20120122-172619'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '80501',
internalId:  '',
customField: '20111004-161229'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44627',
internalId:  '',
customField: '20120107-114044'
};
webappMappings['7060']=webappMappings['7060-5ad9e6cc62f8f95815b612a35b747c57']={
webappId:    '7060',
documentId:  '44351',
internalId:  '5ad9e6cc62f8f95815b612a35b747c57',
customField: 'language:de;country:DE;'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0IR0W1V';
var companyName   = 'Arte+Jana+R%C3%B6ther';
var htmlTitle	  = 'Jana+R%C3%B6ther++++++Kunst+und+mehr';
var metaKeywords  = 'Ihr+Name%2C+Schwimmhallen%2C+Sport%2C+Wettkampf%2C+Schwimmen%2C+Wasser%2C+Schwimmhalle%2C+baden%2C+planschen%2C+Kinder++';
var metaContents  = 'Willkommen+bei+Ihr+Name.+Infos+zu+Veranstaltungen%2C+Oeffnungszeiten%2C+Lage+und+vieles+mehr.++';
					                                                                    
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 */					                                                            

