/* [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','44',jdecode('Home'),jdecode(''),'/44.html','true',[],''],
	['PAGE','41786',jdecode('Willkommen'),jdecode(''),'/41786/home.html','true',[ 
		['PAGE','41350',jdecode('Pharmakovigilanz'),jdecode(''),'/41786/41350.html','true',[],''],
		['PAGE','41869',jdecode('EU+konformes+System'),jdecode(''),'/41786/41869.html','true',[],''],
		['PAGE','41878',jdecode('Vol.9+Risk+Managem.+Pl%C3%A4ne'),jdecode(''),'/41786/41878.html','true',[],''],
		['PAGE','41887',jdecode('Ma%C3%9Fnahmenplan'),jdecode(''),'/41786/41887.html','true',[],''],
		['PAGE','41896',jdecode('Qualified+Person+%28QP%29'),jdecode(''),'/41786/41896.html','true',[],''],
		['PAGE','42129',jdecode('E2B+konforme+Datenbank'),jdecode(''),'/41786/42129.html','true',[],''],
		['PAGE','41905',jdecode('PSURs'),jdecode(''),'/41786/41905.html','true',[],''],
		['PAGE','41914',jdecode('SUSAR%2FICSR+Management'),jdecode(''),'/41786/41914.html','true',[],''],
		['PAGE','41923',jdecode('Dateneingabe'),jdecode(''),'/41786/41923.html','true',[],''],
		['PAGE','41932',jdecode('Audits+'),jdecode(''),'/41786/41932.html','true',[],''],
		['PAGE','41941',jdecode('Literatur+Recherche'),jdecode(''),'/41786/41941.html','true',[],''],
		['PAGE','41950',jdecode('Training'),jdecode(''),'/41786/41950.html','true',[],''],
		['PAGE','41359',jdecode('%26+more+...'),jdecode(''),'/41786/41359.html','true',[],''],
		['PAGE','40307',jdecode('Kontakt'),jdecode(''),'/41786/40307.html','true',[],''],
		['PAGE','41573',jdecode('Anfahrt'),jdecode(''),'/41786/41573.html','true',[],''],
		['PAGE','41315',jdecode('Stellenangebote'),jdecode(''),'/41786/41315.html','true',[],'']
	],''],
	['PAGE','44428',jdecode('Rechtliche+Hinweise'),jdecode(''),'/44428.html','true',[],''],
	['PAGE','40316',jdecode('Impressum'),jdecode(''),'/40316.html','true',[],''],
	['PAGE','42476',jdecode('Welcome'),jdecode(''),'/42476/home.html','true',[ 
		['PAGE','42485',jdecode('Pharmacovigilance'),jdecode(''),'/42476/42485.html','true',[],''],
		['PAGE','42494',jdecode('EU+compliant+system'),jdecode(''),'/42476/42494.html','true',[],''],
		['PAGE','42503',jdecode('Vol.9+Risk+Managem.+Plans'),jdecode(''),'/42476/42503.html','true',[],''],
		['PAGE','42512',jdecode('SOP+Development'),jdecode(''),'/42476/42512.html','true',[],''],
		['PAGE','42521',jdecode('Qualified+Person+%28QP%29'),jdecode(''),'/42476/42521.html','true',[],''],
		['PAGE','42530',jdecode('E2B+compliant+database'),jdecode(''),'/42476/42530.html','true',[],''],
		['PAGE','42539',jdecode('PSURs'),jdecode(''),'/42476/42539.html','true',[],''],
		['PAGE','42548',jdecode('SUSAR%2FICSR+Management'),jdecode(''),'/42476/42548.html','true',[],''],
		['PAGE','42557',jdecode('Data+entry'),jdecode(''),'/42476/42557.html','true',[],''],
		['PAGE','42566',jdecode('Audits'),jdecode(''),'/42476/42566.html','true',[],''],
		['PAGE','42575',jdecode('Literature+Search'),jdecode(''),'/42476/42575.html','true',[],''],
		['PAGE','42584',jdecode('Training'),jdecode(''),'/42476/42584.html','true',[],''],
		['PAGE','42593',jdecode('%26+more+...'),jdecode(''),'/42476/42593.html','true',[],''],
		['PAGE','42602',jdecode('Contact'),jdecode(''),'/42476/42602.html','true',[],''],
		['PAGE','42611',jdecode('Your+way+to+spm%C2%B2'),jdecode(''),'/42476/42611.html','true',[],''],
		['PAGE','42620',jdecode('Job+offers'),jdecode(''),'/42476/42620.html','true',[],'']
	],''],
	['PAGE','42629',jdecode('Legal+Statement'),jdecode(''),'/42629.html','true',[],''],
	['PAGE','44437',jdecode('Imprint'),jdecode(''),'/44437.html','true',[],'']];
var siteelementCount=39;
theSitetree.topTemplateName='Antigua';
theSitetree.paletteFamily='797979';
theSitetree.keyvisualId='6903';
theSitetree.keyvisualName='kv_6903.jpg';
theSitetree.fontsetId='11214';
theSitetree.graphicsetId='12040';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='979797';
var theTemplate={
				name: 			'Antigua',
				paletteFamily: 	'797979',
				keyvisualId: 	'6903',
				keyvisualName: 	'kv_6903.jpg',
				fontsetId: 		'11214',
				graphicsetId: 	'12040',
				contentColor: 	'FFFFFF',
				contentBGColor: '979797',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12'
			  };
var webappMappings = {};
webappMappings['1006']={
webappId:    '1006',
documentId:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['2001']={
webappId:    '2001',
documentId:  '41573',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
var canonHostname = 'cfawrk09.aul.t-online.de';
var accountId     = 'ATOIX0IN38FJ';
var companyName   = '';
					                                                                    
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 */					                                                            

