/* [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','167705',jdecode('AUFTRITT'),jdecode(''),'/167705.html','true',[],''],
	['PAGE','189105',jdecode('PFLEGE'),jdecode(''),'/189105.html','true',[],''],
	['PAGE','148305',jdecode('+BOTSCHAFT'),jdecode(''),'/148305.html','true',[],''],
	['PAGE','24501',jdecode('INSIDE+'),jdecode(''),'/24501.html','true',[],''],
	['PAGE','42004',jdecode('Ihre+Fragen+an+uns.'),jdecode(''),'/42004/home.html','true',[ 
		['PAGE','42040',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/42004/42040.html','true',[],'']
	],''],
	['PAGE','198805',jdecode('Die+S%C3%A4ulen+f%C3%BCr+Ihren+Erfolg'),jdecode(''),'/198805.html','true',[],''],
	['PAGE','174205',jdecode('Ein+oder+zwei+Bierchen'),jdecode(''),'/174205.html','true',[],''],
	['PAGE','72905',jdecode('+WOHLF%C3%9CHLEN+'),jdecode(''),'/72905.html','false',[],''],
	['PAGE','167805',jdecode('ZEITSCHRIFT'),jdecode(''),'/167805.html','true',[],''],
	['PAGE','24507',jdecode('VERLAG'),jdecode(''),'/24507.html','true',[],''],
	['PAGE','24547',jdecode('IMPRESSUM'),jdecode(''),'/24547.html','true',[],'']];
var siteelementCount=12;
theSitetree.topTemplateName='Stylus';
theSitetree.paletteFamily='DB7A7A';
theSitetree.keyvisualId='1991';
theSitetree.keyvisualName='tastatur.jpg';
theSitetree.fontsetId='328';
theSitetree.graphicsetId='386';
theSitetree.contentColor='A00000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Stylus',
				paletteFamily: 	'DB7A7A',
				keyvisualId: 	'1991',
				keyvisualName: 	'tastatur.jpg',
				fontsetId: 		'328',
				graphicsetId: 	'386',
				contentColor: 	'A00000',
				contentBGColor: 'FFFFFF',
				a_color: 		'DB7A7A',
				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['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24501',
internalId:  '',
customField: '20100702-094758'
};
webappMappings['1001']=webappMappings['1001-atoix0inezw6104ae6eebfc']={
webappId:    '1001',
documentId:  '42004',
internalId:  'atoix0inezw6104ae6eebfc',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0inezw6104ae6eebfc']={
webappId:    '1001',
documentId:  '42040',
internalId:  'atoix0inezw6104ae6eebfc',
customField: 'followUp'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '167805',
internalId:  '',
customField: '20110327-095447'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '167705',
internalId:  '',
customField: '20120129-172743'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '148305',
internalId:  '',
customField: '20110828-102216'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '72905',
internalId:  '',
customField: '20110327-100736'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24507',
internalId:  '',
customField: '20110327-095942'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42004',
internalId:  '',
customField: '20120129-162235'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42040',
internalId:  '',
customField: '20050624-150002'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24547',
internalId:  '',
customField: '20120129-162133'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '198805',
internalId:  '',
customField: '20120129-162855'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '189105',
internalId:  '',
customField: '20101019-140222'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '174205',
internalId:  '',
customField: '20120129-234119'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0INEZW6';
var companyName   = 'jw+-+dienstleistung+-+werbung+-+verlag';
var htmlTitle	  = 'Dienstleistung+-+Werbung+-+Verlag';
var metaKeywords  = 'Dienstleistung.jw-verlag.de%2C+dienstleistung%40jw-verlag.de%2CAuftritt%2C+Botschaft%2C+Pflege%2C+Wohl+f%C3%BChl-Gasth%C3%A4user%2C+Josef+Michael+Wetz%2C+Dienstleistungen%2C+Vertrieb%2C+B%C3%BCcher%2C++immer+ist+etwas+diverses+inside%2C+inside+immer+diverses%2C+Erzeugermarkt%2C+Konstabler+wache%2C+Frankfurt+am+Main%2C+Bauernmarkt%2C+Bilder%2C+Fotos+von+der+Weltmeisterschaft+in+Frankfurt+fotografiert.+';
var metaContents  = 'Neue+Herausforderungen+erfordern+neue+Wege.+Jetzt+ist+der+Zeitpunkt.+jw-verlag.+auch+wir+sind+f%C3%BCr+den+Frieden+und+Obama.Wir+bringen+Ihre+Botschaft+unter+die+Leute.+Wir+pflegen+Ihren+Auftritt.++Wer+nicht+neugierig+ist+erf%C3%A4hrt+nichts.+Wer+nicht+wei%C3%9F%2C+was+er+selber+will%2C+muss+wenigstens+wissen%2C+was+die+anderen+wollen.+Josef+Michael+Wetz%2C+Dienstleistungen+-+Vertrieb.+Erzeugermarkt%2C+Erzeuger+vereine.+Und+wir+sind+da+auch+f%C3%BCr+die+Kleinmarkthalle.+Und+die+Fussball+Weltmeisterschaft+war+wieder+super.';
					                                                                    
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 */					                                                            

