/* [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.html','true',[],''],
	['PAGE','14098',jdecode('Kontakt%2F+Terminvergabe'),jdecode(''),'/14098.html','true',[],''],
	['PAGE','14071',jdecode('Kosten'),jdecode(''),'/14071.html','true',[],''],
	['PAGE','14044',jdecode('Einzelberatung+%2F+-therapie'),jdecode(''),'/14044/home.html','true',[ 
		['PAGE','25575',jdecode('Traurigkeit+-+Depression'),jdecode(''),'/14044/25575.html','true',[],''],
		['PAGE','23475',jdecode('%C3%84ngste'),jdecode(''),'/14044/23475.html','true',[],''],
		['PAGE','24275',jdecode('Soziale+Unsicherheit'),jdecode(''),'/14044/24275.html','true',[],''],
		['PAGE','24775',jdecode('Reden%2C+Argumentieren'),jdecode(''),'/14044/24775.html','true',[],'']
	],''],
	['PAGE','20063',jdecode('Ehe-%2FPaarberatung%2F+-therapie'),jdecode(''),'/20063/home.html','true',[ 
		['PAGE','43001',jdecode('Konflikte+%2F+Streit'),jdecode(''),'/20063/43001.html','true',[],''],
		['PAGE','45501',jdecode('Sexualberatung+%2F+Sexualtherapie'),jdecode(''),'/20063/45501.html','true',[],''],
		['PAGE','42701',jdecode('Trennungsbew%C3%A4ltigung'),jdecode(''),'/20063/42701.html','true',[],'']
	],''],
	['PAGE','42201',jdecode('Liebeskummer'),jdecode(''),'/42201.html','true',[],''],
	['PAGE','44001',jdecode('Eifersucht'),jdecode(''),'/44001.html','true',[],''],
	['PAGE','43601',jdecode('Familienberatung'),jdecode(''),'/43601.html','true',[],''],
	['PAGE','33801',jdecode('Hypnose+%2F+Hypnosetherapie'),jdecode(''),'/33801.html','true',[],''],
	['PAGE','26633',jdecode('Pressereaktionen'),jdecode(''),'/26633.html','true',[],''],
	['PAGE','52553',jdecode('Zur+Person'),jdecode(''),'/52553.html','true',[],''],
	['PAGE','19018',jdecode('Impressum+%26+Links'),jdecode(''),'/19018.html','true',[],'']];
var siteelementCount=19;
theSitetree.topTemplateName='Stylus';
theSitetree.paletteFamily='B5D3B5';
theSitetree.keyvisualId='2054';
theSitetree.keyvisualName='blanko.jpg';
theSitetree.fontsetId='328';
theSitetree.graphicsetId='384';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Stylus',
				paletteFamily: 	'B5D3B5',
				keyvisualId: 	'2054',
				keyvisualName: 	'blanko.jpg',
				fontsetId: 		'328',
				graphicsetId: 	'384',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'B5D3B5',
				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:  '26633',
internalId:  '',
customField: '20120202-125417'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14098',
internalId:  '',
customField: '20110611-153409'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '4579',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4579',
internalId:  '',
customField: '20111227-181751'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '20063',
internalId:  '',
customField: '20100602-133222'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14044',
internalId:  '',
customField: '20110206-181325'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25575',
internalId:  '',
customField: '20110206-181425'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23475',
internalId:  '',
customField: '20110206-181500'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24275',
internalId:  '',
customField: '20110206-181531'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24775',
internalId:  '',
customField: '20110206-181600'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14071',
internalId:  '',
customField: '20110717-185146'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33801',
internalId:  '',
customField: '20110609-123731'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19018',
internalId:  '',
customField: '20080223-152329'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42201',
internalId:  '',
customField: '20110316-180832'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42701',
internalId:  '',
customField: '20090904-115949'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43001',
internalId:  '',
customField: '20090906-161755'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43601',
internalId:  '',
customField: '20090907-175059'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44001',
internalId:  '',
customField: '20110206-181251'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45501',
internalId:  '',
customField: '20090925-161224'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '52553',
internalId:  '',
customField: '20110723-181347'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0INVILJ';
var companyName   = 'Beratung%2C+Coaching%2C+Therapie';
var htmlTitle	  = 'Psychologische+Beratung+und+Therapie%2C+Eheberatung%2C+Paarberatung+Hamburg+-+Dr.+Elmar+Basse+-+Hamburg';
var metaKeywords  = 'Eheberatung+Hamburg%2C+Hamburg+Eheberatung%2C+Eheberatung%2C+Partnerschaftsberatung%2C+Partnerschaftsberatung+Hamburg%2C+Hamburg+Partnerschaftsberatung%2C+Paartherapie%2C+Paartherapie+Hamburg%2C+Hamburg+Paartherapie%2C+Paarberatung%2C+Paarberatung+Hamburg%2C+Hamburg+Paarberatung%2C+Psychotherapie%2C+Psychotherapie+Hamburg%2C+Hamburg+Psychotherapie%2C+psychologische+Beratung+Hamburg%2C+Telefonberatung%2C+Onlineberatung';
var metaContents  = 'Eheberatung%2C+Eheberatung+Hamburg%2C+Hamburg+Eheberatung%2C+Eheberatung+Hamburg%2C+Hamburg+Eheberatung%2C+Paarberatung+Hamburg%2C+Paarberatung%2C+Hamburg+Paarberatung%2C+Paarberatung';
					                                                                    
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 */					                                                            

