/* [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','41537',jdecode('Das+Gesch%C3%A4ft'),jdecode(''),'/41537.html','true',[],''],
	['PAGE','40595',jdecode('Warenangebot'),jdecode(''),'/40595.html','true',[],''],
	['PAGE','40683',jdecode('Konditionen'),jdecode(''),'/40683.html','true',[],''],
	['PAGE','40692',jdecode('Events'),jdecode(''),'/40692.html','true',[],''],
	['PAGE','81901',jdecode('Unser+Fotoalbum'),jdecode(''),'/81901.html','true',[],''],
	['PAGE','50001',jdecode('Kalles+Abenteuer'),jdecode(''),'/50001.html','true',[],''],
	['PAGE','89001',jdecode('Kalles+Abenteuer+2'),jdecode(''),'/89001.html','true',[],''],
	['PAGE','40714',jdecode('So+finden+Sie+uns'),jdecode(''),'/40714.html','true',[],''],
	['PAGE','40604',jdecode('Kontakt'),jdecode(''),'/40604.html','true',[],''],
	['PAGE','40641',jdecode('G%C3%A4stebuch'),jdecode(''),'/40641/home.html','true',[ 
		['PAGE','40640',jdecode('Eintr%C3%A4ge'),jdecode(''),'/40641/40640.html','true',[],'']
	],''],
	['PAGE','40631',jdecode('Impressum'),jdecode(''),'/40631.html','true',[],'']];
var siteelementCount=13;
theSitetree.topTemplateName='Jubilaeum7';
theSitetree.paletteFamily='FFDEDE';
theSitetree.keyvisualId='10278';
theSitetree.keyvisualName='kv_10278.jpg';
theSitetree.fontsetId='21182';
theSitetree.graphicsetId='13276';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='CBB773';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Jubilaeum7',
				paletteFamily: 	'FFDEDE',
				keyvisualId: 	'10278',
				keyvisualName: 	'kv_10278.jpg',
				fontsetId: 		'21182',
				graphicsetId: 	'13276',
				contentColor: 	'FFFFFF',
				contentBGColor: 'CBB773',
				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: '20120102-225453'
};
webappMappings['1002']=webappMappings['1002-40641atoix0ir6sxl']={
webappId:    '1002',
documentId:  '40641',
internalId:  '40641atoix0ir6sxl',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-40641atoix0ir6sxl']={
webappId:    '1002',
documentId:  '40640',
internalId:  '40641atoix0ir6sxl',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40641',
internalId:  '',
customField: '20100417-171920'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '40714',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '50001',
internalId:  '',
customField: '20110825-124046'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40692',
internalId:  '',
customField: '20111013-194851'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '81901',
internalId:  '',
customField: '20110517-161424'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40714',
internalId:  '',
customField: '20100610-224229'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41537',
internalId:  '',
customField: '20110529-215437'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40604',
internalId:  '',
customField: '20100417-171841'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40631',
internalId:  '',
customField: '20100323-214504'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40683',
internalId:  '',
customField: '20100610-224040'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40595',
internalId:  '',
customField: '20120102-224810'
};
webappMappings['1008']=webappMappings['1008-69100405']={
webappId:    '1008',
documentId:  '40604',
internalId:  '69100405',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40640',
internalId:  '',
customField: '20100316-200944'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '89001',
internalId:  '',
customField: '20111220-223918'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0IR6SXL';
var companyName   = '+Findling+Bargteheide';
var htmlTitle	  = 'Findling+das+second-hand+Kaufhaus+in+Bargteheide';
var metaKeywords  = 'Damenmode%2C+Herrenmode%2C+Schmuck%2C+Geschirr%2C+Schmuck%2C+Guertel%2C+Taschen%2C+Schuhe%2C';
var metaContents  = 'Willkommen+beim+Findling+Bargteheide+dem+kleinen+second-hand+Kaufhaus+wir+f%C3%BChren%3A+Damenmode%2C+Herrenmode%2C+Schmuck%2C+Geschirr%2C+Schmuck%2C+G%C3%BCrtel%2C+Taschen%2C+Schuhe%2C+Elektroger%C3%A4te%2C+Kleinm%C3%B6bel%2C+B%C3%BCcher%2C+Deko%2C+Parfum%2C+W%C3%A4sche+und+vieles+mehr.';
					                                                                    
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 */					                                                            

