/* [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'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','43838',jdecode('Flekkur+'),jdecode(''),'/43838.html','true',[],''],
	['PAGE','44422',jdecode('Bill'),jdecode(''),'/44422.html','true',[],''],
	['PAGE','41314',jdecode('Zeichnungen'),jdecode(''),'/41314/home.html','true',[ 
		['PAGE','42383',jdecode('Galerie+Pferde'),jdecode(''),'/41314/42383.html','true',[],''],
		['PAGE','43759',jdecode('Galerie+Hunde'),jdecode(''),'/41314/43759.html','true',[],''],
		['PAGE','43789',jdecode('Galerie+Katzen'),jdecode(''),'/41314/43789.html','true',[],''],
		['PAGE','44033',jdecode('andere+Tiere'),jdecode(''),'/41314/44033.html','true',[],'']
	],''],
	['PAGE','41359',jdecode('Fotografien'),jdecode(''),'/41359/home.html','true',[ 
		['PAGE','42372',jdecode('Diashow+Flekkur+'),jdecode(''),'/41359/42372.html','true',[],''],
		['PAGE','44102',jdecode('Pferde'),jdecode(''),'/41359/44102.html','true',[],''],
		['PAGE','44111',jdecode('Hunde'),jdecode(''),'/41359/44111.html','true',[],''],
		['PAGE','44120',jdecode('Katzen'),jdecode(''),'/41359/44120.html','true',[],'']
	],''],
	['PAGE','41368',jdecode('Kontakt'),jdecode(''),'/41368.html','true',[],''],
	['PAGE','41386',jdecode('Impressum'),jdecode(''),'/41386.html','true',[],''],
	['PAGE','42408',jdecode('G%C3%A4stebuch'),jdecode(''),'/42408/home.html','true',[ 
		['PAGE','42407',jdecode('Eintr%C3%A4ge'),jdecode(''),'/42408/42407.html','true',[],'']
	],'']];
var siteelementCount=17;
theSitetree.topTemplateName='Art';
theSitetree.paletteFamily='000000';
theSitetree.keyvisualId='1782';
theSitetree.keyvisualName='duene.jpg';
theSitetree.fontsetId='283';
theSitetree.graphicsetId='350';
theSitetree.contentColor='DDDDDD';
theSitetree.contentBGColor='000000';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Art',
				paletteFamily: 	'000000',
				keyvisualId: 	'1782',
				keyvisualName: 	'duene.jpg',
				fontsetId: 		'283',
				graphicsetId: 	'350',
				contentColor: 	'DDDDDD',
				contentBGColor: '000000',
				a_color: 		'000000',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				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: '20111027-095134'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41314',
internalId:  '',
customField: '20100323-121411'
};
webappMappings['7060']=webappMappings['7060-32afcde5347013ab07df0972434c0a37']={
webappId:    '7060',
documentId:  '42372',
internalId:  '32afcde5347013ab07df0972434c0a37',
customField: 'language:de;country:DE;'
};
webappMappings['1007']=webappMappings['1007-126aa3712e5']={
webappId:    '1007',
documentId:  '42383',
internalId:  '126aa3712e5',
customField: 'g.14ql32fre.jv29evpm4m.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42372',
internalId:  '',
customField: '20100207-214608'
};
webappMappings['1007']=webappMappings['1007-126ad2c26b3']={
webappId:    '1007',
documentId:  '43789',
internalId:  '126ad2c26b3',
customField: 'g.14qmi9sk3.d918op042t.1s'
};
webappMappings['1007']=webappMappings['1007-126ad010b2e']={
webappId:    '1007',
documentId:  '43759',
internalId:  '126ad010b2e',
customField: 'g.14qmfianr.4do2fhb2a4j.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42383',
internalId:  '',
customField: '20100208-122609'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41386',
internalId:  '',
customField: '20100208-165140'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41368',
internalId:  '',
customField: '20100323-120810'
};
webappMappings['1002']=webappMappings['1002-42408atoix0irbxwo']={
webappId:    '1002',
documentId:  '42408',
internalId:  '42408atoix0irbxwo',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-42408atoix0irbxwo']={
webappId:    '1002',
documentId:  '42407',
internalId:  '42408atoix0irbxwo',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42408',
internalId:  '',
customField: '20100207-221759'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42407',
internalId:  '',
customField: '20100207-221759'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44111',
internalId:  '',
customField: '20110801-171449'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44102',
internalId:  '',
customField: '20110215-183359'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44033',
internalId:  '',
customField: '20100210-230908'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43838',
internalId:  '',
customField: '20110712-133637'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43789',
internalId:  '',
customField: '20100208-122813'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41359',
internalId:  '',
customField: '20100505-190401'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43759',
internalId:  '',
customField: '20100208-122548'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44120',
internalId:  '',
customField: '20100505-191608'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44422',
internalId:  '',
customField: '20110801-173608'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0IRBXWO';
var companyName   = 'Flekkurs+Welt';
var htmlTitle	  = '';
var metaKeywords  = '';
var metaContents  = '';
					                                                                    
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 */					                                                            

