/* [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','23201',jdecode('HOME'),jdecode(''),'/23201.html','true',[],''],
	['PAGE','126306',jdecode('CRAZY+LENSES'),jdecode(''),'/126306.html','true',[],''],
	['PAGE','128406',jdecode('ColourVUE+Crazy+ohne'),jdecode(''),'/128406.html','true',[],''],
	['PAGE','128906',jdecode('ColourVUE+Crazy+mit'),jdecode(''),'/128906.html','true',[],''],
	['PAGE','123806',jdecode('MAGIC+LENS+1-Monat'),jdecode(''),'/123806.html','true',[],''],
	['PAGE','29801',jdecode('MAGIC+LENS+3-Monate'),jdecode(''),'/29801.html','true',[],''],
	['PAGE','101627',jdecode('BLIND+LENSES'),jdecode(''),'/101627.html','true',[],''],
	['PAGE','32745',jdecode('MONOKEL+%2B+KNEIFER'),jdecode(''),'/32745.html','true',[],''],
	['PAGE','32637',jdecode('AKTIONEN'),jdecode(''),'/32637.html','true',[],''],
	['PAGE','31901',jdecode('BESTELLUNG%2BKontakt'),jdecode(''),'/31901/home.html','true',[ 
		['PAGE','31939',jdecode('Kontakt+%28Folgeseite%29'),jdecode(''),'/31901/31939.html','false',[],'']
	],''],
	['PAGE','50006',jdecode('LINKS+%2B+BANNER'),jdecode(''),'/50006.html','true',[],''],
	['PAGE','32834',jdecode('KUNDENBILDER'),jdecode(''),'/32834.html','true',[],''],
	['PAGE','32668',jdecode('AGB%26%23x27%3Bs%2BImpressum'),jdecode(''),'/32668.html','true',[],'']];
var siteelementCount=14;
theSitetree.topTemplateName='Metal';
theSitetree.paletteFamily='9E9E9E';
theSitetree.keyvisualId='806';
theSitetree.keyvisualName='rose.jpg';
theSitetree.fontsetId='142';
theSitetree.graphicsetId='155';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='000000';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Metal',
				paletteFamily: 	'9E9E9E',
				keyvisualId: 	'806',
				keyvisualName: 	'rose.jpg',
				fontsetId: 		'142',
				graphicsetId: 	'155',
				contentColor: 	'FFFFFF',
				contentBGColor: '000000',
				a_color: 		'9E9E9E',
				b_color: 		'E8EAEE',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['1001']=webappMappings['1001-atoix0ine3hn103a379826b']={
webappId:    '1001',
documentId:  '31939',
internalId:  'atoix0ine3hn103a379826b',
customField: 'followUp'
};
webappMappings['1001']=webappMappings['1001-atoix0ine3hn103a379826b']={
webappId:    '1001',
documentId:  '31901',
internalId:  'atoix0ine3hn103a379826b',
customField: ''
};
webappMappings['1007']=webappMappings['1007-103ad4c116d']={
webappId:    '1007',
documentId:  '32834',
internalId:  '103ad4c116d',
customField: 'g.10emjuh94.nbnhc6h9an.3o'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '23201',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '23201',
internalId:  '',
customField: '20110213-172635'
};
webappMappings['1501']=webappMappings['1501-17199481']={
webappId:    '1501',
documentId:  '23201',
internalId:  '17199481',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32745',
internalId:  '',
customField: '20110226-172126'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '29801',
internalId:  '',
customField: '20101026-144600'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '101627',
internalId:  '',
customField: '20101125-110846'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32637',
internalId:  '',
customField: '20100929-092742'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '31901',
internalId:  '',
customField: '20081212-005437'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '31939',
internalId:  '',
customField: '20050503-185259'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '50006',
internalId:  '',
customField: '20110223-015959'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32834',
internalId:  '',
customField: '20050514-140903'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '32668',
internalId:  '',
customField: '20110221-224124'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '126306',
internalId:  '',
customField: '20110213-161912'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '123806',
internalId:  '',
customField: '20101024-113703'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '128406',
internalId:  '',
customField: '20110221-223729'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '128906',
internalId:  '',
customField: '20110221-223931'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0INE3HN';
var companyName   = 'vampirlinsen.de';
var htmlTitle	  = 'Vampirlinsen%2C+Motivlinsen%2C+Crazy+Lenses%2C+Magic+Lenses%2C+ColourVUE+Fun+Linsen%2C+Funny+Lens%2C+Monokel%2C+Kneifer%2C+undurchsichtige+Linsen%2C+farblose+Monatslinsen+%28Halbjahrespaket%2C+inkl.+Pflegemittel%3A+ab+49%2C80+Euro%29';
var metaKeywords  = 'Vampirlinsen%2C+vampirlinsen%2C+Monokel%2C+Kneifer%2C+Motivlinsen%2C+motivlinsen%2C+ColourVUE+Funlinsen%2C+funlinsen%2C+Crazy+Lenses%2C+crazy+lenses%2C+Funny+Lens%2C+funny+lens%2C+MagicLenses%2C+Magic+Lenses%2C+magiclenses%2C+magic+lenses%2C+undurchsichtige+Linsen%2C+Kontaktlinsen%2C+Contactlinsen%2C+Kontaktlinsenversand%2C+contactlinsenversand%2C+Kontaktlinsenshop%2C+Kontaktlinsen+Versand%2C+contactlinsen+versand%2C+Kontaktlinsen+Shop%2C+contactlinsenshop%2C+kontaktlinsen%2C+contactlinsen%2C+farbige+Kontaktlinsen%2C+farbige+Contactlinsen%2C+Vampir%2C+Vampire%2C+vampire%2C+Gothic%2C+gothic%2C+Mittelalter%2C+mittelalter%2C+kontaktlinsen+online%2C+contactlinsen+online%2C+kontaktlinsen+online+bestellen%2C+contactlinsen+online+bestellen%2C+weiche+Kontaktlinsen%2C+weiche+Contactlinsen%2C+Linsen%2C+linsen%2C+lens%2C+lenses';
var metaContents  = 'Vampirlinsen%2C+vampirlinsen%2C+Monokel%2C+Kneifer%2C+Motivlinsen%2C+motivlinsen%2C+ColourVUE+Funlinsen%2C+funlinsen%2C+Crazy+Lenses%2C+crazy+lenses%2C+Funny+Lens%2C+funny+lens%2C+MagicLenses%2C+Magic+Lenses%2C+magiclenses%2C+magic+lenses%2C+undurchsichtige+Linsen%2C+Kontaktlinsen%2C+Contactlinsen%2C+Kontaktlinsenversand%2C+contactlinsenversand%2C+Kontaktlinsenshop%2C+Kontaktlinsen+Versand%2C+contactlinsen+versand%2C+Kontaktlinsen+Shop%2C+contactlinsenshop%2C+kontaktlinsen%2C+contactlinsen%2C+farbige+Kontaktlinsen%2C+farbige+Contactlinsen%2C+Vampir%2C+Vampire%2C+vampire%2C+Gothic%2C+gothic%2C+Mittelalter%2C+mittelalter%2C+kontaktlinsen+online%2C+contactlinsen+online%2C+kontaktlinsen+online+bestellen%2C+contactlinsen+online+bestellen%2C+weiche+Kontaktlinsen%2C+weiche+Contactlinsen%2C+Linsen%2C+linsen%2C+lens%2C+lenses';
					                                                                    
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 */					                                                            

