/* [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','14405',jdecode('++++Willkommen'),jdecode(''),'/14405.html','true',[],''],
	['PAGE','28801',jdecode('++++%C3%9Cber+uns'),jdecode(''),'/28801.html','true',[],''],
	['PAGE','16201',jdecode('++++Unser+Ratgeber-Service'),jdecode(''),'/16201.html','true',[],''],
	['PAGE','816348',jdecode('++++Kundenstimmen'),jdecode(''),'/816348.html','true',[],''],
	['PAGE','16255',jdecode('++++Impressum'),jdecode(''),'/16255.html','true',[],''],
	['PAGE','57401',jdecode('++++Links'),jdecode(''),'/57401/home.html','true',[ 
		['PAGE','445148',jdecode('++++Marken+von+...+-+A'),jdecode(''),'/57401/445148.html','true',[],''],
		['PAGE','72301',jdecode('++++...+B+-+F'),jdecode(''),'/57401/72301.html','true',[],''],
		['PAGE','104478',jdecode('++++...+G+-+M'),jdecode(''),'/57401/104478.html','true',[],''],
		['PAGE','104487',jdecode('++++...+N+-+S'),jdecode(''),'/57401/104487.html','true',[],''],
		['PAGE','104496',jdecode('++++...+T+-+Z'),jdecode(''),'/57401/104496.html','true',[],''],
		['PAGE','109056',jdecode('++++Weitere+URLs'),jdecode(''),'/57401/109056.html','true',[],'']
	],''],
	['PAGE','138548',jdecode('++++Sat-Empfang+-+leicht+gemacht'),jdecode(''),'/138548.html','true',[],'']];
var siteelementCount=13;
theSitetree.topTemplateName='TOI_Lights_1';
theSitetree.paletteFamily='0F0E06';
theSitetree.keyvisualId='10822';
theSitetree.keyvisualName='kv_10822.jpg';
theSitetree.fontsetId='31854';
theSitetree.graphicsetId='13650';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='0F0E06';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Lights_1',
				paletteFamily: 	'0F0E06',
				keyvisualId: 	'10822',
				keyvisualName: 	'kv_10822.jpg',
				fontsetId: 		'31854',
				graphicsetId: 	'13650',
				contentColor: 	'FFFFFF',
				contentBGColor: '0F0E06',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '14405',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14405',
internalId:  '',
customField: '20120202-090949'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28801',
internalId:  '',
customField: '20120203-100320'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16201',
internalId:  '',
customField: '20120203-101346'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '138548',
internalId:  '',
customField: '20120201-091415'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '57401',
internalId:  '',
customField: '20110126-184632'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '16255',
internalId:  '',
customField: '20110324-100635'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '72301',
internalId:  '',
customField: '20111030-083513'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '104478',
internalId:  '',
customField: '20111030-085212'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '104487',
internalId:  '',
customField: '20111030-083425'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '104496',
internalId:  '',
customField: '20110601-093049'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '445148',
internalId:  '',
customField: '20120123-154943'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '109056',
internalId:  '',
customField: '20110128-094742'
};
webappMappings['1008']=webappMappings['1008-70872157']={
webappId:    '1008',
documentId:  '138548',
internalId:  '70872157',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['7091']=webappMappings['7091-1895']={
webappId:    '7091',
documentId:  '16201',
internalId:  '1895',
customField: 'align:right;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '816348',
internalId:  '',
customField: '20120201-092114'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0IN3FAM';
var companyName   = '++++Seit+2004%3A++++Die+L%C3%B6sung+f%C3%BCr+Ihre+Sach-+und+Technikfragen';
var htmlTitle	  = '%2B%2B+Heimkino-HiFi-Ratgeber%3A+HiFi-Beratung+%2F+neutrale+Kaufberatung+Lautsprecher%2C+Fernseher%2C+AV-Receiver%2C+Verstaerker+u.v.m.';
var metaKeywords  = 'Audio%2C+Auskunft%2C+AV-Receiver%2C+Beamer%2C+Berater%2C+Beratung%2C+Blu-ray%2C+CD-Player%2C+CD-Spieler%2C+DVD-Player%2C+DVD-Recorder%2C+Einkaufsberatung%2C+Einkaufshilfe%2C+Einkaufsratgeber%2C+Expertenrat%2C+Fachwissen%2C+Heimkino%2C+Heimkino-Kaufberatung%2C+Heimkinoberatung%2C+Heimkinoratgeber%2C+Herstellerverzeichnis%2C+HiFi%2C+HiFi-Kaufberatung%2C+HiFi-Ratgeber%2C+HiFi-Thematik%2C+High-End%2C+Kaufberater%2C+Kaufberatung%2C+Kaufempfehlungen%2C+Kaufhilfe%2C+Kaufratgeber%2C+Kabel%2C+Klangoptimierung%2C+Lautsprecher%2C+Multimedia%2C+Musikwiedergabe%2C+Onlineberatung%2C+Plattenspieler%2C+Praxis-Tipps%2C+Probleml%C3%B6sungen%2C+Produktauskunft%2C+Produktberater%2C+Produktberatung%2C+Produktratgeber%2C+Profi-Tipps%2C+Produktinformationen%2C+Projektoren%2C+Ratgeber%2C+Ratgeberservice%2C+Raumakustik%2C+Sachfragen%2C+Sat%2C+Sat-Anlage%2C+Sat-Empfang%2C+Sat-Empfangstechnik%2C+Sat-Ratgeber%2C+Satelliten-Empfang%2C+Satelliten-Empfangstechnik%2C+Technikberater%2C+Technikberatung%2C+Technikerfahrung%2C+Technikexperten%2C+Technikfragen%2C+Technikratgeber%2C+Tuner%2C+TV%2C+TV-Ger%C3%A4te%2C+Unterhaltungselektronik%2C+Verst%C3%A4rker%2C+Video';
var metaContents  = 'Die+L%C3%B6sung+f%C3%BCr+Ihre+Sach-+und+Technikfragen%3A+UNABH%C3%84NGIGE+Experten+antworten+rund+ums+Thema+HiFi+%2F+High-End%2C+Heimkino%2C+Video%2C+TV%2C+Sat+und+Multimedia.';
					                                                                    
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 */					                                                            

