/* [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','39994',jdecode('Startseite'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','40659',jdecode('%C3%96ffnungszeiten'),jdecode(''),'/40659.html','true',[],''],
	['PAGE','41038',jdecode('Service'),jdecode(''),'/41038/home.html','true',[ 
		['PAGE','41047',jdecode('Gebrauchtfahrzeuge'),jdecode(''),'/41038/41047.html','true',[],''],
		['PAGE','41056',jdecode('An-+und+Verkauf'),jdecode(''),'/41038/41056.html','true',[],''],
		['PAGE','41065',jdecode('Unfallfahrzeuge'),jdecode(''),'/41038/41065.html','true',[],''],
		['PAGE','41074',jdecode('Motoren%2C+Getriebe'),jdecode(''),'/41038/41074.html','true',[],''],
		['PAGE','41083',jdecode('Reifenservice'),jdecode(''),'/41038/41083.html','true',[],''],
		['PAGE','41092',jdecode('Fahrzeugpflegedienst'),jdecode(''),'/41038/41092.html','true',[],''],
		['PAGE','41338',jdecode('Gebrauchte+Ersatzteile'),jdecode(''),'/41038/41338.html','true',[],'']
	],''],
	['PAGE','41110',jdecode('Aktuelle+Angebote'),jdecode(''),'/41110.html','true',[],''],
	['PAGE','41119',jdecode('Partner'),jdecode(''),'/41119.html','true',[],''],
	['PAGE','40668',jdecode('Kontakt'),jdecode(''),'/40668.html','true',[],''],
	['PAGE','41128',jdecode('Wir+%C3%BCber+uns'),jdecode(''),'/41128/home.html','true',[ 
		['PAGE','41137',jdecode('So+finden+Sie+uns'),jdecode(''),'/41128/41137.html','true',[],''],
		['PAGE','41215',jdecode('Unser+Team'),jdecode(''),'/41128/41215.html','true',[],'']
	],''],
	['PAGE','41146',jdecode('Impressum'),jdecode(''),'/41146.html','true',[],''],
	['PAGE','41366',jdecode('Zertifikate'),jdecode(''),'/41366.html','true',[],''],
	['PAGE','41559',jdecode('Umfragen'),jdecode(''),'/41559.html','true',[],'']];
var siteelementCount=19;
theSitetree.topTemplateName='Dynamics';
theSitetree.paletteFamily='FBC167';
theSitetree.keyvisualId='11180';
theSitetree.keyvisualName='kv_11180.jpg';
theSitetree.fontsetId='32089';
theSitetree.graphicsetId='13891';
theSitetree.contentColor='613C00';
theSitetree.contentBGColor='FBC167';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Dynamics',
				paletteFamily: 	'FBC167',
				keyvisualId: 	'11180',
				keyvisualName: 	'kv_11180.jpg',
				fontsetId: 		'32089',
				graphicsetId: 	'13891',
				contentColor: 	'613C00',
				contentBGColor: 'FBC167',
				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:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '39994',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20110824-164701'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40659',
internalId:  '',
customField: '20110407-120700'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40668',
internalId:  '',
customField: '20110407-123232'
};
webappMappings['1501']=webappMappings['1501-65789862']={
webappId:    '1501',
documentId:  '39994',
internalId:  '65789862',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41038',
internalId:  '',
customField: '20100729-113912'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41047',
internalId:  '',
customField: '20111102-123419'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41338',
internalId:  '',
customField: '20111102-130935'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41128',
internalId:  '',
customField: '20100728-135304'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41137',
internalId:  '',
customField: '20100728-142047'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41056',
internalId:  '',
customField: '20100728-133420'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41065',
internalId:  '',
customField: '20111102-125243'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41074',
internalId:  '',
customField: '20100729-132005'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41083',
internalId:  '',
customField: '20100728-143733'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41092',
internalId:  '',
customField: '20100728-144455'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41110',
internalId:  '',
customField: '20110824-164229'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41119',
internalId:  '',
customField: '20100729-133430'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41146',
internalId:  '',
customField: '20110407-120530'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41366',
internalId:  '',
customField: '20110720-123050'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41215',
internalId:  '',
customField: '20110824-163338'
};
webappMappings['1008']=webappMappings['1008-75300331']={
webappId:    '1008',
documentId:  '40668',
internalId:  '75300331',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41559',
internalId:  '',
customField: '20110407-123259'
};
webappMappings['1005']=webappMappings['1005-12f2f81535a.e6823d83']={
webappId:    '1005',
documentId:  '41559',
internalId:  '12f2f81535a.e6823d83',
customField: 'de:DE::;language:de;country:DE;'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0IRTI0D';
var companyName   = 'Autoverwertung+Lassen';
var htmlTitle	  = 'Autoverwertung+Lassen';
var metaKeywords  = 'Lassen%2C+Autoverwertung%2C+Salzgitter%2C+%C3%96ffnungszeiten%2C+Kontakt%2C+Abschleppdienst%2C+Auto%2C+Autoreparaturen%2C+Autoservice%2C+Service%2C+Auspuff%2C+Reifen%2C+Bremsen%2C+Kfz-Service%2C+Kfz-Werkstatt%2C+Sto%C3%9Fdaempfer%2C+Oelwechsel%2C+Kfz%2C+Werkstatt%2C+Autowerkstatt%2C+HU%2C+AU%2C+Zertifikate%2C+Partner';
var metaContents  = 'Lassen%2C+Autoverwertung%2C+Salzgitter%2C+Teile%2C+KFZ%2C+Abschleppen%2C+Bergung%2C+Sicherstellung%2C+Reparatur%2C+Pannenhilfe%2C+Werkstatt%2C+gebrauchte+Ersatzteile%2C+ADAC%2C+Mietwagen%2C+Schrottplatz%2C+Abwrack%2C+Opel%2C+VW%2C+Ford%2C+Fiat%2C+Handel%2C+Gebrauchtwagen%2C+Verkauf%2C+Ankauf%2C+Auto%2C+Verschrottung%2C+Thiede%2C+Niedersachsen%2C+Deutschland';
					                                                                    
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 */					                                                            

