/* [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','40199',jdecode('Startseite'),jdecode(''),'/40199.html','true',[],''],
	['PAGE','40450',jdecode('Mitglieder'),jdecode(''),'/40450/home.html','false',[ 
		['PAGE','44492',jdecode('Und+das+sind+wir+%21%21%21'),jdecode(''),'/40450/44492.html','true',[],'']
	],''],
	['PAGE','41398',jdecode('Treffen'),jdecode(''),'/41398/home.html','false',[ 
		['PAGE','44922',jdecode('Karneval+2008'),jdecode(''),'/41398/44922.html','true',[],''],
		['PAGE','45650',jdecode('Hillscheid+2008'),jdecode(''),'/41398/45650.html','true',[],''],
		['PAGE','45178',jdecode('Niederbreitbach+2008'),jdecode(''),'/41398/45178.html','true',[],''],
		['PAGE','45187',jdecode('Homscheid+2008'),jdecode(''),'/41398/45187.html','true',[],''],
		['PAGE','45196',jdecode('Eichelhardt+2008'),jdecode(''),'/41398/45196.html','true',[],''],
		['PAGE','45205',jdecode('Asbach+2008'),jdecode(''),'/41398/45205.html','true',[],''],
		['PAGE','41452',jdecode('Strauscheid+2007'),jdecode(''),'/41398/41452.html','true',[],''],
		['PAGE','43848',jdecode('Venlo+2007'),jdecode(''),'/41398/43848.html','true',[],''],
		['PAGE','43645',jdecode('Niederbreitbach+2007'),jdecode(''),'/41398/43645.html','true',[],''],
		['PAGE','43428',jdecode('Elzhof+2007'),jdecode(''),'/41398/43428.html','true',[],''],
		['PAGE','43437',jdecode('Dattenfels+2007'),jdecode(''),'/41398/43437.html','true',[],''],
		['PAGE','42959',jdecode('Herschbach%2FUWw.+2007'),jdecode(''),'/41398/42959.html','true',[],''],
		['PAGE','41443',jdecode('Asbach+2007'),jdecode(''),'/41398/41443.html','true',[],''],
		['PAGE','41407',jdecode('Asbach+2006'),jdecode(''),'/41398/41407.html','true',[],''],
		['PAGE','40459',jdecode('Strauscheid+2006'),jdecode(''),'/41398/40459.html','true',[],''],
		['PAGE','41416',jdecode('K%C3%B6ln+2006'),jdecode(''),'/41398/41416.html','true',[],''],
		['PAGE','41425',jdecode('Venlo+2006'),jdecode(''),'/41398/41425.html','true',[],''],
		['PAGE','40468',jdecode('Reifert+2006'),jdecode(''),'/41398/40468.html','true',[],''],
		['PAGE','41434',jdecode('Eichertreffen+2006'),jdecode(''),'/41398/41434.html','true',[],'']
	],''],
	['PAGE','40477',jdecode('Kartoffelanbau'),jdecode(''),'/40477.html','false',[],''],
	['PAGE','40486',jdecode('Sonstiges'),jdecode(''),'/40486.html','false',[],''],
	['PAGE','40222',jdecode('G%C3%A4stebuch'),jdecode(''),'/40222/home.html','true',[ 
		['PAGE','40221',jdecode('Eintr%C3%A4ge'),jdecode(''),'/40222/40221.html','true',[],'']
	],''],
	['PAGE','40495',jdecode('Links'),jdecode(''),'/40495.html','false',[],''],
	['PAGE','40504',jdecode('Kontakt'),jdecode(''),'/40504.html','false',[],''],
	['PAGE','42937',jdecode('Impressum'),jdecode(''),'/42937.html','true',[],'']];
var siteelementCount=30;
theSitetree.topTemplateName='TOI_Bauen_1';
theSitetree.paletteFamily='7E6344';
theSitetree.keyvisualId='10658';
theSitetree.keyvisualName='kv_10658.jpg';
theSitetree.fontsetId='31771';
theSitetree.graphicsetId='13544';
theSitetree.contentColor='3C3C3C';
theSitetree.contentBGColor='F4F3F1';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Bauen_1',
				paletteFamily: 	'7E6344',
				keyvisualId: 	'10658',
				keyvisualName: 	'kv_10658.jpg',
				fontsetId: 		'31771',
				graphicsetId: 	'13544',
				contentColor: 	'3C3C3C',
				contentBGColor: 'F4F3F1',
				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:  '40199',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40199',
internalId:  '',
customField: '20110816-185410'
};
webappMappings['1002']=webappMappings['1002-40222atoix0i7b16o']={
webappId:    '1002',
documentId:  '40222',
internalId:  '40222atoix0i7b16o',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-40222atoix0i7b16o']={
webappId:    '1002',
documentId:  '40221',
internalId:  '40222atoix0i7b16o',
customField: 'action=list'
};
webappMappings['1501']=webappMappings['1501-28233017']={
webappId:    '1501',
documentId:  '40199',
internalId:  '28233017',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40222',
internalId:  '',
customField: '20070116-180217'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40221',
internalId:  '',
customField: '20070116-180217'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40450',
internalId:  '',
customField: '20090814-115522'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40459',
internalId:  '',
customField: '20070227-214650'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40468',
internalId:  '',
customField: '20070521-194528'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40477',
internalId:  '',
customField: '20070528-160611'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40486',
internalId:  '',
customField: '20080713-155845'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40495',
internalId:  '',
customField: '20090814-114635'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40504',
internalId:  '',
customField: '20080213-192827'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41398',
internalId:  '',
customField: '20090814-120012'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41407',
internalId:  '',
customField: '20070329-192354'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41416',
internalId:  '',
customField: '20070329-193301'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41425',
internalId:  '',
customField: '20070408-130557'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41434',
internalId:  '',
customField: '20070521-194706'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41443',
internalId:  '',
customField: '20070514-184308'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41452',
internalId:  '',
customField: '20071108-205056'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42937',
internalId:  '',
customField: '20070526-204820'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42959',
internalId:  '',
customField: '20070528-170311'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43437',
internalId:  '',
customField: '20070630-105752'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43428',
internalId:  '',
customField: '20070630-110228'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43645',
internalId:  '',
customField: '20070708-175731'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43848',
internalId:  '',
customField: '20071108-202016'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44492',
internalId:  '',
customField: '20071108-215510'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44922',
internalId:  '',
customField: '20080213-193525'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45205',
internalId:  '',
customField: '20080713-150238'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45196',
internalId:  '',
customField: '20080713-151143'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45187',
internalId:  '',
customField: '20080713-151746'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45178',
internalId:  '',
customField: '20080713-153357'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '45650',
internalId:  '',
customField: '20080713-154421'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0I7B16O';
var companyName   = 'Schlepperfreunde+Strauscheid';
var htmlTitle	  = 'Dieselpower+-+Schlepperfreunde+Strauscheid';
var metaKeywords  = 'Diesel%2C+Deutz%2C+Deutz-Fahr%2C+MAN%2C+Trecker%2C+Traktor%2C+Schlepperfreunde%2C+Strauscheid%2C+Westerwald%2C+Gero+Trenkler%2C+...';
var metaContents  = 'Schlepperfreunde+Strauscheid+-+Dies+ist+die+Seite+der+Schlepperfreunde+aus+Strauscheid+%28im+Westerwald%29';
					                                                                    
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 */					                                                            

