/* [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','18501',jdecode('Friseur+Fuhr'),jdecode(''),'/18501.html','true',[],''],
	['PAGE','46301',jdecode('Aktuelle+Angebote'),jdecode(''),'/46301.html','true',[],''],
	['PAGE','91301',jdecode('Treffpunkt+Zweithaar'),jdecode(''),'/91301.html','true',[],''],
	['PAGE','99301',jdecode('Er%C3%B6ffnung+'),jdecode(''),'/99301.html','true',[],''],
	['PAGE','18507',jdecode('Wir+%C3%BCber+uns'),jdecode(''),'/18507/home.html','true',[ 
		['PAGE','18512',jdecode('%C3%96ffnungszeiten+u.+Telefon'),jdecode(''),'/18507/18512.html','true',[],''],
		['PAGE','18517',jdecode('Unser+Team'),jdecode(''),'/18507/18517.html','true',[],'']
	],''],
	['PAGE','19201',jdecode('Team+Schierstein'),jdecode(''),'/19201.html','true',[],''],
	['PAGE','19211',jdecode('Team+Bad+Camberg'),jdecode(''),'/19211.html','true',[],''],
	['PAGE','36916',jdecode('Team+Limburg'),jdecode(''),'/36916.html','true',[],''],
	['PAGE','103701',jdecode('Jugendtag+2009'),jdecode(''),'/103701.html','true',[],''],
	['PAGE','75201',jdecode('Der+sch%C3%B6nste+Tag'),jdecode(''),'/75201.html','true',[],''],
	['PAGE','80401',jdecode('Frisurenshow'),jdecode(''),'/80401.html','true',[],''],
	['PAGE','36506',jdecode('G%C3%A4stebuch'),jdecode(''),'/36506/home.html','true',[ 
		['PAGE','36501',jdecode('Eintr%C3%A4ge'),jdecode(''),'/36506/36501.html','true',[],'']
	],''],
	['PAGE','33901',jdecode('Presse'),jdecode(''),'/33901.html','true',[],''],
	['PAGE','18557',jdecode('Kontakt'),jdecode(''),'/18557.html','true',[],''],
	['PAGE','38802',jdecode('Impressum'),jdecode(''),'/38802.html','true',[],'']];
var siteelementCount=18;
theSitetree.topTemplateName='Art';
theSitetree.paletteFamily='FFDEAD';
theSitetree.keyvisualId='1798';
theSitetree.keyvisualName='lippenstift.jpg';
theSitetree.fontsetId='285';
theSitetree.graphicsetId='351';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFDEAD';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Art',
				paletteFamily: 	'FFDEAD',
				keyvisualId: 	'1798',
				keyvisualName: 	'lippenstift.jpg',
				fontsetId: 		'285',
				graphicsetId: 	'351',
				contentColor: 	'000000',
				contentBGColor: 'FFDEAD',
				a_color: 		'FFDEAD',
				b_color: 		'990000',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '91301',
internalId:  '',
customField: '20090520-073712'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '18501',
internalId:  '1006',
customField: '1006'
};
webappMappings['1007']=webappMappings['1007-1222c962064']={
webappId:    '1007',
documentId:  '103701',
internalId:  '1222c962064',
customField: 'g.148m983ep.il8slfjggf.3o'
};
webappMappings['1002']=webappMappings['1002-36506atoix0inxvg5']={
webappId:    '1002',
documentId:  '36506',
internalId:  '36506atoix0inxvg5',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-36506atoix0inxvg5']={
webappId:    '1002',
documentId:  '36501',
internalId:  '36506atoix0inxvg5',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18517',
internalId:  '',
customField: '20081203-141326'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18512',
internalId:  '',
customField: '20060717-191213'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18507',
internalId:  '',
customField: '20071121-141106'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18501',
internalId:  '',
customField: '20100310-151437'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19201',
internalId:  '',
customField: '20081203-144545'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19206',
internalId:  '',
customField: '20090822-114523'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19211',
internalId:  '',
customField: '20081114-162129'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '36916',
internalId:  '',
customField: '20081203-144610'
};
webappMappings['1007']=webappMappings['1007-11943258b8c']={
webappId:    '1007',
documentId:  '80401',
internalId:  '11943258b8c',
customField: 'g.1351lcv6k.h2vm21jduj.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '103701',
internalId:  '',
customField: '20090629-212748'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '46301',
internalId:  '',
customField: '20100509-115858'
};
webappMappings['1007']=webappMappings['1007-121533ab08d']={
webappId:    '1007',
documentId:  '99301',
internalId:  '121533ab08d',
customField: 'g.1459jhrn3.8e9qs64t2d.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '36506',
internalId:  '',
customField: '20061111-200717'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '36501',
internalId:  '',
customField: '20050814-211027'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '33901',
internalId:  '',
customField: '20080511-062127'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '18557',
internalId:  '',
customField: '20040926-102401'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '38802',
internalId:  '',
customField: '20051117-182935'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '80401',
internalId:  '',
customField: '20080413-092008'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '99301',
internalId:  '',
customField: '20090518-121823'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '75201',
internalId:  '',
customField: '20081203-154717'
};
webappMappings['1501']=webappMappings['1501-2945665']={
webappId:    '1501',
documentId:  '18501',
internalId:  '2945665',
customField: '1501'
};
var canonHostname = 'cfawrk07.aul.t-online.de';
var accountId     = 'ATOIX0INXVG5';
var companyName   = 'Friseur+Fuhr';
var htmlTitle	  = 'Friseur+Fuhr';
var metaKeywords  = '';
var metaContents  = '';
					                                                                    
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 */					                                                            
