/* [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/home.html','true',[ 
		['PAGE','24320',jdecode('Infos+und+Mitteilungen++%28Folgeseite%29'),jdecode(''),'/4579/24320.html','false',[],'']
	],''],
	['PAGE','42614',jdecode('News'),jdecode(''),'/42614.html','true',[],''],
	['PAGE','42714',jdecode('Das+sind+wir+...'),jdecode(''),'/42714/home.html','true',[ 
		['PAGE','45714',jdecode('...im+Warnstreik+'),jdecode(''),'/42714/45714.html','true',[],'']
	],''],
	['PAGE','39714',jdecode('Kontakt'),jdecode(''),'/39714.html','true',[],''],
	['PAGE','42635',jdecode('Links'),jdecode(''),'/42635.html','true',[],''],
	['PAGE','43519',jdecode('G%C3%A4stebuch'),jdecode(''),'/43519/home.html','true',[ 
		['PAGE','43514',jdecode('Eintr%C3%A4ge'),jdecode(''),'/43519/43514.html','true',[],'']
	],''],
	['PAGE','47114',jdecode('Klartext%2FArchiv'),jdecode(''),'/47114.html','true',[],'']];
var siteelementCount=10;
theSitetree.topTemplateName='Eatdrink';
theSitetree.paletteFamily='C63C41';
theSitetree.keyvisualId='3358';
theSitetree.keyvisualName='kv_3358.jpg';
theSitetree.fontsetId='10621';
theSitetree.graphicsetId='10736';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Eatdrink',
				paletteFamily: 	'C63C41',
				keyvisualId: 	'3358',
				keyvisualName: 	'kv_3358.jpg',
				fontsetId: 		'10621',
				graphicsetId: 	'10736',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'4E1416',
				e_color: 		'4E1416',
				f_color: 		'4E1416',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1001']=webappMappings['1001-atoix0in28xr10461e2c02a']={
webappId:    '1001',
documentId:  '24320',
internalId:  'atoix0in28xr10461e2c02a',
customField: 'followUp'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '4579',
internalId:  '1006',
customField: '1006'
};
webappMappings['1008']=webappMappings['1008-30529532']={
webappId:    '1008',
documentId:  '39714',
internalId:  '30529532',
customField: 'de:DE:'
};
webappMappings['1002']=webappMappings['1002-43519atoix0in28xr']={
webappId:    '1002',
documentId:  '43519',
internalId:  '43519atoix0in28xr',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-43519atoix0in28xr']={
webappId:    '1002',
documentId:  '43514',
internalId:  '43519atoix0in28xr',
customField: 'action=list'
};
webappMappings['1007']=webappMappings['1007-10ef0c84dc3']={
webappId:    '1007',
documentId:  '45714',
internalId:  '10ef0c84dc3',
customField: 'g.11roc2k86.d13v8csm1g.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4579',
internalId:  '',
customField: '20110505-141638'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24320',
internalId:  '',
customField: '20050609-181547'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42614',
internalId:  '',
customField: '20110317-093554'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42714',
internalId:  '',
customField: '20100920-131903'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45714',
internalId:  '',
customField: '20061116-134430'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39714',
internalId:  '',
customField: '20061115-150732'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42635',
internalId:  '',
customField: '20100928-152505'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43519',
internalId:  '',
customField: '20061116-004910'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43514',
internalId:  '',
customField: '20061116-004910'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47114',
internalId:  '',
customField: '20061118-151127'
};
webappMappings['7091']=webappMappings['7091-37165']={
webappId:    '7091',
documentId:  '42614',
internalId:  '37165',
customField: 'align:left;language:de;country:DE;'
};
webappMappings['7091']=webappMappings['7091-47096']={
webappId:    '7091',
documentId:  '4579',
internalId:  '47096',
customField: 'align:left;language:de;country:DE;'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0IN28XR';
var companyName   = 'ver.di+im+Klinikum+Neunkirchen';
var htmlTitle	  = 'verdi+im+Klinikum+Neunkirchen';
var metaKeywords  = 'Gewerkschaft%2C+lebendig%2C+k%C3%A4mpferisch%2C+antifaschistisch%2C+Saarland%2C+Neunkirchen%2C+Gesundheit%2C+Krankenpflege%2C+verdi%2C+ver.di%2C+Streik%2C+Krankenhaus%2C+Klinikum%2C';
var metaContents  = 'Die+Seite+f%C3%BCr+alle+ver.di+Mitglieder+im+St%C3%A4dtischen+Klinikum+Neunkirchen';
					                                                                    
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 */					                                                            

