/* [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('Startseite'),jdecode(''),'/4579.html','true',[],''],
	['PAGE','46601',jdecode('MTA-Kongress+'),jdecode(''),'/46601/home.html','true',[ 
		['PAGE','16701',jdecode('Immunhistologie+2010'),jdecode(''),'/46601/16701.html','true',[],''],
		['PAGE','31591',jdecode('Vortr%C3%A4ge+Freitag'),jdecode(''),'/46601/31591.html','true',[],''],
		['PAGE','36701',jdecode('Vortr%C3%A4ge+Samstag'),jdecode(''),'/46601/36701.html','true',[],''],
		['PAGE','33001',jdecode('Presse'),jdecode(''),'/46601/33001.html','true',[],'']
	],''],
	['PAGE','43101',jdecode('Mammapathologie+Update+'),jdecode(''),'/43101/home.html','true',[ 
		['PAGE','43122',jdecode('Programm+2011'),jdecode(''),'/43101/43122.html','true',[],''],
		['PAGE','43143',jdecode('Anmeldeformular'),jdecode(''),'/43101/43143.html','true',[],'']
	],''],
	['PAGE','31531',jdecode('Kontakt'),jdecode(''),'/31531.html','true',[],'']];
var siteelementCount=10;
theSitetree.topTemplateName='TOI_Business_2';
theSitetree.paletteFamily='DCDCDD';
theSitetree.keyvisualId='10767';
theSitetree.keyvisualName='kv_10767.jpg';
theSitetree.fontsetId='31826';
theSitetree.graphicsetId='13617';
theSitetree.contentColor='FDFDFC';
theSitetree.contentBGColor='f39154';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Business_2',
				paletteFamily: 	'DCDCDD',
				keyvisualId: 	'10767',
				keyvisualName: 	'kv_10767.jpg',
				fontsetId: 		'31826',
				graphicsetId: 	'13617',
				contentColor: 	'FDFDFC',
				contentBGColor: 'f39154',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['1008']=webappMappings['1008-33797748']={
webappId:    '1008',
documentId:  '31531',
internalId:  '33797748',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '4579',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '31531',
internalId:  '',
customField: '20101126-132356'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4579',
internalId:  '',
customField: '20110513-100634'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46601',
internalId:  '',
customField: '20110928-105652'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16701',
internalId:  '',
customField: '20101126-152829'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '31591',
internalId:  '',
customField: '20101126-153647'
};
webappMappings['1501']=webappMappings['1501-2244736']={
webappId:    '1501',
documentId:  '4579',
internalId:  '2244736',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '36701',
internalId:  '',
customField: '20101126-153738'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43101',
internalId:  '',
customField: '20101126-131303'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33001',
internalId:  '',
customField: '20101126-154315'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43122',
internalId:  '',
customField: '20101207-142710'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43143',
internalId:  '',
customField: '20101126-132241'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0INZO4O';
var companyName   = 'Kongresse+und+Events';
var htmlTitle	  = 'Bettina+Br%C3%B6mmelkamp';
var metaKeywords  = 'MTA-Kongress%2C+Immunhistologie%2C+Pathologie%2C+Fortbildungsveranstaltung+Histologie%2C+Mammapathologie-Update%2C+Seminar%2C+Medizinisch-Technischer-Kongress%2C+Universit%C3%A4t%2CFabi%2C+Familienbildungsst%C3%A4tte%2C+Medizinisch+Technischer%2C+';
var metaContents  = 'Ern%C3%A4hrungsberaterin%2C+Kongress-+und+Veranstaltungsorganisation%2C+Fortbildungsveranstaltungen+Pathologen+und+MTA%C2%B4s';
					                                                                    
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 */					                                                            

