/* [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','4579',jdecode('Home+%2F+Impressum'),jdecode(''),'/4579.html','true',[],''],
	['PAGE','13701',jdecode('wir+%C3%BCber+uns%2F+Links'),jdecode(''),'/13701.html','true',[],''],
	['PAGE','13728',jdecode('Unser+Bio-+Fleisch'),jdecode(''),'/13728.html','true',[],''],
	['PAGE','13857',jdecode('Unsere+Bio-+Wurst'),jdecode(''),'/13857.html','true',[],''],
	['PAGE','13981',jdecode('Unser+Bio-+Men%C3%BCplan'),jdecode(''),'/13981.html','true',[],''],
	['PAGE','13809',jdecode('Unser+Bio-+Partyservice'),jdecode(''),'/13809.html','true',[],''],
	['PAGE','22233',jdecode('UNSERE+ANGEBOTE'),jdecode(''),'/22233.html','true',[],''],
	['PAGE','13884',jdecode('Gluten-+u.+Laktosefrei'),jdecode(''),'/13884.html','true',[],''],
	['PAGE','13911',jdecode('Tierkunde'),jdecode(''),'/13911.html','true',[],''],
	['PAGE','22260',jdecode('Bernemer+Kerb'),jdecode(''),'/22260.html','true',[],'']];
var siteelementCount=10;
theSitetree.topTemplateName='Architekt';
theSitetree.paletteFamily='AAA0CD';
theSitetree.keyvisualId='2055';
theSitetree.keyvisualName='blanko.jpg';
theSitetree.fontsetId='280';
theSitetree.graphicsetId='346';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='AAA0CD';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Architekt',
				paletteFamily: 	'AAA0CD',
				keyvisualId: 	'2055',
				keyvisualName: 	'blanko.jpg',
				fontsetId: 		'280',
				graphicsetId: 	'346',
				contentColor: 	'000000',
				contentBGColor: 'AAA0CD',
				a_color: 		'AAA0CD',
				b_color: 		'3E3361',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '4579',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']=webappMappings['1501-904831']={
webappId:    '1501',
documentId:  '4579',
internalId:  '904831',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4579',
internalId:  '',
customField: '20100726-084944'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13701',
internalId:  '',
customField: '20100726-085613'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13728',
internalId:  '',
customField: '20100412-120857'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13857',
internalId:  '',
customField: '20100703-120650'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13981',
internalId:  '',
customField: '20100703-122523'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13809',
internalId:  '',
customField: '20100607-120640'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22233',
internalId:  '',
customField: '20100726-083836'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13884',
internalId:  '',
customField: '20060627-155449'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13911',
internalId:  '',
customField: '20050924-212049'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22260',
internalId:  '',
customField: '20060624-134523'
};
var canonHostname = 'c4awrk07.aul.t-online.de';
var accountId     = 'ATOIX0INVQ9U';
var companyName   = 'BIO-METZGEREI+SPAHN';
var htmlTitle	  = 'Metzgerei+Spahn+mit+Bio-+Fleisch+und+mehr....';
var metaKeywords  = 'Bio%2CFleisch%2CWurst%2CMetzgerei%2CFleischerei%2CK%C3%A4se%2CSalate%2CPartyservice%2CPlattenservice%2CBelegte+Br%C3%B6tchen%2CBiofleisch%2CBiowurst%2CNatur%2CFamilie%2CGesundheit%2CLebensqualit%C3%A4t%2CGrill%2CGrillfest%2CParty%2CFest%2CGeburtstag%2CHochzeit%2CFestlichkeiten%2CLieferservice%2CBrot%2CBr%C3%B6tchen%2CB%C3%A4cker%2CB%C3%A4ckerei%2CBiokartoffeln%2CBioeier%2CVersand%2CGro%C3%9Fhandel%2CEinzelhandel%2CGetr%C3%A4nke%2CRezepte%2CRezept%2CKoch%2Ckochen%2CKochrezepte%2CTierkunde%2CTiere%2COchse%2CRinder%2CStier%2CBulle%2CKuh%2CK%C3%BChe%2CKalb%2CK%C3%A4lber%2CSchwein%2CFerkel%2CLamm%2CL%C3%A4mmer%2CSchafe%2CBiohof%2CHofgut%2CH%C3%BChner%2CEier%2CPuten%2CBraten%2CSchmorbraten%2CMen%C3%BCs%2CMen%C3%BC%2CEssen%2CBacken%2CBraten%2CD%C3%BCnsten%2Cfrankfurt%2CBornheim%2CBergerstrasse%2C60385%2CMotorrad%2CK%C3%A4se%2CKerb%2C';
var metaContents  = 'Eigen+Schlachtung%2C+Eigene+Produktion%2C+Bio-+Fleisch%2C+Bio-+Eier%2C+Bio-+Kartoffeln%2C+eigener+Partyservice%2C+Geschirr+und+Ger%C3%A4teverleih+f%C3%BCr+ihr+Fest.';
					                                                                    
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 */					                                                            
