/* [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','13782',jdecode('GALERIE+IM+SCHWAN'),jdecode(''),'/13782.html','true',[],''],
	['PAGE','24579',jdecode('Angebot+der+Woche'),jdecode(''),'/24579.html','true',[],''],
	['PAGE','13725',jdecode('Haus+und+Gartenmarkt'),jdecode(''),'/13725.html','true',[],''],
	['PAGE','23627',jdecode('Paket-Shop'),jdecode(''),'/23627.html','true',[],''],
	['PAGE','13809',jdecode('Passbildstudio'),jdecode(''),'/13809.html','true',[],''],
	['PAGE','16401',jdecode('Gartenm%C3%B6bel'),jdecode(''),'/16401.html','true',[],''],
	['PAGE','16428',jdecode('Schlie%C3%9Fanlagen'),jdecode(''),'/16428/home.html','true',[ 
		['PAGE','20726',jdecode('Leitern'),jdecode(''),'/16428/20726.html','true',[],'']
	],''],
	['PAGE','17232',jdecode('Farben+und+Zubeh%C3%B6r'),jdecode(''),'/17232.html','true',[],''],
	['PAGE','23677',jdecode('Gimmund+Markt+'),jdecode(''),'/23677.html','true',[],''],
	['PAGE','23376',jdecode('Bilder+'),jdecode(''),'/23376.html','true',[],''],
	['PAGE','16520',jdecode('Wir+%C3%BCber+uns'),jdecode(''),'/16520.html','true',[],''],
	['PAGE','29415',jdecode('%C3%96ffnungszeiten'),jdecode(''),'/29415.html','true',[],''],
	['PAGE','27315',jdecode('Kontakt'),jdecode(''),'/27315.html','true',[],''],
	['PAGE','22116',jdecode('Anfahrt'),jdecode(''),'/22116.html','true',[],''],
	['PAGE','17901',jdecode('Impressum'),jdecode(''),'/17901/home.html','true',[ 
		['PAGE','19201',jdecode('Links'),jdecode(''),'/17901/19201.html','true',[],'']
	],'']];
var siteelementCount=17;
theSitetree.topTemplateName='Metal';
theSitetree.paletteFamily='A3CAFE';
theSitetree.keyvisualId='780';
theSitetree.keyvisualName='uhr.jpg';
theSitetree.fontsetId='147';
theSitetree.graphicsetId='162';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='000000';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Metal',
				paletteFamily: 	'A3CAFE',
				keyvisualId: 	'780',
				keyvisualName: 	'uhr.jpg',
				fontsetId: 		'147',
				graphicsetId: 	'162',
				contentColor: 	'FFFFFF',
				contentBGColor: '000000',
				a_color: 		'A3CAFE',
				b_color: 		'87A7D2',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '22116',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '13782',
internalId:  '1006',
customField: '1006'
};
webappMappings['1007']=webappMappings['1007-10806e656a6']={
webappId:    '1007',
documentId:  '23376',
internalId:  '10806e656a6',
customField: 'g.1103crc5q.6n5sbqk26d.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13725',
internalId:  '',
customField: '20100216-220235'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23376',
internalId:  '',
customField: '20061218-230946'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27315',
internalId:  '',
customField: '20080820-183051'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '29415',
internalId:  '',
customField: '20090515-211224'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23677',
internalId:  '',
customField: '20100216-180955'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13782',
internalId:  '',
customField: '20100516-201100'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23627',
internalId:  '',
customField: '20090511-221009'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13809',
internalId:  '',
customField: '20080905-221156'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16401',
internalId:  '',
customField: '20071107-160155'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16428',
internalId:  '',
customField: '20050406-142802'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20726',
internalId:  '',
customField: '20050406-143209'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17232',
internalId:  '',
customField: '20100216-220358'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16520',
internalId:  '',
customField: '20100216-215820'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22116',
internalId:  '',
customField: '20050416-194636'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17901',
internalId:  '',
customField: '20100216-221216'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19201',
internalId:  '',
customField: '20081010-153447'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24579',
internalId:  '',
customField: '20100216-180444'
};
webappMappings['1501']=webappMappings['1501-1501']={
webappId:    '1501',
documentId:  '13782',
internalId:  '1501',
customField: '1501'
};
var canonHostname = 'cfawrk07.aul.t-online.de';
var accountId     = 'ATOIX0INLM7S';
var companyName   = 'CHRISTA++BELZER++67578+GIMBSHEIM++';
var htmlTitle	  = 'Christa+Belzer++Haus-+und+Gartenfachmarkt+%2C+Uhren+und+Schmuck%2C+Geschenke-Galerie';
var metaKeywords  = 'Christa+Belzer%2C+Uhren%2C+Schmuck%2C+Juwelier%2C+Geschenke%2C+Hermes+Paket+Shop%2C+Farben%2C+Passbilder%2C+Eisenwaren%2C+Gartenmarkt+%2C+Gartenbedarf%2C+Eisenwaren%2C+Schl%C3%BCsseldienst%2C+Anh%C3%A4ngervermietung+';
var metaContents  = 'Christa+Belzer%2C+Haus-+und+Gartenfachmarkt%2C+Geschenke-Galerie+im+Schwan%2C+Uhren+und+Schmuck+';
					                                                                    
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 */					                                                            
