/* [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('Die+Firma+L%C3%BCck'),jdecode(''),'/4579/home.html','true',[ 
		['PAGE','34671',jdecode('Home+%28Folgeseite%29'),jdecode(''),'/4579/34671.html','true',[],'']
	],''],
	['PAGE','9728',jdecode('Schwei%C3%9Farbeiten'),jdecode(''),'/9728/home.html','true',[ 
		['PAGE','40623',jdecode('Alu%2C+Magnesium%2C+Bronze'),jdecode(''),'/9728/40623.html','true',[],'']
	],''],
	['PAGE','40360',jdecode('Reparatur'),jdecode(''),'/40360/home.html','true',[ 
		['PAGE','40632',jdecode('Motoren%2C+Maschinen%2C+Aggregate'),jdecode(''),'/40360/40632.html','true',[],'']
	],''],
	['PAGE','40641',jdecode('Zweiradersatzteile'),jdecode(''),'/40641.html','true',[],''],
	['PAGE','39041',jdecode('G%C3%A4stebuch'),jdecode(''),'/39041/home.html','true',[ 
		['PAGE','39040',jdecode('Eintr%C3%A4ge'),jdecode(''),'/39041/39040.html','true',[],'']
	],''],
	['PAGE','37926',jdecode('Bilder'),jdecode(''),'/37926.html','true',[],''],
	['PAGE','42601',jdecode('Schwei%C3%9Fen+von+Magnesium+'),jdecode(''),'/42601.html','true',[],''],
	['PAGE','43001',jdecode('Honda+Gold-Wing+Kopfdichtung'),jdecode(''),'/43001.html','true',[],'']];
var siteelementCount=12;
theSitetree.topTemplateName='TOI_Automobil_01';
theSitetree.paletteFamily='D22F2F';
theSitetree.keyvisualId='12225';
theSitetree.keyvisualName='kv_12225.jpg';
theSitetree.fontsetId='33385';
theSitetree.graphicsetId='14218';
theSitetree.contentColor='AEAEAE';
theSitetree.contentBGColor='2C2C2C';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Automobil_01',
				paletteFamily: 	'D22F2F',
				keyvisualId: 	'12225',
				keyvisualName: 	'kv_12225.jpg',
				fontsetId: 		'33385',
				graphicsetId: 	'14218',
				contentColor: 	'AEAEAE',
				contentBGColor: '2C2C2C',
				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',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '4579',
internalId:  '1006',
customField: '1006'
};
webappMappings['1002']=webappMappings['1002-39041atoix0invv56']={
webappId:    '1002',
documentId:  '39041',
internalId:  '39041atoix0invv56',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-39041atoix0invv56']={
webappId:    '1002',
documentId:  '39040',
internalId:  '39041atoix0invv56',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4579',
internalId:  '',
customField: '20091207-213253'
};
webappMappings['1001']=webappMappings['1001-atoix0invv5610681b11098']={
webappId:    '1001',
documentId:  '4579',
internalId:  'atoix0invv5610681b11098',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0invv5610681b11098']={
webappId:    '1001',
documentId:  '34671',
internalId:  'atoix0invv5610681b11098',
customField: 'followUp'
};
webappMappings['1007']=webappMappings['1007-10f45676fb8']={
webappId:    '1007',
documentId:  '37926',
internalId:  '10f45676fb8',
customField: 'g.11t2m70oa.oo0lag2te3.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9728',
internalId:  '',
customField: '20091207-214545'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40623',
internalId:  '',
customField: '20091207-214945'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40632',
internalId:  '',
customField: '20091207-220314'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '37926',
internalId:  '',
customField: '20091207-223457'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39041',
internalId:  '',
customField: '20091207-220954'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '34671',
internalId:  '',
customField: '20091207-213518'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39040',
internalId:  '',
customField: '20091207-221257'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40360',
internalId:  '',
customField: '20091207-222921'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40641',
internalId:  '',
customField: '20091207-220534'
};
webappMappings['1007']=webappMappings['1007-12565d3b932']={
webappId:    '1007',
documentId:  '42601',
internalId:  '12565d3b932',
customField: 'g.14lisvlad.2pis81mo81.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42601',
internalId:  '',
customField: '20091207-221515'
};
webappMappings['1007']=webappMappings['1007-12565e7af01']={
webappId:    '1007',
documentId:  '43001',
internalId:  '12565e7af01',
customField: 'g.14liuar6d.iluk366v3n.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43001',
internalId:  '',
customField: '20091207-221753'
};
var canonHostname = 'cfawrk04.aul.t-online.de';
var accountId     = 'ATOIX0INVV56';
var companyName   = 'Alu+Magnesium+schwei%C3%9Fen%2C+Motorenreparatur%2C+Fr%C3%A4%C3%9Fen+';
var htmlTitle	  = 'Aluminium+schweissen%2CMagnesium+schweissen%2CMotoren+%C3%BCberholen%2CDrehen%2CFr%C3%A4%C3%9Fen%2C+BMW%2C+Honda%2C+Kawasaki%2C+Yamaha%2C+Suzuki%2C+Roller%2C+Harley%2C';
var metaKeywords  = 'Schwei%C3%9Fen%2C+Magnesium%2CAluminium%2CV2A%2CV4A%2CDrehen%2CFr%C3%A4%C3%9Fen+Motoren+%C3%9Cberholen%2CErsatzteile+f%C3%BCr+Motorr%C3%A4der%2CMotorr%C3%A4der%2CRoller%2CBaumaschinen%2CMotors%C3%A4gen';
var metaContents  = 'Aluminium+schwei%C3%9Fen%2CV2A+schwei%C3%9Fen%2CMagnesium+schwei%C3%9Fen%2CStahl+schwei%C3%9Fen%2C+Wig%2CMag%2CElektrode%2Ckonventionell+Drehen+und+Fr%C3%A4%C3%9Fen%2CDieselmotoren+%C3%BCberholen%2CReparatur+jeglicher+Motoren%2CMotorr%C3%A4der%2CRoller%2CReifen+';
					                                                                    
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 */					                                                            
