/* [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','40555',jdecode('Termine%2FVeranstaltungen'),jdecode(''),'/40555.html','true',[],''],
	['PAGE','40582',jdecode('Ersatzteile+%2FListe'),jdecode(''),'/40582.html','true',[],''],
	['PAGE','40591',jdecode('Technik%2C+Tipps+%26+Tricks'),jdecode(''),'/40591.html','true',[],''],
	['PAGE','40564',jdecode('+Das+Neueste....und+Allerletzte'),jdecode(''),'/40564.html','true',[],''],
	['PAGE','40573',jdecode('Tausche%2C+Suche+%26+Biete'),jdecode(''),'/40573.html','true',[],''],
	['PAGE','41244',jdecode('Motorr%C3%A4der+mit+dem+JLO-Twin'),jdecode(''),'/41244.html','true',[],''],
	['PAGE','41253',jdecode('Und+das+fahren+wir+sonst+noch....'),jdecode(''),'/41253.html','true',[],''],
	['PAGE','40609',jdecode('+Bilder+zur%C3%BCckliegender+Jahre'),jdecode(''),'/40609.html','true',[],''],
	['PAGE','40618',jdecode('Bilder+aus+2009'),jdecode(''),'/40618.html','true',[],''],
	['PAGE','44801',jdecode('Bilder+aus+2010'),jdecode(''),'/44801.html','true',[],''],
	['PAGE','56301',jdecode('Bilder+aus+2011'),jdecode(''),'/56301.html','true',[],''],
	['PAGE','66901',jdecode('Bilder+aus+2012'),jdecode(''),'/66901.html','true',[],''],
	['PAGE','40600',jdecode('Kontakt.+Links%2C+Impressum'),jdecode(''),'/40600.html','true',[],''],
	['PAGE','41116',jdecode('G%C3%A4stebuch'),jdecode(''),'/41116/home.html','true',[ 
		['PAGE','41115',jdecode('Eintr%C3%A4ge'),jdecode(''),'/41116/41115.html','true',[],'']
	],''],
	['PAGE','43892',jdecode('Forum+JLO+M+2+X+125'),jdecode(''),'/43892.html','true',[],'']];
var siteelementCount=17;
theSitetree.topTemplateName='TOI_Segel_1';
theSitetree.paletteFamily='7586C1';
theSitetree.keyvisualId='10723';
theSitetree.keyvisualName='kv_10723.jpg';
theSitetree.fontsetId='31819';
theSitetree.graphicsetId='13589';
theSitetree.contentColor='2F458D';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Segel_1',
				paletteFamily: 	'7586C1',
				keyvisualId: 	'10723',
				keyvisualName: 	'kv_10723.jpg',
				fontsetId: 		'31819',
				graphicsetId: 	'13589',
				contentColor: 	'2F458D',
				contentBGColor: 'FFFFFF',
				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:  '39994',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20120211-144047'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40555',
internalId:  '',
customField: '20120122-161714'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40564',
internalId:  '',
customField: '20120210-172029'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40582',
internalId:  '',
customField: '20120122-162047'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40573',
internalId:  '',
customField: '20120211-145229'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40591',
internalId:  '',
customField: '20120122-162244'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40600',
internalId:  '',
customField: '20110807-102031'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40609',
internalId:  '',
customField: '20091109-233844'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40618',
internalId:  '',
customField: '20091230-200522'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41115',
internalId:  '',
customField: '20091206-171417'
};
webappMappings['1002']=webappMappings['1002-41116atoix0ir74tw']={
webappId:    '1002',
documentId:  '41116',
internalId:  '41116atoix0ir74tw',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-41116atoix0ir74tw']={
webappId:    '1002',
documentId:  '41115',
internalId:  '41116atoix0ir74tw',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41116',
internalId:  '',
customField: '20100321-000904'
};
webappMappings['1501']=webappMappings['1501-58638066']={
webappId:    '1501',
documentId:  '39994',
internalId:  '58638066',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41244',
internalId:  '',
customField: '20100422-165828'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41253',
internalId:  '',
customField: '20111214-183433'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43892',
internalId:  '',
customField: '20091206-171629'
};
webappMappings['1003']=webappMappings['1003-atoix0ir74tw12564bf59d5']={
webappId:    '1003',
documentId:  '43892',
internalId:  'atoix0ir74tw12564bf59d5',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44801',
internalId:  '',
customField: '20110110-055948'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56301',
internalId:  '',
customField: '20120108-195254'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '66901',
internalId:  '',
customField: '20120122-161509'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0IR74TW';
var companyName   = 'Website+der+IG-JLO-TWIN';
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 */					                                                            

