/* [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','87601',jdecode('Willkommen'),jdecode(''),'/87601.html','true',[],''],
	['PAGE','75001',jdecode('Tausendsch%C3%B6n-Flohmarkt'),jdecode(''),'/75001/home.html','true',[ 
		['PAGE','74501',jdecode('+++++Ort+und+Zeit'),jdecode(''),'/75001/74501.html','true',[],''],
		['PAGE','76601',jdecode('+++++Organisation'),jdecode(''),'/75001/76601.html','true',[],''],
		['PAGE','74522',jdecode('+++++Teilnahme'),jdecode(''),'/75001/74522.html','true',[],'']
	],''],
	['PAGE','86801',jdecode('Flohmarkt+Eppendorf'),jdecode(''),'/86801/home.html','true',[ 
		['PAGE','93801',jdecode('+++++Ort+und+Zeit'),jdecode(''),'/86801/93801.html','true',[],''],
		['PAGE','95725',jdecode('+++++Organisation'),jdecode(''),'/86801/95725.html','true',[],''],
		['PAGE','90201',jdecode('+++++Teilnahme'),jdecode(''),'/86801/90201.html','true',[],''],
		['PAGE','95525',jdecode('+++++Wer+war+Marie+Jonas%3F'),jdecode(''),'/86801/95525.html','true',[],'']
	],''],
	['PAGE','59401',jdecode('M%C3%A4nnersache-Flohmarkt'),jdecode(''),'/59401/home.html','true',[ 
		['PAGE','74543',jdecode('+++++Ort+und+Zeit'),jdecode(''),'/59401/74543.html','true',[],''],
		['PAGE','74701',jdecode('+++++Organisation'),jdecode(''),'/59401/74701.html','true',[],''],
		['PAGE','74722',jdecode('+++++Teilnahme'),jdecode(''),'/59401/74722.html','true',[],'']
	],''],
	['PAGE','44',jdecode('Outfit+und+Image'),jdecode(''),'/44/home.html','false',[ 
		['PAGE','41266',jdecode('Farb-+und+Stilberatung'),jdecode(''),'/44/41266.html','false',[],''],
		['PAGE','41284',jdecode('Zeitgem%C3%A4%C3%9Fes+Auftreten'),jdecode(''),'/44/41284.html','false',[],'']
	],''],
	['PAGE','41293',jdecode('Kontakt'),jdecode(''),'/41293.html','true',[],''],
	['PAGE','43265',jdecode('Impressum'),jdecode(''),'/43265.html','true',[],'']];
var siteelementCount=19;
theSitetree.topTemplateName='Startup';
theSitetree.paletteFamily='002F2F';
theSitetree.keyvisualId='1399';
theSitetree.keyvisualName='astern.jpg';
theSitetree.fontsetId='233';
theSitetree.graphicsetId='298';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Startup',
				paletteFamily: 	'002F2F',
				keyvisualId: 	'1399',
				keyvisualName: 	'astern.jpg',
				fontsetId: 		'233',
				graphicsetId: 	'298',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'002F2F',
				b_color: 		'666666',
				c_color: 		'000000',
				d_color: 		'FF0000',
				e_color: 		'FF0000',
				f_color: 		'FF0000',
				hasCustomLogo: 	'true',
				contentFontFace:'Times New Roman, Times, serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '87601',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '44',
internalId:  '',
customField: '20110420-221113'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41266',
internalId:  '',
customField: '20090729-131042'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41284',
internalId:  '',
customField: '20090726-213341'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '74501',
internalId:  '',
customField: '20120124-223908'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41293',
internalId:  '',
customField: '20110807-145310'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43265',
internalId:  '',
customField: '20110622-035530'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '59401',
internalId:  '',
customField: '20120202-080700'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '75001',
internalId:  '',
customField: '20110524-121645'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '74522',
internalId:  '',
customField: '20111026-110103'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '74543',
internalId:  '',
customField: '20120202-080614'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '74701',
internalId:  '',
customField: '20111125-133913'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '74722',
internalId:  '',
customField: '20120120-151832'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '76601',
internalId:  '',
customField: '20111124-014310'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '86801',
internalId:  '',
customField: '20111125-133204'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '87601',
internalId:  '',
customField: '20120202-080839'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '90201',
internalId:  '',
customField: '20111026-110031'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '93801',
internalId:  '',
customField: '20111019-144655'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '95525',
internalId:  '',
customField: '20111014-215343'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '95725',
internalId:  '',
customField: '20111014-215216'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0IN3RNY';
var companyName   = 'www.flohmarkt-eppendorf.de';
var htmlTitle	  = 'www.flohmarkt-eppendorf.de';
var metaKeywords  = 'Renate+Messing%2C+Hamburg%2C+www.flohmarkt-eppendorf.de%2C+Tausendsch%C3%B6n+Flohmarkt%2C+Tausendschoen-Flohmarkt%2C+M%C3%A4nnersache+Flohmarkt%2C+www.m%C3%A4nnerflohmarkt.de%2C+maennerflohmarkt.de%2C+Kulturhaus+Eppendorf%2C+Hamburg%2C+M%C3%A4nner-Flohmarkt%2C+www.renate-messing.de';
var metaContents  = 'Die+freundlichen+Flohm%C3%A4rkte+in+Hamburg-Eppendorf.';
					                                                                    
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 */					                                                            

