/* [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('Startseite'),jdecode(''),'/44.html','true',[],''],
	['PAGE','41276',jdecode('Unser+Angebot'),jdecode(''),'/41276.html','true',[],''],
	['PAGE','42175',jdecode('Elektronenmikroskopie'),jdecode(''),'/42175/home.html','true',[ 
		['PAGE','42203',jdecode('Aufbau+%2F+Prinzip'),jdecode(''),'/42175/42203.html','true',[],''],
		['PAGE','42212',jdecode('Proben'),jdecode(''),'/42175/42212.html','true',[],'']
	],''],
	['PAGE','42184',jdecode('EDX+%2F+EDAX'),jdecode(''),'/42184.html','true',[],''],
	['PAGE','41959',jdecode('Anwendungen+%2F+Beispiele'),jdecode(''),'/41959/home.html','true',[ 
		['PAGE','42080',jdecode('Korrosion'),jdecode(''),'/41959/42080.html','true',[],''],
		['PAGE','42374',jdecode('Bel%C3%A4ge+%2F+R%C3%BCckst%C3%A4nde'),jdecode(''),'/41959/42374.html','true',[],''],
		['PAGE','41321',jdecode('Beschichtungen'),jdecode(''),'/41959/41321.html','true',[],''],
		['PAGE','42408',jdecode('Einschl%C3%BCsse'),jdecode(''),'/41959/42408.html','true',[],''],
		['PAGE','41312',jdecode('Nano-Technologie'),jdecode(''),'/41959/41312.html','true',[],''],
		['PAGE','41348',jdecode('Schadstoffe+%2F+Asbest'),jdecode(''),'/41959/41348.html','true',[],''],
		['PAGE','41330',jdecode('Forensik'),jdecode(''),'/41959/41330.html','true',[],''],
		['PAGE','41339',jdecode('Bruch-Ursachen'),jdecode(''),'/41959/41339.html','true',[],'']
	],''],
	['PAGE','41294',jdecode('Kontakt'),jdecode(''),'/41294/home.html','true',[ 
		['PAGE','41989',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/41294/41989.html','false',[],'']
	],''],
	['PAGE','41384',jdecode('Ihr+Weg+zu+uns'),jdecode(''),'/41384.html','true',[],''],
	['PAGE','41357',jdecode('Rechtshinweis'),jdecode(''),'/41357.html','true',[],''],
	['PAGE','41890',jdecode('Impressum'),jdecode(''),'/41890.html','true',[],'']];
var siteelementCount=20;
theSitetree.topTemplateName='Macao';
theSitetree.paletteFamily='607FB8';
theSitetree.keyvisualId='6421';
theSitetree.keyvisualName='kv_6421.jpg';
theSitetree.fontsetId='11168';
theSitetree.graphicsetId='11976';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='A3BAE5';
var theTemplate={
				name: 			'Macao',
				paletteFamily: 	'607FB8',
				keyvisualId: 	'6421',
				keyvisualName: 	'kv_6421.jpg',
				fontsetId: 		'11168',
				graphicsetId: 	'11976',
				contentColor: 	'000000',
				contentBGColor: 'A3BAE5',
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: '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['1001']={
webappId:    '1001',
documentId:  '41294',
internalId:  'atoix0i7q0yw10b85d22eab',
customField: ''
};
webappMappings['1001']={
webappId:    '1001',
documentId:  '41989',
internalId:  'atoix0i7q0yw10b85d22eab',
customField: 'followUp'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20070618-073813'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41312',
internalId:  '',
customField: '20070524-112335'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41276',
internalId:  '',
customField: '20070525-123551'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41321',
internalId:  '',
customField: '20070525-130919'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41330',
internalId:  '',
customField: '20070529-080445'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41339',
internalId:  '',
customField: '20070524-113319'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41348',
internalId:  '',
customField: '20070524-152418'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41959',
internalId:  '',
customField: '20070524-112157'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41294',
internalId:  '',
customField: '20070524-150140'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41989',
internalId:  '',
customField: '20060530-170332'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41384',
internalId:  '',
customField: '20070618-073333'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41357',
internalId:  '',
customField: '20060530-162418'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '41890',
internalId:  '',
customField: '20060530-165149'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '42080',
internalId:  '',
customField: '20070524-114155'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '42175',
internalId:  '',
customField: '20070524-111239'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '42203',
internalId:  '',
customField: '20070524-111151'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '42212',
internalId:  '',
customField: '20070524-152643'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '42184',
internalId:  '',
customField: '20070524-111914'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '42374',
internalId:  '',
customField: '20070525-124040'
};
webappMappings['5000']={
webappId:    '5000',
documentId:  '42408',
internalId:  '',
customField: '20070525-125707'
};
var canonHostname = 'cfawrk05.aul.t-online.de';
var accountId     = 'ATOIX0I7Q0YW';
var companyName   = 'IFEM+Institut+f%C3%BCr+Raster-Elektronenmikroskopie++Dr.+H%C3%BCnert';
var htmlTitle	  = 'Institut+f%C3%BCr+Raster+-+Elektronenmikroskopie+IFEM';
var metaKeywords  = 'IFEM%2C+H%C3%BCnert%2C+Huenert%2C+B%C3%B6hlken%2C+Klingele%2C+Elektronenmikroskopie%2C+Analytik%2C+Analyse%2C+Untersuchung%2C+Schadstoff%2C+R%C3%BCckstand%2C+Verunreinigung%2C+Asbest%2C+Elektronenmikroskop%2C+REM%2C+EDX%2C+EDAX%2C+Korrosion%2C+Bruch%2C+Hamburg';
var metaContents  = 'Analytische+Elektronenmikroskopie+f%C3%BCr+alle+Industriezweige.';
					                                                                    
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 */					                                                            
