/* [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('Home'),jdecode(''),'/4579/home.html','true',[ 
		['PAGE','14202',jdecode('Home+%28Folgeseite%29'),jdecode(''),'/4579/14202.html','false',[],'']
	],''],
	['PAGE','22970',jdecode('Blumenmarkt+'),jdecode(''),'/22970.html','true',[],''],
	['PAGE','22960',jdecode('Karlstra%C3%9Fe+40'),jdecode(''),'/22960.html','true',[],''],
	['PAGE','22965',jdecode('Nordfriedhof'),jdecode(''),'/22965.html','true',[],''],
	['PAGE','25118',jdecode('Aktuelle+Angebote'),jdecode(''),'/25118.html','true',[],''],
	['PAGE','32252',jdecode('Trauerbinderei'),jdecode(''),'/32252.html','true',[],''],
	['PAGE','14102',jdecode('Grabpflege'),jdecode(''),'/14102.html','true',[],''],
	['PAGE','22950',jdecode('Preisliste+Gr%C3%A4ber'),jdecode(''),'/22950.html','true',[],''],
	['PAGE','23264',jdecode('Gesch%C3%A4ftsbedingungen'),jdecode(''),'/23264.html','true',[],''],
	['PAGE','32739',jdecode('++Impressum'),jdecode(''),'/32739.html','true',[],'']];
var siteelementCount=11;
theSitetree.topTemplateName='Enjoy';
theSitetree.paletteFamily='378927';
theSitetree.keyvisualId='2241';
theSitetree.keyvisualName='love2.jpg';
theSitetree.fontsetId='366';
theSitetree.graphicsetId='416';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='378927';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Enjoy',
				paletteFamily: 	'378927',
				keyvisualId: 	'2241',
				keyvisualName: 	'love2.jpg',
				fontsetId: 		'366',
				graphicsetId: 	'416',
				contentColor: 	'FFFFFF',
				contentBGColor: '378927',
				a_color: 		'378927',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				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-1518749']={
webappId:    '1501',
documentId:  '4579',
internalId:  '1518749',
customField: '1501'
};
webappMappings['1001']=webappMappings['1001-atoix0in25mnfe7de70a6f']={
webappId:    '1001',
documentId:  '4579',
internalId:  'atoix0in25mnfe7de70a6f',
customField: ''
};
webappMappings['1001']=webappMappings['1001-atoix0in25mnfe7de70a6f']={
webappId:    '1001',
documentId:  '14202',
internalId:  'atoix0in25mnfe7de70a6f',
customField: 'followUp'
};
webappMappings['1007']=webappMappings['1007-101205fd317']={
webappId:    '1007',
documentId:  '32739',
internalId:  '101205fd317',
customField: 'g.104g5m0hd.e7dm682eet.1s'
};
webappMappings['3001']=webappMappings['3001-']={
webappId:    '3001',
documentId:  '22950',
internalId:  '',
customField: ''
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4579',
internalId:  '',
customField: '20100112-164511'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22950',
internalId:  '',
customField: '20100112-164310'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23264',
internalId:  '',
customField: '20061018-214814'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32739',
internalId:  '',
customField: '20090309-205134'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22970',
internalId:  '',
customField: '20071125-190529'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22960',
internalId:  '',
customField: '20070208-152550'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22965',
internalId:  '',
customField: '20070208-152619'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '25118',
internalId:  '',
customField: '20070208-163610'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14102',
internalId:  '',
customField: '20061110-204408'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14202',
internalId:  '',
customField: '20040820-223306'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32252',
internalId:  '',
customField: '20040906-200706'
};
var canonHostname = 'cfawrk08.aul.t-online.de';
var accountId     = 'ATOIX0IN25MN';
var companyName   = 'Blumen+Norbert+Hallmann';
var htmlTitle	  = 'Blumen+Norbert+Hallmann';
var metaKeywords  = 'Grabpflege%2CBlumen%2CPflanzen%2CFloristik%2CTrauerbinderei';
var metaContents  = 'Blumen+%2CGrabpflege+%2CFloristik+%2CFleurop';
					                                                                    
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 */					                                                            
