/* [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','13679',jdecode('Home'),jdecode(''),'/13679.html','true',[],''],
	['PAGE','87437',jdecode('Stellenangebot'),jdecode(''),'/87437.html','false',[],''],
	['PAGE','81026',jdecode('HighTech+Progressive'),jdecode(''),'/81026.html','true',[],''],
	['PAGE','86882',jdecode('Ultra+High+Index+1.76'),jdecode(''),'/86882.html','true',[],''],
	['PAGE','13736',jdecode('Einst%C3%A4rkengl%C3%A4ser'),jdecode(''),'/13736/home.html','true',[ 
		['PAGE','14284',jdecode('Blue+Blocker'),jdecode(''),'/13736/14284.html','true',[],'']
	],''],
	['PAGE','80078',jdecode('Gleitsichtgl%C3%A4ser'),jdecode(''),'/80078.html','true',[],''],
	['PAGE','88597',jdecode('Office+Gl%C3%A4ser'),jdecode(''),'/88597.html','true',[],''],
	['PAGE','79804',jdecode('Lotusbeschichtung'),jdecode(''),'/79804.html','true',[],''],
	['PAGE','79813',jdecode('Einschleifservice'),jdecode(''),'/79813.html','true',[],''],
	['PAGE','80861',jdecode('Bestellmanager'),jdecode(''),'/80861.html','true',[],''],
	['PAGE','80225',jdecode('Preise'),jdecode(''),'/80225/home.html','true',[ 
		['PAGE','82030',jdecode('HighTech+Progressive'),jdecode(''),'/80225/82030.html','true',[],''],
		['PAGE','13925',jdecode('Einst%C3%A4rkengl%C3%A4ser'),jdecode(''),'/80225/13925.html','true',[],''],
		['PAGE','80234',jdecode('Gleitsichtgl%C3%A4ser'),jdecode(''),'/80225/80234.html','true',[],''],
		['PAGE','79831',jdecode('Lotusbeschichtung'),jdecode(''),'/80225/79831.html','true',[],''],
		['PAGE','79863',jdecode('Einschleifservice'),jdecode(''),'/80225/79863.html','true',[],'']
	],''],
	['PAGE','15013',jdecode('Passwort'),jdecode(''),'/15013.html','true',[],''],
	['PAGE','86958',jdecode('Downloads'),jdecode(''),'/86958.html','true',[],''],
	['PAGE','13952',jdecode('Kontakt'),jdecode(''),'/13952/home.html','true',[ 
		['PAGE','14855',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/13952/14855.html','false',[],'']
	],''],
	['PAGE','13979',jdecode('Impressum'),jdecode(''),'/13979.html','true',[],''],
	['PAGE','86651',jdecode('AGB%C2%B4s'),jdecode(''),'/86651.html','true',[],''],
	['PAGE','80668',jdecode('Anfahrt'),jdecode(''),'/80668.html','true',[],''],
	['PAGE','13817',jdecode('Enzyklop%C3%A4die'),jdecode(''),'/13817.html','true',[],''],
	['PAGE','49018',jdecode('G%C3%A4stebuch'),jdecode(''),'/49018/home.html','false',[ 
		['PAGE','49019',jdecode('Eintr%C3%A4ge'),jdecode(''),'/49018/49019.html','true',[],'']
	],''],
	['PAGE','58901',jdecode('Interessante+Links'),jdecode(''),'/58901.html','true',[],''],
	['PAGE','85044',jdecode('Spielplattform'),jdecode(''),'/85044.html','false',[],''],
	['PAGE','86431',jdecode('Politik'),jdecode(''),'/86431.html','false',[],''],
	['PAGE','86443',jdecode('Aktie+des+Tages'),jdecode(''),'/86443.html','false',[],''],
	['PAGE','86455',jdecode('Reisen'),jdecode(''),'/86455.html','false',[],'']];
var siteelementCount=32;
theSitetree.topTemplateName='TOI_Welle_1';
theSitetree.paletteFamily='BDCD71';
theSitetree.keyvisualId='10663';
theSitetree.keyvisualName='kv_10663.jpg';
theSitetree.fontsetId='31775';
theSitetree.graphicsetId='13556';
theSitetree.contentColor='3F3F3F';
theSitetree.contentBGColor='F5F6F8';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Welle_1',
				paletteFamily: 	'BDCD71',
				keyvisualId: 	'10663',
				keyvisualName: 	'kv_10663.jpg',
				fontsetId: 		'31775',
				graphicsetId: 	'13556',
				contentColor: 	'3F3F3F',
				contentBGColor: 'F5F6F8',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['3001']=webappMappings['3001-']={
webappId:    '3001',
documentId:  '79863',
internalId:  '',
customField: ''
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '13679',
internalId:  '1006',
customField: '1006'
};
webappMappings['1001']=webappMappings['1001-atoix0invri25f964646d4d4b6f2']={
webappId:    '1001',
documentId:  '14855',
internalId:  'atoix0invri25f964646d4d4b6f2',
customField: 'followUp'
};
webappMappings['1002']=webappMappings['1002-49018ATOIX0INVRI2']={
webappId:    '1002',
documentId:  '49018',
internalId:  '49018ATOIX0INVRI2',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-49018ATOIX0INVRI2']={
webappId:    '1002',
documentId:  '49019',
internalId:  '49018ATOIX0INVRI2',
customField: 'action=list'
};
webappMappings['1008']=webappMappings['1008-48277287']={
webappId:    '1008',
documentId:  '13952',
internalId:  '48277287',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['3001']=webappMappings['3001-']={
webappId:    '3001',
documentId:  '79831',
internalId:  '',
customField: ''
};
webappMappings['3001']=webappMappings['3001-']={
webappId:    '3001',
documentId:  '80234',
internalId:  '',
customField: ''
};
webappMappings['3001']=webappMappings['3001-']={
webappId:    '3001',
documentId:  '13925',
internalId:  '',
customField: ''
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '80668',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['3001']=webappMappings['3001-']={
webappId:    '3001',
documentId:  '82030',
internalId:  '',
customField: ''
};
webappMappings['3001']=webappMappings['3001-']={
webappId:    '3001',
documentId:  '80861',
internalId:  '',
customField: ''
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13679',
internalId:  '',
customField: '20100114-121644'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '81026',
internalId:  '',
customField: '20090911-112527'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13736',
internalId:  '',
customField: '20080610-103554'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14284',
internalId:  '',
customField: '20040319-203635'
};
webappMappings['1011']=webappMappings['1011-ddp-politik']={
webappId:    '1011',
documentId:  '86431',
internalId:  'ddp-politik',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '80078',
internalId:  '',
customField: '20090911-110534'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '79804',
internalId:  '',
customField: '20070311-185720'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '79813',
internalId:  '',
customField: '20090325-134332'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '80861',
internalId:  '',
customField: '20090810-161051'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '80225',
internalId:  '',
customField: '20080613-112959'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '82030',
internalId:  '',
customField: '20090915-204202'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13925',
internalId:  '',
customField: '20081217-112155'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '80234',
internalId:  '',
customField: '20090911-110236'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '79831',
internalId:  '',
customField: '20070225-110718'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '79863',
internalId:  '',
customField: '20100309-152042'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15013',
internalId:  '',
customField: '20040319-193130'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13952',
internalId:  '',
customField: '20041203-122508'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14855',
internalId:  '',
customField: '20040219-110609'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13979',
internalId:  '',
customField: '20070225-111632'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '80668',
internalId:  '',
customField: '20060731-211443'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13817',
internalId:  '',
customField: '20040424-114255'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49018',
internalId:  '',
customField: '20040626-100829'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '49019',
internalId:  '',
customField: '20040626-100829'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '58901',
internalId:  '',
customField: '20100309-153835'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '85044',
internalId:  '',
customField: '20061105-133742'
};
webappMappings['1011']=webappMappings['1011-ddp-aktiedestages']={
webappId:    '1011',
documentId:  '86443',
internalId:  'ddp-aktiedestages',
customField: 'language:de;country:DE;'
};
webappMappings['1011']=webappMappings['1011-ddp-reisen']={
webappId:    '1011',
documentId:  '86455',
internalId:  'ddp-reisen',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '86431',
internalId:  '',
customField: '20070120-212557'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '86455',
internalId:  '',
customField: '20070120-212658'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '86443',
internalId:  '',
customField: '20070120-212624'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '86651',
internalId:  '',
customField: '20090519-121023'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '86882',
internalId:  '',
customField: '20080613-112948'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '86958',
internalId:  '',
customField: '20100105-132655'
};
webappMappings['3001']=webappMappings['3001-']={
webappId:    '3001',
documentId:  '86958',
internalId:  '',
customField: ''
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '87437',
internalId:  '',
customField: '20090911-100950'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '88597',
internalId:  '',
customField: '20090915-203754'
};
webappMappings['7091']=webappMappings['7091-38799']={
webappId:    '7091',
documentId:  '13679',
internalId:  '38799',
customField: 'align:left;language:de;country:DE;'
};
var canonHostname = 'cfawrk10.aul.t-online.de';
var accountId     = 'ATOIX0INVRI2';
var companyName   = 'o+p+t+i+-+k+o+s++++B+r+i+l+l+e+n+g+l+%C3%A4+s+e+r';
var htmlTitle	  = 'opti-kos+Brillengl%C3%A4ser';
var metaKeywords  = 'brillengl%C3%A4ser+brillengl%C3%A4ser+brillengl%C3%A4ser+Brillengl%C3%A4ser+brillen+opikerbedarf+augenoptik+einschleifserviceprogressivegl%C3%A4ser+innen+progression+einst%C3%A4rkengl%C3%A4ser+mehrst%C3%A4rkengl%C3%A4ser+bifocal+photochromic+phototrop+transition+sonnenschutzgl%C3%A4ser+sonnnenschutz+uv+schutz';
var metaContents  = 'Brillenglas+Lieferant+f%C3%BCr+Augenoptiker+G%C3%BCnstige+Brillengl%C3%A4ser+Einschleifservice';
					                                                                    
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 */					                                                            
