/* [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'),jdecode(''),'/4579/home.html','true',[ 
		['PAGE','14049',jdecode('Home+%28Folgeseite%29'),jdecode(''),'/4579/14049.html','false',[],'']
	],''],
	['PAGE','17402',jdecode('Wetterfahnen'),jdecode(''),'/17402.html','true',[],''],
	['PAGE','17602',jdecode('Dachrinnenfiguren'),jdecode(''),'/17602.html','true',[],''],
	['PAGE','19501',jdecode('Haus+und+Garten'),jdecode(''),'/19501.html','true',[],''],
	['PAGE','17702',jdecode('Au%C3%9Fenleuchten'),jdecode(''),'/17702.html','true',[],''],
	['PAGE','13782',jdecode('Innenleuchten'),jdecode(''),'/13782.html','true',[],''],
	['PAGE','13809',jdecode('Zimmerbrunnen'),jdecode(''),'/13809.html','true',[],''],
	['PAGE','13836',jdecode('Briefk%C3%A4sten'),jdecode(''),'/13836.html','true',[],''],
	['PAGE','24153',jdecode('Kaminbestecke'),jdecode(''),'/24153.html','true',[],''],
	['PAGE','13863',jdecode('Couchtische'),jdecode(''),'/13863.html','true',[],''],
	['PAGE','13890',jdecode('Kupferhaust%C3%BCren'),jdecode(''),'/13890.html','true',[],''],
	['PAGE','24348',jdecode('Gel%C3%A4nder'),jdecode(''),'/24348.html','true',[],''],
	['PAGE','13917',jdecode('Kupfervord%C3%A4cher'),jdecode(''),'/13917.html','true',[],''],
	['PAGE','17451',jdecode('Sakrales'),jdecode(''),'/17451.html','true',[],''],
	['PAGE','18784',jdecode('Gastst%C3%A4tte+und+Werbung'),jdecode(''),'/18784.html','true',[],''],
	['PAGE','17478',jdecode('Sonderanfertigungen'),jdecode(''),'/17478.html','true',[],''],
	['PAGE','19201',jdecode('Impressum'),jdecode(''),'/19201.html','true',[],''],
	['PAGE','27001',jdecode('Ihr+Weg+zu+uns'),jdecode(''),'/27001.html','true',[],''],
	['PAGE','27101',jdecode('Anfahrt'),jdecode(''),'/27101.html','true',[],''],
	['PAGE','27201',jdecode('Online-Shop'),jdecode(''),'/27201.html','true',[],'']];
var siteelementCount=21;
theSitetree.topTemplateName='Maschine';
theSitetree.paletteFamily='264B41';
theSitetree.keyvisualId='1914';
theSitetree.keyvisualName='handwerker.jpg';
theSitetree.fontsetId='319';
theSitetree.graphicsetId='371';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='000000';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Maschine',
				paletteFamily: 	'264B41',
				keyvisualId: 	'1914',
				keyvisualName: 	'handwerker.jpg',
				fontsetId: 		'319',
				graphicsetId: 	'371',
				contentColor: 	'FFFFFF',
				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['1001']=webappMappings['1001-atoix0inv9fd5d38720a44e69755']={
webappId:    '1001',
documentId:  '4579',
internalId:  'atoix0inv9fd5d38720a44e69755',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0inv9fd5d38720a44e69755']={
webappId:    '1001',
documentId:  '14049',
internalId:  'atoix0inv9fd5d38720a44e69755',
customField: 'followUp'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '4579',
internalId:  '1006',
customField: '1006'
};
webappMappings['1007']=webappMappings['1007-105909e1dba']={
webappId:    '1007',
documentId:  '17402',
internalId:  '105909e1dba',
customField: 'g.10m89s7dq.6fngeq0brbtkd.6rn80'
};
webappMappings['1007']=webappMappings['1007-105909e1dbd']={
webappId:    '1007',
documentId:  '17602',
internalId:  '105909e1dbd',
customField: 'g.10m89s7dt.1f6nshg0kv05k.6rn80'
};
webappMappings['1007']=webappMappings['1007-105909e1dbf']={
webappId:    '1007',
documentId:  '17702',
internalId:  '105909e1dbf',
customField: 'g.10m89s7dv.1r158dfojlvmc.6rn80'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27101',
internalId:  '',
customField: '20091121-104004'
};
webappMappings['2002']=webappMappings['2002-routing']={
webappId:    '2002',
documentId:  '27001',
internalId:  'routing',
customField: 'de_DE'
};
webappMappings['1501']=webappMappings['1501-687081']={
webappId:    '1501',
documentId:  '4579',
internalId:  '687081',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4579',
internalId:  '',
customField: '20080729-160609'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24153',
internalId:  '',
customField: '20070101-120925'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14049',
internalId:  '',
customField: '20040626-072246'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17402',
internalId:  '',
customField: '20050504-163428'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17602',
internalId:  '',
customField: '20050504-163448'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19501',
internalId:  '',
customField: '20080106-104846'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17702',
internalId:  '',
customField: '20040629-093227'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13782',
internalId:  '',
customField: '20040629-094323'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13809',
internalId:  '',
customField: '20040629-095750'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13836',
internalId:  '',
customField: '20080729-160636'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13863',
internalId:  '',
customField: '20040714-183748'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13890',
internalId:  '',
customField: '20070410-091911'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13917',
internalId:  '',
customField: '20040905-141206'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17451',
internalId:  '',
customField: '20070410-092555'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18784',
internalId:  '',
customField: '20070410-092132'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '17478',
internalId:  '',
customField: '20080106-105224'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27001',
internalId:  '',
customField: '20091121-103931'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '27101',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19201',
internalId:  '',
customField: '20081003-130831'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24348',
internalId:  '',
customField: '20070410-093541'
};
webappMappings['4001']=webappMappings['4001-66159466']={
webappId:    '4001',
documentId:  '27201',
internalId:  '66159466',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27201',
internalId:  '',
customField: '20091121-170452'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0INV9FD';
var companyName   = 'Die+Kupferschmiede';
var htmlTitle	  = 'Die+Kupferschmiede';
var metaKeywords  = 'Kupferhaust%C3%BCren%2C+Kupferkunst%2C+Kupferfiguren%2C+Kupferau%C3%9Fen-leuchten%2C+Briefk%C3%A4sten+aus+Kupfer+und+Messing%2C+Kirchenkunst%2C+geschmiedete+Grabkreuze%2C+Dachrinnenfiguren%2C+Wetterfahnen%2C+Skulpturen+aus+Metall%2C+Gel%C3%A4nder+und+Z%C3%A4une+aus+Stahl%2C+Messing+oder+Edelstahl+und+noch+vieles+mehr+ensteht+in+unserer+Kleinen+Schmiede.';
var metaContents  = 'Kupferhaust%C3%BCren%2C+Kupferkunst%2C+Kupferfiguren%2C+Kupferau%C3%9Fen-leuchten%2C+Briefk%C3%A4sten+aus+Kupfer+und+Messing%2C+Kirchenkunst%2C+geschmiedete+Grabkreuze%2C+Dachrinnenfiguren%2C+Wetterfahnen%2C+Skulpturen+aus+Metall%2C+Gel%C3%A4nder+und+Z%C3%A4une+aus+Stahl%2C+Messing+oder+Edelstahl+und+noch+vieles+mehr+ensteht+in+unserer+Kleinen+Schmiede.';
					                                                                    
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 */					                                                            

