/* [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('Startseite'),jdecode(''),'/39994.html','true',[],''],
	['PAGE','42180',jdecode('Aktuell+September+2010'),jdecode(''),'/42180.html','true',[],''],
	['PAGE','40868',jdecode('Qualit%C3%A4tssicherung+'),jdecode(''),'/40868.html','true',[],''],
	['PAGE','40777',jdecode('%3E+QuickChange+%C3%9Cbersicht'),jdecode(''),'/40777.html','true',[],''],
	['PAGE','41606',jdecode('%3E+QuickChange+Filtertypen'),jdecode(''),'/41606.html','true',[],''],
	['PAGE','41903',jdecode('%3E+QuickChange+Auftisch'),jdecode(''),'/41903.html','true',[],''],
	['PAGE','40786',jdecode('%3E+QuickChange+OSMOSE'),jdecode(''),'/40786.html','true',[],''],
	['PAGE','41912',jdecode('%3E+QuickChange+mobil'),jdecode(''),'/41912.html','true',[],''],
	['PAGE','41802',jdecode('%3E+QuickChange+Teststand'),jdecode(''),'/41802.html','true',[],''],
	['PAGE','40712',jdecode('%3E+VIKING+Filter+Edelstahl'),jdecode(''),'/40712.html','true',[],''],
	['PAGE','41449',jdecode('%3E+Filtergeh%C3%A4use'),jdecode(''),'/41449.html','true',[],''],
	['PAGE','40795',jdecode('%3E+Filtereins%C3%A4tze'),jdecode(''),'/40795.html','true',[],''],
	['PAGE','40942',jdecode('%3E+Kannenfilter'),jdecode(''),'/40942.html','true',[],''],
	['PAGE','41036',jdecode('Info+AQUALEN+Aktivkohle'),jdecode(''),'/41036.html','true',[],''],
	['PAGE','41236',jdecode('Wissenswertes+zum+Wasser'),jdecode(''),'/41236.html','true',[],''],
	['PAGE','41408',jdecode('AGB+Sicherheitshinweise'),jdecode(''),'/41408.html','true',[],''],
	['PAGE','40951',jdecode('Wir+%C3%BCber+uns'),jdecode(''),'/40951.html','true',[],''],
	['PAGE','40647',jdecode('Impressum+%26+Kontakt'),jdecode(''),'/40647.html','true',[],'']];
var siteelementCount=18;
theSitetree.topTemplateName='Boston';
theSitetree.paletteFamily='4C5C9E';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='11067';
theSitetree.graphicsetId='11842';
theSitetree.contentColor='FAD7A9';
theSitetree.contentBGColor='6476B8';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Boston',
				paletteFamily: 	'4C5C9E',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'11067',
				graphicsetId: 	'11842',
				contentColor: 	'FAD7A9',
				contentBGColor: '6476B8',
				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['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '39994',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20100904-145948'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40647',
internalId:  '',
customField: '20100227-190837'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40712',
internalId:  '',
customField: '20100511-180004'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40777',
internalId:  '',
customField: '20100904-122105'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40795',
internalId:  '',
customField: '20100511-180334'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40786',
internalId:  '',
customField: '20100829-163718'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40868',
internalId:  '',
customField: '20100511-175827'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40942',
internalId:  '',
customField: '20100228-143103'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40951',
internalId:  '',
customField: '20091129-170213'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41036',
internalId:  '',
customField: '20100412-093201'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41236',
internalId:  '',
customField: '20100511-173424'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41408',
internalId:  '',
customField: '20100228-145327'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41449',
internalId:  '',
customField: '20100511-180156'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41606',
internalId:  '',
customField: '20100904-153050'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41802',
internalId:  '',
customField: '20100228-142039'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41903',
internalId:  '',
customField: '20100904-155049'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41912',
internalId:  '',
customField: '20100511-175846'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42180',
internalId:  '',
customField: '20100904-114328'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0IRQV3S';
var companyName   = 'Aquaphor+Filter';
var htmlTitle	  = '';
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 */					                                                            
