/* [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','44',jdecode('IBAG+Switzerland+AG'),jdecode(''),'/44.html','true',[],''],
	['PAGE','47361',jdecode('%D0%9C%D0%BE%D1%82%D0%BE%D1%80%D1%88%D0%BF%D0%B8%D0%BD%D0%B4%D0%B5%D0%BB%D0%B8+IBAG+'),jdecode(''),'/47361/home.html','true',[ 
		['PAGE','40127',jdecode('%D0%A3%D0%BB%D1%8C%D1%82%D1%80%D0%B0%D0%BC%D0%B0%D0%BB%D1%8B%D0%B5+%D1%88%D0%BF%D0%B8%D0%BD%D0%B4%D0%B5%D0%BB%D0%B8'),jdecode(''),'/47361/40127.html','true',[],''],
		['PAGE','40037',jdecode('%D0%9C%D0%B0%D0%BB%D1%8B%D0%B5+%D1%88%D0%BF%D0%B8%D0%BD%D0%B4%D0%B5%D0%BB%D0%B8'),jdecode(''),'/47361/40037.html','true',[],''],
		['PAGE','40046',jdecode('%D0%A1%D1%80%D0%B5%D0%B4%D0%BD%D0%B8%D0%B5+%D1%88%D0%BF%D0%B8%D0%BD%D0%B4%D0%B5%D0%BB%D0%B8'),jdecode(''),'/47361/40046.html','true',[],''],
		['PAGE','40055',jdecode('%D0%91%D0%BE%D0%BB%D1%8C%D1%88%D0%B8%D0%B5+%D1%88%D0%BF%D0%B8%D0%BD%D0%B4%D0%B5%D0%BB%D0%B8'),jdecode(''),'/47361/40055.html','true',[],''],
		['PAGE','40073',jdecode('%E2%80%9EPlug+%26+Go%E2%80%9C+%D1%88%D0%BF%D0%B8%D0%BD%D0%B4%D0%B5%D0%BB%D0%B8+'),jdecode(''),'/47361/40073.html','true',[],''],
		['PAGE','40109',jdecode('%D0%9E%D0%BF%D1%86%D0%B8%D0%B8'),jdecode(''),'/47361/40109.html','true',[],'']
	],''],
	['PAGE','40064',jdecode('%D0%A0%D0%B5%D0%BC%D0%BE%D0%BD%D1%82+%D1%8D%D0%BB%D0%B5%D0%BA%D1%82%D1%80%D0%BE%D1%88%D0%BF%D0%B8%D0%BD%D0%B4%D0%B5%D0%BB%D0%B5%D0%B9'),jdecode(''),'/40064.html','true',[],''],
	['PAGE','40082',jdecode('%D0%9F%D0%BE%D0%B2%D0%BE%D1%80%D0%BE%D1%82%D0%BD%D1%8B%D0%B5+%D0%B3%D0%BE%D0%BB%D0%BE%D0%B2%D0%BA%D0%B8'),jdecode(''),'/40082.html','true',[],''],
	['PAGE','40100',jdecode('%D0%9F%D0%BE%D0%B2%D0%BE%D1%80%D0%BE%D1%82%D0%BD%D0%B0%D1%8F+%D0%B3%D0%BE%D0%BB%D0%BE%D0%B2%D0%BA%D0%B0+%D0%A1%D0%A4%D0%9F13'),jdecode(''),'/40100.html','true',[],''],
	['PAGE','68214',jdecode('%D0%A1%D0%B2%D0%B0%D1%80%D0%BA%D0%B0+FSW+NEW'),jdecode(''),'/68214/home.html','true',[ 
		['PAGE','71414',jdecode('FSW+%D0%9F%D1%80%D0%BE%D1%86%D0%B5%D1%81%D1%81'),jdecode(''),'/68214/71414.html','true',[],''],
		['PAGE','68335',jdecode('FSW+%D0%9F%D1%80%D0%B8%D0%BC%D0%B5%D0%BD%D0%B5%D0%BD%D0%B8%D0%B5'),jdecode(''),'/68214/68335.html','true',[],'']
	],''],
	['PAGE','74114',jdecode('%D0%A1%D0%BF%D0%B5%D1%86%D0%BE%D0%B1%D0%BE%D1%80%D1%83%D0%B4%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D0%B5+HAGE'),jdecode(''),'/74114/home.html','true',[ 
		['PAGE','75914',jdecode('HAGEMATICs'),jdecode(''),'/74114/75914.html','true',[],''],
		['PAGE','76914',jdecode('HAGEMATIC+FSW%2BHSC'),jdecode(''),'/74114/76914.html','true',[],'']
	],''],
	['PAGE','40136',jdecode('%D0%9F%D1%83%D0%B1%D0%BB%D0%B8%D0%BA%D0%B0%D1%86%D0%B8%D0%B8'),jdecode(''),'/40136.html','true',[],''],
	['PAGE','69814',jdecode('%D0%9A%D0%BE%D0%BD%D1%82%D0%B0%D0%BA%D1%82'),jdecode(''),'/69814.html','true',[],'']];
var siteelementCount=19;
theSitetree.topTemplateName='Global';
theSitetree.paletteFamily='333399';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='88';
theSitetree.graphicsetId='105';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Global',
				paletteFamily: 	'333399',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'88',
				graphicsetId: 	'105',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'242E8A',
				b_color: 		'FF9900',
				c_color: 		'000000',
				d_color: 		'EAEAEA',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20110928-162910'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40037',
internalId:  '',
customField: '20081019-172928'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '47361',
internalId:  '',
customField: '20110318-165151'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40046',
internalId:  '',
customField: '20110928-164904'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40055',
internalId:  '',
customField: '20081019-173357'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40064',
internalId:  '',
customField: '20091109-105539'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40073',
internalId:  '',
customField: '20091019-102528'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40082',
internalId:  '',
customField: '20110928-165801'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '74114',
internalId:  '',
customField: '20111122-112953'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40100',
internalId:  '',
customField: '20110902-100652'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40109',
internalId:  '',
customField: '20110318-140236'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '75914',
internalId:  '',
customField: '20111122-113757'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40127',
internalId:  '',
customField: '20120221-162753'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40136',
internalId:  '',
customField: '20110628-094904'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '76914',
internalId:  '',
customField: '20110414-130554'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '68214',
internalId:  '',
customField: '20110414-085133'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '68335',
internalId:  '',
customField: '20110415-112509'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '69814',
internalId:  '',
customField: '20110517-115559'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '71414',
internalId:  '',
customField: '20110318-164742'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0INF1XQ';
var companyName   = 'HSC+Consulting';
var htmlTitle	  = '';
var metaKeywords  = '';
var metaContents  = '';
					                                                                    
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 */					                                                            

