/* [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('Home'),jdecode(''),'/4579.html','true',[],''],
	['PAGE','14401',jdecode('Unsere+Aufgabe'),jdecode(''),'/14401.html','true',[],''],
	['PAGE','14406',jdecode('Unsere+Lagerliste'),jdecode(''),'/14406.html','true',[],''],
	['PAGE','14411',jdecode('Kontakt'),jdecode(''),'/14411/home.html','true',[ 
		['PAGE','15002',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/14411/15002.html','false',[],'']
	],''],
	['PAGE','14421',jdecode('Links'),jdecode(''),'/14421.html','true',[],''],
	['PAGE','14112',jdecode('Anfragen'),jdecode(''),'/14112/home.html','true',[ 
		['PAGE','14113',jdecode('Eintr%C3%A4ge'),jdecode(''),'/14112/14113.html','true',[],'']
	],'']];
var siteelementCount=8;
theSitetree.topTemplateName='Akropolis';
theSitetree.paletteFamily='5E5E5E';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='10553';
theSitetree.graphicsetId='10448';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='5e5e5e';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Akropolis',
				paletteFamily: 	'5E5E5E',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'10553',
				graphicsetId: 	'10448',
				contentColor: 	'FFFFFF',
				contentBGColor: '5e5e5e',
				a_color: 		'5E5E5E',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1002']=webappMappings['1002-14112atoix0inx3lq']={
webappId:    '1002',
documentId:  '14112',
internalId:  '14112atoix0inx3lq',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-14112atoix0inx3lq']={
webappId:    '1002',
documentId:  '14113',
internalId:  '14112atoix0inx3lq',
customField: 'action=list'
};
webappMappings['1001']=webappMappings['1001-atoix0inx3lqff8cd067b4']={
webappId:    '1001',
documentId:  '14411',
internalId:  'atoix0inx3lqff8cd067b4',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0inx3lqff8cd067b4']={
webappId:    '1001',
documentId:  '15002',
internalId:  'atoix0inx3lqff8cd067b4',
customField: 'followUp'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '4579',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']=webappMappings['1501-3594508']={
webappId:    '1501',
documentId:  '4579',
internalId:  '3594508',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4579',
internalId:  '',
customField: '20090715-183306'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14421',
internalId:  '',
customField: '20070109-100021'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14401',
internalId:  '',
customField: '20041021-173737'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14406',
internalId:  '',
customField: '20090715-154630'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14411',
internalId:  '',
customField: '20070626-132110'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15002',
internalId:  '',
customField: '20041012-130529'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14112',
internalId:  '',
customField: '20040920-113135'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14113',
internalId:  '',
customField: '20040920-113135'
};
var canonHostname = 'cfawrk01.aul.t-online.de';
var accountId     = 'ATOIX0INX3LQ';
var companyName   = 'Elektronik+Bauteile+Service+J.+Fu%C3%9F+56322+Spay';
var htmlTitle	  = 'Elektronik+Bauteile+Service+Spay+Edcon+Baugruppen+Best%C3%BCckung+Fertigung';
var metaKeywords  = 'Spay+Elektronikbauteile%2C+passiv%2C+EDCON+Components+%2C+aktiv%2C+Trafo%2C+Halbleiter%2C+Widerst%C3%A4nde%2C+Kondensatoren%2C+obsolete%2C+abgek%C3%BCndigte%2C+HF%2C+RF%2C+Antennen%2C+Dioden%2C+Transistor%2C+Thyristoren%2CRB59%2C+RWM%2C+2N*%2C+SN74*%2C+MIL%2C+MS%2C+UTE-CCTU%2C+BS%2C+DIN%2C+MIL-SPEC%2CSteckverbinder%2C+Connector%2C+Trafo%2C+Geh%C3%A4use%2C+1N*%2C+3N*%2C+4N*%2C+6N*%2CMC*%2C+PIC%2C+Regler%2C+Thermostat%2C+Thermistor%2C+Varistor%2C+Elko%2C+Tantal%2C+Chip%2C+Trafo%2C+Speicher%2C+Memory%2C+TLP733%2C+L7812%2C+L7805%2C+PC847%2C+Relais%2C+LED%2C+Poly-Switch%2CDC-DC+Wandler%2C+Sensor%2C+Stiftleisten%2C+Messerleisten%2C+Klemmen%2C+Schalteer%2C+Tasten%2C+Batterie%2C+Gleichrichter%2C+L%C3%BCfter';
var metaContents  = 'Spay+Einkauf+Outsourcing+Beschaffung+von+elektronischen+Bauteilen+und+-gruppen%2C+schwer+beschaffbaren+und+obsoleten+Bauteilen%2C+Best%C3%BCckung%2C+Fertigung%2C+Purchasing%2C+Handelsvertretung%2C+Edcon%2C+Components%2C+Edcon+-+components%2C+EDCON-COMPONENTS%2C+EDCON%2C+';
					                                                                    
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 */					                                                            
