/* [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('HOME+'),jdecode(''),'/44.html','true',[],''],
	['PAGE','41581',jdecode('FORUM+GL1800'),jdecode(''),'/41581.html','true',[],''],
	['PAGE','41812',jdecode('AIRBAG'),jdecode(''),'/41812.html','true',[],''],
	['PAGE','41921',jdecode('BILDER+NEUES'),jdecode(''),'/41921.html','true',[],''],
	['PAGE','41672',jdecode('NEWS'),jdecode(''),'/41672.html','true',[],''],
	['PAGE','40274',jdecode('RECHT%2F+URTEILE'),jdecode(''),'/40274.html','true',[],''],
	['PAGE','40265',jdecode('PANNENSERIE+'),jdecode(''),'/40265.html','true',[],''],
	['PAGE','42350',jdecode('RAHMEN'),jdecode(''),'/42350.html','true',[],''],
	['PAGE','42359',jdecode('OVERHEATING'),jdecode(''),'/42359/home.html','true',[ 
		['PAGE','42590',jdecode('Ursachen+OH'),jdecode(''),'/42359/42590.html','true',[],'']
	],''],
	['PAGE','40319',jdecode('TREFFEN+2012'),jdecode(''),'/40319.html','true',[],''],
	['PAGE','41613',jdecode('PINWAND'),jdecode(''),'/41613.html','true',[],''],
	['PAGE','40502',jdecode('G%C3%84STEBUCH'),jdecode(''),'/40502/home.html','true',[ 
		['PAGE','40501',jdecode('EINTR%C3%84GE'),jdecode(''),'/40502/40501.html','true',[],'']
	],''],
	['PAGE','40536',jdecode('Reise+NAM%2BZA'),jdecode(''),'/40536.html','true',[],''],
	['PAGE','40256',jdecode('IMPRESSUM'),jdecode(''),'/40256.html','true',[],''],
	['PAGE','41681',jdecode('MAIL+Webmaster'),jdecode(''),'/41681/home.html','true',[ 
		['PAGE','41699',jdecode('KONTAKT+%28Folgeseite%29'),jdecode(''),'/41681/41699.html','false',[],'']
	],''],
	['PAGE','42052',jdecode('LINKS'),jdecode(''),'/42052.html','true',[],'']];
var siteelementCount=19;
theSitetree.topTemplateName='TOI_Freizeit_1';
theSitetree.paletteFamily='DFB0B0';
theSitetree.keyvisualId='10785';
theSitetree.keyvisualName='kv_10785.jpg';
theSitetree.fontsetId='31831';
theSitetree.graphicsetId='13623';
theSitetree.contentColor='F3F4F8';
theSitetree.contentBGColor='860000';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Freizeit_1',
				paletteFamily: 	'DFB0B0',
				keyvisualId: 	'10785',
				keyvisualName: 	'kv_10785.jpg',
				fontsetId: 		'31831',
				graphicsetId: 	'13623',
				contentColor: 	'F3F4F8',
				contentBGColor: '860000',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				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['1007']=webappMappings['1007-106adfedf29']={
webappId:    '1007',
documentId:  '40536',
internalId:  '106adfedf29',
customField: 'g.10qmvpl09.2m81sgdfma.3o'
};
webappMappings['1002']=webappMappings['1002-40502atoix0inlrqx']={
webappId:    '1002',
documentId:  '40502',
internalId:  '40502atoix0inlrqx',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-40502atoix0inlrqx']={
webappId:    '1002',
documentId:  '40501',
internalId:  '40502atoix0inlrqx',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41921',
internalId:  '',
customField: '20081221-130307'
};
webappMappings['1501']=webappMappings['1501-2462633']={
webappId:    '1501',
documentId:  '44',
internalId:  '2462633',
customField: '1501'
};
webappMappings['1001']=webappMappings['1001-atoix0inlrqx10700bb0883']={
webappId:    '1001',
documentId:  '41681',
internalId:  'atoix0inlrqx10700bb0883',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0inlrqx10700bb0883']={
webappId:    '1001',
documentId:  '41699',
internalId:  'atoix0inlrqx10700bb0883',
customField: 'followUp'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41812',
internalId:  '',
customField: '20081221-130131'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41581',
internalId:  '',
customField: '20100410-230700'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20120129-170848'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41672',
internalId:  '',
customField: '20081221-130516'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40274',
internalId:  '',
customField: '20090103-163211'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40265',
internalId:  '',
customField: '20081221-130732'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42350',
internalId:  '',
customField: '20090103-163501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42359',
internalId:  '',
customField: '20090103-164228'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42590',
internalId:  '',
customField: '20081221-131529'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40319',
internalId:  '',
customField: '20120129-165643'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41613',
internalId:  '',
customField: '20081221-131846'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40502',
internalId:  '',
customField: '20090103-164420'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40501',
internalId:  '',
customField: '20051001-221410'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40536',
internalId:  '',
customField: '20060311-154642'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40256',
internalId:  '',
customField: '20110214-150717'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41681',
internalId:  '',
customField: '20051021-095931'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41699',
internalId:  '',
customField: '20051018-003736'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42052',
internalId:  '',
customField: '20110822-235303'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0INLRQX';
var companyName   = 'TECHNIK-FORUM++%22GOLDWING+GL1800%22';
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 */					                                                            

