/* [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('Startseite'),jdecode(''),'/44.html','true',[],''],
	['PAGE','41364',jdecode('Produkte'),jdecode(''),'/41364/home.html','true',[ 
		['PAGE','41400',jdecode('Datenfunksysteme'),jdecode(''),'/41364/41400.html','true',[],''],
		['PAGE','42445',jdecode('Barcode'),jdecode(''),'/41364/42445.html','true',[],''],
		['PAGE','41409',jdecode('RFID'),jdecode(''),'/41364/41409.html','true',[],'']
	],''],
	['PAGE','41382',jdecode('L%C3%B6sungen'),jdecode(''),'/41382.html','true',[],''],
	['PAGE','41391',jdecode('Kunden'),jdecode(''),'/41391.html','true',[],''],
	['PAGE','41373',jdecode('Aktuelles'),jdecode(''),'/41373.html','true',[],''],
	['PAGE','41291',jdecode('Kontakt'),jdecode(''),'/41291.html','true',[],''],
	['PAGE','41300',jdecode('Impressum'),jdecode(''),'/41300.html','true',[],'']];
var siteelementCount=10;
theSitetree.topTemplateName='Profile';
theSitetree.paletteFamily='003399';
theSitetree.keyvisualId='1235';
theSitetree.keyvisualName='handschlag.jpg';
theSitetree.fontsetId='190';
theSitetree.graphicsetId='228';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Profile',
				paletteFamily: 	'003399',
				keyvisualId: 	'1235',
				keyvisualName: 	'handschlag.jpg',
				fontsetId: 		'190',
				graphicsetId: 	'228',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'003399',
				b_color: 		'000066',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				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['1008']=webappMappings['1008-23343302']={
webappId:    '1008',
documentId:  '41291',
internalId:  '23343302',
customField: 'de:DE:'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20100208-165902'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41391',
internalId:  '',
customField: '20071210-090856'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41373',
internalId:  '',
customField: '20100113-214120'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41291',
internalId:  '',
customField: '20061006-120114'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41300',
internalId:  '',
customField: '20071210-091653'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41364',
internalId:  '',
customField: '20061006-142739'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41400',
internalId:  '',
customField: '20061006-125312'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42445',
internalId:  '',
customField: '20061006-114901'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41409',
internalId:  '',
customField: '20061006-132555'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41382',
internalId:  '',
customField: '20060928-123516'
};
var canonHostname = 'cfawrk06.aul.t-online.de';
var accountId     = 'ATOIX0I7DR94';
var companyName   = 'Kompetenz+in+Datenfunk+Barcode+RFID';
var htmlTitle	  = 'rb-technologies+Kompetenz+in+Datenfunk%2C+Barcode+und+RFID';
var metaKeywords  = 'rf-technologies%2C+Datenfunk%2C+Datenfunksysteme%2C+Breitband%2C+Norm+802.11%2C+mobile+Datenfunkteilnehmer%2C+Staplerterminal%2C+Datenfunkterminal%2C+Schmalbandfunk%2C+Barcodelaser%2C+Barcodeleser%2C+Barcodescanner%2C+Barcodereader%2C+Funkscanner%2C+Datenfunkscanner%2C+RFID%2C+Track+%2B+Race%2C+locator+system%2C+Online+Datenfunk%2C+Weitband+Datenfunk%2C+Breitband+Funksysteme';
var metaContents  = 'Willkommen+bei+Ihrem+Systemspezialisten+f%C3%BCr+Datenfunk%2C+Barcode+und+RFID+';
					                                                                    
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 */					                                                            
