/* [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('feld+art+-+home'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','41662',jdecode('feld+inhalt+-+malerei'),jdecode(''),'/41662/home.html','true',[ 
		['PAGE','41671',jdecode('feld+arbeit+-+impulse'),jdecode(''),'/41662/41671.html','true',[],''],
		['PAGE','42582',jdecode('feld+frucht+-+reife'),jdecode(''),'/41662/42582.html','true',[],''],
		['PAGE','41680',jdecode('feld+lager+-+archiv'),jdecode(''),'/41662/41680.html','true',[],'']
	],''],
	['PAGE','43129',jdecode('feld+galerie+-+bilderflut'),jdecode(''),'/43129.html','true',[],''],
	['PAGE','42424',jdecode('feld+versuch+-+thema'),jdecode(''),'/42424/home.html','true',[ 
		['PAGE','41643',jdecode('feld+stationen+-+vita+'),jdecode(''),'/42424/41643.html','true',[],'']
	],''],
	['PAGE','41634',jdecode('feld+kontakt+-+impressum'),jdecode(''),'/41634.html','true',[],''],
	['PAGE','354101',jdecode('feld+art+-+blog'),jdecode(''),'/354101.html','true',[],'']];
var siteelementCount=10;
theSitetree.topTemplateName='TOI_Health_1';
theSitetree.paletteFamily='F1F1F0';
theSitetree.keyvisualId='10595';
theSitetree.keyvisualName='kv_10595.jpg';
theSitetree.fontsetId='31746';
theSitetree.graphicsetId='13515';
theSitetree.contentColor='534F48';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Health_1',
				paletteFamily: 	'F1F1F0',
				keyvisualId: 	'10595',
				keyvisualName: 	'kv_10595.jpg',
				fontsetId: 		'31746',
				graphicsetId: 	'13515',
				contentColor: 	'534F48',
				contentBGColor: 'FFFFFF',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
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: '20111206-175535'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41634',
internalId:  '',
customField: '20110303-115902'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41662',
internalId:  '',
customField: '20101118-200333'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41643',
internalId:  '',
customField: '20110414-191446'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42424',
internalId:  '',
customField: '20110617-143415'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41671',
internalId:  '',
customField: '20101005-152728'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '354101',
internalId:  '',
customField: '20110503-161158'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41680',
internalId:  '',
customField: '20101005-143109'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42582',
internalId:  '',
customField: '20101007-140758'
};
webappMappings['7050']=webappMappings['7050-19295']={
webappId:    '7050',
documentId:  '354101',
internalId:  '19295',
customField: 'language:de;country:DE;'
};
webappMappings['1008']=webappMappings['1008-45566110']={
webappId:    '1008',
documentId:  '41634',
internalId:  '45566110',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['1501']=webappMappings['1501-52054170']={
webappId:    '1501',
documentId:  '39994',
internalId:  '52054170',
customField: '1501'
};
webappMappings['1007']=webappMappings['1007-118f696a8b5']={
webappId:    '1007',
documentId:  '43129',
internalId:  '118f696a8b5',
customField: 'g.133r6qrnj.40govni7qch.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43129',
internalId:  '',
customField: '20110303-120025'
};
webappMappings['7090']=webappMappings['7090-545258']={
webappId:    '7090',
documentId:  '39994',
internalId:  '545258',
customField: 'type:podcast-1.0;language:de;country:DE;'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0IRCL3W';
var companyName   = '++++frank+e.+langenfeld++%40++feld-art';
var htmlTitle	  = '+feld-art+-+frank+e.+langenfeld+-+ulm+%2F+donau.';
var metaKeywords  = 'Zeitgen%C3%B6ssische+Kunst%2C+Bild%2C+Bildung%2C+Kultur%2C+Musik%2C+Menschenrechte%2C+design+art%3A+film%2C+foto%2C+humanism%2C+human+rights%2C+feuilleton%2C+liberty%2C+modern+art%2C+philosophy%2C+human+society%2C+studies%2C+projects%2C+social+life%2C+democracy%2C+Europa%2C+Toskana%2C+Mittelmeer%2C++Afrika%2C+Asia%2C+Middle+East%2C+Arabische+Halbinsel%2C+New+York%2C+Chicago%2C+L.A.+California%2C+fields%3A+Landschaft%2C+Portrait%2C+Akt%2C+Stillleben%2C+Komposition%2C+Impressionismus%2C+Art+Deco%2C+Informell%2C+Expressionismus%2C+Moderne%2C+Postmoderne%2C+Realismus%2C+Konstruktivismus%2C+Design%2C+Abstraktion%2C+Aquarell%2C+Tusche%2C+Gouache%2C+Acryl%2C+Pastell%2C+Grafit%2C+R%C3%B6tel%2C+Kohle%2C++Linol%2C+Lithografie%2C+Papier%2C+Karton%2C+Holz%2C+Leinwand%2C+DIBOND%2C+-+painting%2C+landscape%2C+portrait%2C+act%2C+stills%2C+abstract%2C+figuration%2C+impression%2C+expression%2C+informel%2C+design%2C+action+painting%2C+modern+art%2C+watercolor%2C+acryl%2C+mixed+media%2C+pastells%2C+charcoal%2C+graphite%2C+paper%2C+etchings%2C+dibond%2C+canvas.';
var metaContents  = 'Aktuelle+Highlights+zu+Bildende+Kunst%2C+Malerei%2C+Grafik%2C+Druck%2C+Film%2C+Fotografie%2C+WebDesign%2C+Medien%2C+Theater%2C+Literatur%2C+Musik%2C+personal+homepage+Frank+E.+Langenfeld+%28Ulm+%2F+Donau%29+.+Aktuelle+Werkbeispiele%2C+Kulturnachrichten.++Humanismus%2C+gesellschaftliche+Reflexion%2C+One+World%2C+Lebensphasen%2C+Aphorismen%2C+Natur%2C+Landschaft%2C+Figuration%2C+Stillleben%2C+Design%2C+Abstraktion+%28aquarell%2C+watercolor%2C+acryl%2C+pastell%2C+graphite%2C+mixed+media%2C+painting%2C+etching%2C+design%2C+foto%2C+pictures%2C+cultural+news%29+.+Kontakt%3A+info%40frank-langenfeld.de+.';
					                                                                    
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 */					                                                            

