/* [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('Willkommen%21'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','40569',jdecode('Unsere+Leistungen'),jdecode(''),'/40569/home.html','true',[ 
		['PAGE','40904',jdecode('kostenlose+Serviceleistungen'),jdecode(''),'/40569/40904.html','true',[],''],
		['PAGE','40578',jdecode('Sehtests'),jdecode(''),'/40569/40578.html','true',[],''],
		['PAGE','40913',jdecode('professionelle+Gl%C3%A4serberatung'),jdecode(''),'/40569/40913.html','true',[],'']
	],''],
	['PAGE','40752',jdecode('Brillen'),jdecode(''),'/40752/home.html','true',[ 
		['PAGE','42789',jdecode('f%C3%BCr+SIE+und+IHN'),jdecode(''),'/40752/42789.html','true',[],''],
		['PAGE','40770',jdecode('Kinderbrillen'),jdecode(''),'/40752/40770.html','true',[],''],
		['PAGE','40779',jdecode('Sonnenbrillen'),jdecode(''),'/40752/40779.html','true',[],'']
	],''],
	['PAGE','40587',jdecode('Spezialbrillen'),jdecode(''),'/40587/home.html','true',[ 
		['PAGE','40788',jdecode('Lupenbrillen'),jdecode(''),'/40587/40788.html','true',[],''],
		['PAGE','40931',jdecode('Schie%C3%9Fbrillen'),jdecode(''),'/40587/40931.html','true',[],''],
		['PAGE','40940',jdecode('Sportbrillen'),jdecode(''),'/40587/40940.html','true',[],'']
	],''],
	['PAGE','40949',jdecode('Gl%C3%A4ser'),jdecode(''),'/40949.html','true',[],''],
	['PAGE','40596',jdecode('Kontaktlinsen'),jdecode(''),'/40596/home.html','true',[ 
		['PAGE','40958',jdecode('harte+Kontaktlinsen'),jdecode(''),'/40596/40958.html','true',[],''],
		['PAGE','40967',jdecode('weiche+Kontaktlinsen'),jdecode(''),'/40596/40967.html','true',[],''],
		['PAGE','40976',jdecode('luftdurchl%C3%A4ssige+Kontaktlinsen'),jdecode(''),'/40596/40976.html','true',[],''],
		['PAGE','40985',jdecode('Pflegemittel'),jdecode(''),'/40596/40985.html','true',[],'']
	],''],
	['PAGE','40994',jdecode('vergr%C3%B6%C3%9Fernde+Sehhilfen'),jdecode(''),'/40994/home.html','true',[ 
		['PAGE','41003',jdecode('Lupen'),jdecode(''),'/40994/41003.html','true',[],''],
		['PAGE','41012',jdecode('Leseger%C3%A4te'),jdecode(''),'/40994/41012.html','true',[],'']
	],''],
	['PAGE','40614',jdecode('Unsere+Lieferanten'),jdecode(''),'/40614.html','true',[],''],
	['PAGE','40623',jdecode('Service+und+Links'),jdecode(''),'/40623.html','true',[],''],
	['PAGE','40632',jdecode('Kontakt'),jdecode(''),'/40632.html','true',[],''],
	['PAGE','40641',jdecode('Wir+%C3%BCber+uns'),jdecode(''),'/40641/home.html','true',[ 
		['PAGE','40650',jdecode('So+finden+Sie+uns'),jdecode(''),'/40641/40650.html','true',[],''],
		['PAGE','40712',jdecode('Anfahrt'),jdecode(''),'/40641/40712.html','true',[],''],
		['PAGE','40659',jdecode('Unser+Team'),jdecode(''),'/40641/40659.html','true',[],''],
		['PAGE','40668',jdecode('Das+Gesch%C3%A4ft'),jdecode(''),'/40641/40668.html','true',[],'']
	],''],
	['PAGE','40677',jdecode('Impressum'),jdecode(''),'/40677.html','true',[],'']];
var siteelementCount=31;
theSitetree.topTemplateName='Aeskulap';
theSitetree.paletteFamily='1E3F20';
theSitetree.keyvisualId='2498';
theSitetree.keyvisualName='optiker.jpg';
theSitetree.fontsetId='436';
theSitetree.graphicsetId='485';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Aeskulap',
				paletteFamily: 	'1E3F20',
				keyvisualId: 	'2498',
				keyvisualName: 	'optiker.jpg',
				fontsetId: 		'436',
				graphicsetId: 	'485',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'FFFFFF',
				b_color: 		'FFFFFF',
				c_color: 		'FFFFFF',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
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: '20090102-214224'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40569',
internalId:  '',
customField: '20090103-111108'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40641',
internalId:  '',
customField: '20090405-104534'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40650',
internalId:  '',
customField: '20080819-142357'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '40712',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40712',
internalId:  '',
customField: '20090102-211854'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40623',
internalId:  '',
customField: '20080806-102649'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40614',
internalId:  '',
customField: '20080920-091339'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40752',
internalId:  '',
customField: '20090101-133425'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40677',
internalId:  '',
customField: '20090102-215845'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40949',
internalId:  '',
customField: '20090101-103008'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40632',
internalId:  '',
customField: '20090102-211623'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40587',
internalId:  '',
customField: '20081229-110334'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40904',
internalId:  '',
customField: '20080808-104553'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40578',
internalId:  '',
customField: '20090103-112145'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40913',
internalId:  '',
customField: '20080808-104553'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42789',
internalId:  '',
customField: '20090101-122114'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40770',
internalId:  '',
customField: '20090101-133538'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40779',
internalId:  '',
customField: '20090101-134954'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40788',
internalId:  '',
customField: '20080808-101530'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40931',
internalId:  '',
customField: '20080808-104553'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40940',
internalId:  '',
customField: '20080808-104553'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40596',
internalId:  '',
customField: '20080806-102649'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40958',
internalId:  '',
customField: '20080808-104553'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40967',
internalId:  '',
customField: '20080808-104553'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40976',
internalId:  '',
customField: '20080808-104553'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40985',
internalId:  '',
customField: '20080808-104553'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40994',
internalId:  '',
customField: '20090102-211536'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41003',
internalId:  '',
customField: '20090103-112455'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41012',
internalId:  '',
customField: '20081229-112650'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40659',
internalId:  '',
customField: '20080806-102649'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40668',
internalId:  '',
customField: '20080806-102649'
};
var canonHostname = 'cfawrk03.aul.t-online.de';
var accountId     = 'ATOIX0IRWBTF';
var companyName   = 'Optiker+Klein+-+muss+sein%21';
var htmlTitle	  = 'Optiker+Klein+-+muss+sein%21';
var metaKeywords  = 'Brille%2C+Kontaktlinsen%2C+Pflegemittel%2C+F%C3%BChrerscheinsehtest%2C+Sehtest%2C+Refraktion%2C+Sonnenbrille%2C+Kinderbrille%2C+vergr%C3%B6%C3%9Fernde+Sehhilfe%2C+Lupe%2C+Brillenreperatur';
var metaContents  = 'Willkommen+bei+Optiker+Klein+in+Ansbach%21+Ihr+Spezialist+f%C3%BCr+Brillen%2C+Kontaktlinsen+und+vergr%C3%B6%C3%9Fernde+Sehilfen+-+F%C3%BChrerscheinsehtest.';
					                                                                    
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 */					                                                            

