/* [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('Home'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','40564',jdecode('Wachsausschmelzverfahren'),jdecode(''),'/40564/home.html','true',[ 
		['PAGE','40555',jdecode('Kunst'),jdecode(''),'/40564/40555.html','true',[],''],
		['PAGE','40573',jdecode('Abformung'),jdecode(''),'/40564/40573.html','true',[],''],
		['PAGE','40582',jdecode('Wachsmodell'),jdecode(''),'/40564/40582.html','true',[],''],
		['PAGE','40609',jdecode('Bronzeguss'),jdecode(''),'/40564/40609.html','true',[],'']
	],''],
	['PAGE','40591',jdecode('Referenzen+-+Beispiele'),jdecode(''),'/40591.html','true',[],''],
	['PAGE','40618',jdecode('Kostenvoranschlag'),jdecode(''),'/40618.html','true',[],''],
	['PAGE','41639',jdecode('Anfahrt'),jdecode(''),'/41639.html','true',[],''],
	['PAGE','40627',jdecode('Kontakt+%2F+Impressum'),jdecode(''),'/40627.html','true',[],'']];
var siteelementCount=10;
theSitetree.topTemplateName='Lifecycle';
theSitetree.paletteFamily='D85651';
theSitetree.keyvisualId='4460';
theSitetree.keyvisualName='kv_4460.jpg';
theSitetree.fontsetId='10815';
theSitetree.graphicsetId='11264';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='7F7F7F';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Lifecycle',
				paletteFamily: 	'D85651',
				keyvisualId: 	'4460',
				keyvisualName: 	'kv_4460.jpg',
				fontsetId: 		'10815',
				graphicsetId: 	'11264',
				contentColor: 	'FFFFFF',
				contentBGColor: '7F7F7F',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				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: '20120210-181743'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40555',
internalId:  '',
customField: '20081201-130802'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40564',
internalId:  '',
customField: '20100220-090401'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40618',
internalId:  '',
customField: '20100419-183517'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40573',
internalId:  '',
customField: '20100220-084423'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40582',
internalId:  '',
customField: '20100220-084343'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40609',
internalId:  '',
customField: '20100220-085105'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40591',
internalId:  '',
customField: '20120210-174040'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40627',
internalId:  '',
customField: '20111011-144636'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '41639',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['1008']=webappMappings['1008-46638557']={
webappId:    '1008',
documentId:  '40618',
internalId:  '46638557',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41639',
internalId:  '',
customField: '20090716-143802'
};
webappMappings['1008']=webappMappings['1008-38206770']={
webappId:    '1008',
documentId:  '40627',
internalId:  '38206770',
customField: 'de:DE::;language:de;country:DE;'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0I7L75M';
var companyName   = 'Skulptur+-+Wachsausschmelzverfahren';
var htmlTitle	  = 'Skulptur+mit+Wachsauschmelzverfahren+zum+Bronzeguss';
var metaKeywords  = 'Marten%2C+Mandos-Feldmann%2C+Wachsauschmelzverfahren%2C+Skulptur%2C+Bronzeskulptur%2C+Bronzeguss%2C+Kunstguss%2C+Kunst%2C+Feinguss%2C+Metropolregion%2C+Oldenburg%2C+Bremen%2C+Westerstede%2C+Gie%C3%9Ferei%2C+Kunstguss%2C+Modell%2C+Bronze%2C+Galerie%2C+Wachsausschmelzofen%2C+Metallfeinguss%2C+Metallgestalter%2C+K%C3%BCnstler-Skulptur%2C+Metallkunstguss%2C+Bronzeplastik%2C+Aluminium%2C+Edelstahl%2C+Wachs+ausschmelzen%2C+Bildhauer%2C+Bildhauerplastik%2C+Atelier%2C+Verfahren%2C+Bronzeguss%2C+Designer%2C+Metallguss%2C+K%C3%BCnstler%2C+Beratung%2C+Gie%C3%9Fer%2C+++Herstellung+im+Wachsauschmelzverfahren%2C+Feinkunstgie%C3%9Ferei%2C+Kunstgie%C3%9Ferei';
var metaContents  = 'Ihr+Kunstwerk+als+Bronzeskulptur+im+Wachsauschmelzverfahren+hergestellt+ist+unverg%C3%A4nglich.+K%C3%BCnstler+und+Spezialisten+f%C3%BChren+mit+gro%C3%9Fer+Erfahrung+das+Wachsausschmelzverfahren+durch%2C++arbeiten+mit+der+Kunstguss-Gie%C3%9Ferei+zusammen%2C+um+ihre+Kunst+detailgetreu+im+Feinguss+als+Bronzeskulptur+herzustellen.';
					                                                                    
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 */					                                                            

