/* [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','40411',jdecode('%C3%9Cber+uns'),jdecode(''),'/40411.html','true',[],''],
	['PAGE','40907',jdecode('Produkte'),jdecode(''),'/40907.html','true',[],''],
	['PAGE','40376',jdecode('Kontakt'),jdecode(''),'/40376.html','true',[],''],
	['PAGE','41173',jdecode('Anh%C3%A4ngerverleih+'),jdecode(''),'/41173/home.html','true',[ 
		['PAGE','41189',jdecode('+-+Anh%C3%A4nger+Excalibur'),jdecode(''),'/41173/41189.html','true',[],''],
		['PAGE','41292',jdecode('+-+Cargo+Flatbed'),jdecode(''),'/41173/41292.html','true',[],''],
		['PAGE','41309',jdecode('+-+Moetefindt+Plateau+'),jdecode(''),'/41173/41309.html','true',[],''],
		['PAGE','41403',jdecode('-+Cargo+Universal+mit+Laubgitter'),jdecode(''),'/41173/41403.html','true',[],''],
		['PAGE','41430',jdecode('-Autotransporter'),jdecode(''),'/41173/41430.html','true',[],'']
	],''],
	['PAGE','41318',jdecode('Anh%C3%A4ngerverleih+in+Leipzig'),jdecode(''),'/41318/home.html','true',[ 
		['PAGE','41198',jdecode('+-+Transportanh%C3%A4nger'),jdecode(''),'/41318/41198.html','true',[],'']
	],'']];
var siteelementCount=12;
theSitetree.topTemplateName='Litfass';
theSitetree.paletteFamily='465461';
theSitetree.keyvisualId='11038';
theSitetree.keyvisualName='kv_11038.jpg';
theSitetree.fontsetId='32074';
theSitetree.graphicsetId='13772';
theSitetree.contentColor='F2F9FF';
theSitetree.contentBGColor='465461';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Litfass',
				paletteFamily: 	'465461',
				keyvisualId: 	'11038',
				keyvisualName: 	'kv_11038.jpg',
				fontsetId: 		'32074',
				graphicsetId: 	'13772',
				contentColor: 	'F2F9FF',
				contentBGColor: '465461',
				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: '20091031-170248'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40411',
internalId:  '',
customField: '20091104-113048'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40376',
internalId:  '',
customField: '20091104-122400'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40907',
internalId:  '',
customField: '20091031-164320'
};
webappMappings['1008']=webappMappings['1008-63923487']={
webappId:    '1008',
documentId:  '40376',
internalId:  '63923487',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41318',
internalId:  '',
customField: '20101031-223918'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41173',
internalId:  '',
customField: '20111205-092029'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41189',
internalId:  '',
customField: '20100603-123946'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41198',
internalId:  '',
customField: '20101101-092723'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41292',
internalId:  '',
customField: '20101031-221954'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41309',
internalId:  '',
customField: '20111205-091214'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41403',
internalId:  '',
customField: '20111205-091752'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41430',
internalId:  '',
customField: '20120127-062817'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0IRT9AZ';
var companyName   = 'IMAGESCHILDER';
var htmlTitle	  = 'IMAGESCHILDER';
var metaKeywords  = 'Ihr+Name%2C+Camping%2C+Campingplatz%2C+preiswert%2C+Familie%2C+Urlaub%2C+Sonne%2C+aktiv%2C+familiaer%2C+Europa%2C+Online%2C+suchen%2C+buchen%2C+reservieren++';
var metaContents  = 'Willkommen+bei+Ihr+Name.+Informationen+ueber+unseren+Campingplatz%2C+Lage+und+Preise.++';
					                                                                    
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 */					                                                            

