/* [nodename, id, name, navigationtext, href, isnavigation, childs[], templatename] */

function jdecode(s) {
    s = s.replace(/\+/g, "%20")
    return unescape(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','13684',jdecode('Home'),jdecode(''),'/13684.html','true',[],''],
	['PAGE','13690',jdecode('Stellenangebote'),jdecode(''),'/13690.html','true',[],''],
	['PAGE','13695',jdecode('Stellengesuche'),jdecode(''),'/13695.html','true',[],''],
	['PAGE','13700',jdecode('Praxisangebote'),jdecode(''),'/13700.html','true',[],''],
	['PAGE','13705',jdecode('Praxisgesuche'),jdecode(''),'/13705.html','true',[],''],
	['PAGE','14501',jdecode('Praxisangebot+aufgeben'),jdecode(''),'/14501.html','true',[],''],
	['PAGE','14522',jdecode('Praxisgesuch+aufgeben'),jdecode(''),'/14522.html','true',[],''],
	['PAGE','15001',jdecode('Stellenangebot+aufgeben'),jdecode(''),'/15001.html','true',[],''],
	['PAGE','15022',jdecode('Stellengesuch+aufgeben'),jdecode(''),'/15022.html','true',[],''],
	['PAGE','15043',jdecode('Vermittlungsauftrag+aufgeben'),jdecode(''),'/15043.html','true',[],''],
	['PAGE','15901',jdecode('Absicherung'),jdecode(''),'/15901.html','true',[],''],
	['PAGE','15922',jdecode('Existenzgr%C3%BCndung'),jdecode(''),'/15922.html','true',[],''],
	['PAGE','15943',jdecode('Stellenb%C3%B6rsen+Ausland'),jdecode(''),'/15943.html','true',[],''],
	['PAGE','16701',jdecode('Service'),jdecode(''),'/16701.html','true',[],''],
	['PAGE','15964',jdecode('Forum'),jdecode(''),'/15964.html','true',[],''],
	['PAGE','15985',jdecode('Chat'),jdecode(''),'/15985.html','true',[],''],
	['PAGE','17101',jdecode('Politik'),jdecode(''),'/17101.html','true',[],'']];
var siteelementCount=17;
theSitetree.topTemplateName='Business';
theSitetree.paletteFamily='055961';
theSitetree.keyvisualId='2488';
theSitetree.keyvisualName='stethoskop.jpg';
theSitetree.fontsetId='418';
theSitetree.graphicsetId='464';
theSitetree.contentColor='0A4704';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				name: 			'Business',
				paletteFamily: 	'055961',
				keyvisualId: 	'2488',
				keyvisualName: 	'stethoskop.jpg',
				fontsetId: 		'418',
				graphicsetId: 	'464',
				contentColor: 	'0A4704',
				contentBGColor: 'FFFFFF',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				a_color: 		'055961',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1008']={
webappId:    '1008',
documentId:  '14501',
internalId:  '28777017',
customField: 'de:DE:'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '14522',
internalId:  '28778161',
customField: 'de:DE:'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '15001',
internalId:  '28778253',
customField: 'de:DE:'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '15022',
internalId:  '28778293',
customField: 'de:DE:'
};
webappMappings['1008']={
webappId:    '1008',
documentId:  '15043',
internalId:  '28778161',
customField: 'de:DE:'
};
webappMappings['1003']={
webappId:    '1003',
documentId:  '15964',
internalId:  'atoix0inez9610d832ec6a8',
customField: 'de:DE:'
};
webappMappings['1011']={
webappId:    '1011',
documentId:  '17101',
internalId:  'ddp-politik',
customField: 'language:de;country:DE;'
};
var canonHostname = 'cfawrk06.aul.t-online.de';
var accountId     = 'ATOIX0INEZ96';
var companyName   = 'Job-Medizin.de';
					                                                                    
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;                                                                     
	};                                                                               
/* EOF */					                                                            
