/* [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','40199',jdecode('Home'),jdecode(''),'/40199.html','true',[],''],
	['PAGE','40208',jdecode('Startseite'),jdecode(''),'/40208/home.html','true',[ 
		['PAGE','40300',jdecode('Formular+Kurse'),jdecode(''),'/40208/40300.html','true',[],''],
		['PAGE','40311',jdecode('G%C3%A4stebuch'),jdecode(''),'/40208/40311.html','true',[],''],
		['PAGE','40310',jdecode('Eintr%C3%A4ge'),jdecode(''),'/40208/40310.html','true',[],''],
		['PAGE','40360',jdecode('Voting'),jdecode(''),'/40208/40360.html','true',[],''],
		['PAGE','40374',jdecode('Voting+2'),jdecode(''),'/40208/40374.html','true',[],''],
		['PAGE','40411',jdecode('Babybilder'),jdecode(''),'/40208/40411.html','true',[],'']
	],''],
	['PAGE','40217',jdecode('Links+und+News'),jdecode(''),'/40217/home.html','true',[ 
		['PAGE','40450',jdecode('News+zum+Thema+Familie'),jdecode(''),'/40217/40450.html','true',[],''],
		['PAGE','40623',jdecode('Blog'),jdecode(''),'/40217/40623.html','true',[],'']
	],''],
	['PAGE','40226',jdecode('Wer+bin+ich'),jdecode(''),'/40226.html','true',[],''],
	['PAGE','40235',jdecode('Kontakt'),jdecode(''),'/40235/home.html','true',[ 
		['PAGE','40282',jdecode('Anfahrt'),jdecode(''),'/40235/40282.html','true',[],'']
	],''],
	['PAGE','40244',jdecode('Impressum'),jdecode(''),'/40244.html','true',[],'']];
var siteelementCount=15;
theSitetree.topTemplateName='TOI_Welle_1';
theSitetree.paletteFamily='D3B898';
theSitetree.keyvisualId='10660';
theSitetree.keyvisualName='kv_10660.jpg';
theSitetree.fontsetId='31779';
theSitetree.graphicsetId='13551';
theSitetree.contentColor='5C94C8';
theSitetree.contentBGColor='D3B898';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Welle_1',
				paletteFamily: 	'D3B898',
				keyvisualId: 	'10660',
				keyvisualName: 	'kv_10660.jpg',
				fontsetId: 		'31779',
				graphicsetId: 	'13551',
				contentColor: 	'5C94C8',
				contentBGColor: 'D3B898',
				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:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '40199',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40199',
internalId:  '',
customField: '20070621-214327'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40208',
internalId:  '',
customField: '20070811-233648'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40226',
internalId:  '',
customField: '20070530-215008'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40244',
internalId:  '',
customField: '20070811-233137'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40235',
internalId:  '',
customField: '20070529-223221'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40217',
internalId:  '',
customField: '20070705-220638'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '40282',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40282',
internalId:  '',
customField: '20070530-220839'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40300',
internalId:  '',
customField: '20070621-213056'
};
webappMappings['1002']=webappMappings['1002-40311atoix0i7et6w']={
webappId:    '1002',
documentId:  '40311',
internalId:  '40311atoix0i7et6w',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-40311atoix0i7et6w']={
webappId:    '1002',
documentId:  '40310',
internalId:  '40311atoix0i7et6w',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40311',
internalId:  '',
customField: '20070531-205211'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40310',
internalId:  '',
customField: '20070621-213630'
};
webappMappings['1008']=webappMappings['1008-34643207']={
webappId:    '1008',
documentId:  '40300',
internalId:  '34643207',
customField: 'de:DE:'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40360',
internalId:  '',
customField: '20070602-223400'
};
webappMappings['1005']=webappMappings['1005-112ee5684ae.04b38022']={
webappId:    '1005',
documentId:  '40360',
internalId:  '112ee5684ae.04b38022',
customField: 'de:DE:'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40374',
internalId:  '',
customField: '20070621-213251'
};
webappMappings['1005']=webappMappings['1005-112ee3d54c8.fd460c8a']={
webappId:    '1005',
documentId:  '40374',
internalId:  '112ee3d54c8.fd460c8a',
customField: 'de:DE:'
};
webappMappings['1007']=webappMappings['1007-112f839a099']={
webappId:    '1007',
documentId:  '40411',
internalId:  '112f839a099',
customField: 'g.12bs2ubd2.1sc74p81pms.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40411',
internalId:  '',
customField: '20070604-214708'
};
webappMappings['1011']=webappMappings['1011-ddp-familie']={
webappId:    '1011',
documentId:  '40450',
internalId:  'ddp-familie',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40450',
internalId:  '',
customField: '20070612-215134'
};
webappMappings['7050']=webappMappings['7050-502']={
webappId:    '7050',
documentId:  '40623',
internalId:  '502',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40623',
internalId:  '',
customField: '20070904-213730'
};
var canonHostname = 'cfawrk11.aul.t-online.de';
var accountId     = 'ATOIX0I7ET6W';
var companyName   = 'Hebammenpraxis-Steinfeld+%2F+Ol+++++++++++++Susanne+Schulz+';
var htmlTitle	  = 'Hebamme';
var metaKeywords  = 'Gesundheit%2CSchwangerschaft%2CGeburt+%2CBaby%2CWohlbefinden%2CZufriedenheit%2CHebamme%2CGeburtsort%2CHausgeburt%2CStillen%2CS%C3%A4uglingspflege%2CBabynahrung';
var metaContents  = 'Susanne+Schulz-+Hier+finden+Sie+wertvolle+Hinweise+zur+Arbeit+einer+Hebamme+%2Ck%C3%B6nnenKontakte+kn%C3%BCpfen+%2Cauch+ein+Fragekatalog+zu+Spezifischen+Themengebieten+wird+Ihr+Interesse+wecken.';
					                                                                    
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 */					                                                            

