/* [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('Start+'),jdecode(''),'/4579.html','true',[],''],
	['PAGE','23643',jdecode('Was+ist+das+%3F'),jdecode(''),'/23643.html','true',[],''],
	['PAGE','52801',jdecode('Scholz+Br%C3%BCderchen+'),jdecode(''),'/52801.html','true',[],''],
	['PAGE','52822',jdecode('Lillebror+'),jdecode(''),'/52822.html','true',[],''],
	['PAGE','52843',jdecode('Chateau+Mobile+%26+Mascotte'),jdecode(''),'/52843.html','true',[],''],
	['PAGE','55601',jdecode('Modellvarianten+'),jdecode(''),'/55601.html','true',[],''],
	['PAGE','24701',jdecode('Gespanne+1'),jdecode(''),'/24701.html','true',[],''],
	['PAGE','82201',jdecode('Gespanne+2'),jdecode(''),'/82201.html','true',[],''],
	['PAGE','43901',jdecode('Bilder'),jdecode(''),'/43901.html','true',[],''],
	['PAGE','84101',jdecode('Leichen+und+Untote'),jdecode(''),'/84101.html','true',[],''],
	['PAGE','55001',jdecode('Div.+Werbung+'),jdecode(''),'/55001.html','true',[],''],
	['PAGE','86801',jdecode('Lillebror+Treffen+'),jdecode(''),'/86801.html','true',[],''],
	['PAGE','48001',jdecode('Bericht+%2FPresse'),jdecode(''),'/48001.html','true',[],''],
	['PAGE','18108',jdecode('Workshop%60s'),jdecode(''),'/18108.html','true',[],''],
	['PAGE','82601',jdecode('Int.+Treffen+2010-1'),jdecode(''),'/82601.html','true',[],''],
	['PAGE','55622',jdecode('Int.Treffen+2010-2'),jdecode(''),'/55622.html','true',[],''],
	['PAGE','23629',jdecode('Forum+%26+Links+'),jdecode(''),'/23629.html','true',[],''],
	['PAGE','61601',jdecode('Kalender'),jdecode(''),'/61601.html','true',[],''],
	['PAGE','18203',jdecode('G%C3%A4stebuch'),jdecode(''),'/18203/home.html','true',[ 
		['PAGE','18204',jdecode('Eintr%C3%A4ge'),jdecode(''),'/18203/18204.html','true',[],'']
	],'']];
var siteelementCount=20;
theSitetree.topTemplateName='Tide';
theSitetree.paletteFamily='C04B0B';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='13623';
theSitetree.graphicsetId='12063';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Tide',
				paletteFamily: 	'C04B0B',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'13623',
				graphicsetId: 	'12063',
				contentColor: 	'FFFFFF',
				contentBGColor: 'FFFFFF',
				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:  '4579',
internalId:  '1006',
customField: '1006'
};
webappMappings['1501']=webappMappings['1501-995918']={
webappId:    '1501',
documentId:  '4579',
internalId:  '995918',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '52801',
internalId:  '',
customField: '20080607-132635'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '48001',
internalId:  '',
customField: '20100129-100101'
};
webappMappings['1002']=webappMappings['1002-18203ATOIX0INV7M8']={
webappId:    '1002',
documentId:  '18203',
internalId:  '18203ATOIX0INV7M8',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-18203ATOIX0INV7M8']={
webappId:    '1002',
documentId:  '18204',
internalId:  '18203ATOIX0INV7M8',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4579',
internalId:  '',
customField: '20100525-205827'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23629',
internalId:  '',
customField: '20100126-200028'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '52843',
internalId:  '',
customField: '20100510-104434'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18108',
internalId:  '',
customField: '20100310-143828'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18203',
internalId:  '',
customField: '20070318-203348'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18204',
internalId:  '',
customField: '20040707-164636'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23643',
internalId:  '',
customField: '20070919-084113'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24701',
internalId:  '',
customField: '20100201-180904'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43901',
internalId:  '',
customField: '20100114-110113'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55001',
internalId:  '',
customField: '20100624-094736'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '52822',
internalId:  '',
customField: '20080607-112134'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55601',
internalId:  '',
customField: '20091221-150916'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '55622',
internalId:  '',
customField: '20100526-211949'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '61601',
internalId:  '',
customField: '20100309-133242'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '82201',
internalId:  '',
customField: '20100624-095827'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '82601',
internalId:  '',
customField: '20100526-220132'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '86801',
internalId:  '',
customField: '20100406-084950'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '84101',
internalId:  '',
customField: '20100510-104934'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0INV7M8';
var companyName   = 'Scholz+Br%C3%BCderchen+%2CLillebror+und+Chateau+Mobile+';
var htmlTitle	  = 'Die+Faltschachtel+%2C+BR%C3%9CDERCHEN+SCHOLZ';
var metaKeywords  = 'Br%C3%BCderchen+%2C+Scholz+%2C+Faltcaravan+%2C+Oldiecaravan+%2C+Oldtimer+%2C+Borgward+%2C+Oldtimertreffen+%2C+VW+K%C3%A4fer+%2C+K%C3%BCbel+%2C+2cv+%2C+Klappfix+%2C+Alpenkreuzer+%2C+SCHOLZ+BRUEDERCHEN+%2C+Klappwohnwagen+%2C++Oldtimerforum+%2C+Teilemarkt+%2C+Oldiegespanne+%2C+Campingclub+%2C+Hinterweidenthal+%2C+Campingtips+%2C+VWBulli++%2C+Oldtimer+Anh%C3%A4nger+%2C+Wohnanh%C3%A4nger+%2C+Freizeittips';
var metaContents  = 'Die+Webseite+f%C3%BCr+Freunde+des+Kultigen+Faltwohnwagen+Br%C3%BCderchen+von+Scholz+.+Jetzt+mit+FORUM+';
					                                                                    
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 */					                                                            
