/* [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','40555',jdecode('Startseite'),jdecode(''),'/40555.html','true',[],''],
	['PAGE','40950',jdecode('Plattenspieler+'),jdecode(''),'/40950.html','true',[],''],
	['PAGE','41050',jdecode('Tonabnehmer+%2F+Ersatznadeln'),jdecode(''),'/41050.html','true',[],''],
	['PAGE','41059',jdecode('Komplettanlagen+%2F+Radios'),jdecode(''),'/41059.html','true',[],''],
	['PAGE','40988',jdecode('Die+Klassische+Stereo-Anlage'),jdecode(''),'/40988.html','true',[],''],
	['PAGE','40938',jdecode('Schallplatten'),jdecode(''),'/40938.html','true',[],''],
	['PAGE','40959',jdecode('Plattenw%C3%A4sche+'),jdecode(''),'/40959.html','true',[],''],
	['PAGE','40979',jdecode('Der+H%C3%B6rraum'),jdecode(''),'/40979.html','true',[],''],
	['PAGE','40564',jdecode('Kontakt+%2F+Impressum'),jdecode(''),'/40564.html','true',[],''],
	['PAGE','41765',jdecode('Anfahrt'),jdecode(''),'/41765.html','true',[],'']];
var siteelementCount=10;
theSitetree.topTemplateName='TOI_Theater_1';
theSitetree.paletteFamily='D9D19F';
theSitetree.keyvisualId='10746';
theSitetree.keyvisualName='kv_10746.jpg';
theSitetree.fontsetId='31808';
theSitetree.graphicsetId='13602';
theSitetree.contentColor='EEE6B5';
theSitetree.contentBGColor='000000';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Theater_1',
				paletteFamily: 	'D9D19F',
				keyvisualId: 	'10746',
				keyvisualName: 	'kv_10746.jpg',
				fontsetId: 		'31808',
				graphicsetId: 	'13602',
				contentColor: 	'EEE6B5',
				contentBGColor: '000000',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '40555',
internalId:  '1006',
customField: '1006'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '40555',
internalId:  '',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40564',
internalId:  '',
customField: '20090716-111233'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40555',
internalId:  '',
customField: '20091003-151201'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40950',
internalId:  '',
customField: '20100207-154207'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40938',
internalId:  '',
customField: '20080406-005140'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40959',
internalId:  '',
customField: '20091003-155200'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40979',
internalId:  '',
customField: '20081123-104239'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40988',
internalId:  '',
customField: '20091003-151358'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41050',
internalId:  '',
customField: '20091003-153404'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41059',
internalId:  '',
customField: '20091003-155007'
};
webappMappings['2001']=webappMappings['2001-location']={
webappId:    '2001',
documentId:  '41765',
internalId:  'location',
customField: 'language:de;country:DE;isIncluded:false;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41765',
internalId:  '',
customField: '20070808-194213'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '40950',
internalId:  '',
customField: 'language:de;country:DE;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '41050',
internalId:  '',
customField: 'language:de;country:DE;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '41059',
internalId:  '',
customField: 'language:de;country:DE;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '40988',
internalId:  '',
customField: 'language:de;country:DE;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '40938',
internalId:  '',
customField: 'language:de;country:DE;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '40959',
internalId:  '',
customField: 'language:de;country:DE;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '40979',
internalId:  '',
customField: 'language:de;country:DE;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '40564',
internalId:  '',
customField: 'language:de;country:DE;'
};
webappMappings['5001']=webappMappings['5001-']={
webappId:    '5001',
documentId:  '41765',
internalId:  '',
customField: 'language:de;country:DE;'
};
var canonHostname = 'cfawrk08.aul.t-online.de';
var accountId     = 'ATOIX0I7VQ18';
var companyName   = 'Ihr+Home-Hifi+Spezialist+in+Bochum';
var htmlTitle	  = 'Scheibendreher+der+Home+Hifi+-+Spezialist+in+Bochum';
var metaKeywords  = 'Schallplatten%2C+Plattenspieler%2C+Schallplattenspieler%2C+Plattenw%C3%A4sche%2C+Vinyl+Digitalisieren%2C+Tonabnehmer%2C+Ersatznadeln%2C+Plattenspieler+-+Wartung%2C+Clearaudio%2C+Pro-Ject%2C+Thorens%2C++Verst%C3%A4rker%2C+Schallplatten%2C+Plattenspieler%2C+R%C3%B6hrenverst%C3%A4rker%2C+Radios%2C+Komplettanlagen%2C+iPod-Peripherie%2C+Lautsprecher%2C+CD-Player%2C+DUAL%2C+Thorens%2C+Clearaudio%2C+Pro-Ject%2C+Music+Hall%2C+Dynavox%2C+Ortofon%2C+Goldring%2C+Teac%2C+Phonar%2C+Nagaoka%2C+Denon%2C+Cerwin+VegaOrtofon%2C+Audio-technica%2C+Teac%2C+Vinylw%C3%A4sche%2C+NAD%2C+DUAL%2C+Stanton%2C+Denon.meta+name%3Dgoogle-site-verification+content%3D4qAON_kEb0iqxLweQAgIoF7IePnZmJA1OWgxk_orYR0+%2F';
var metaContents  = 'Bei+Scheibendreher+Home+Hifi+finden+Sie+eine+Auswahl+an+bezahlbaren+Hifi-Komponenten+wie+Verst%C3%A4rker%2C+Plattenspieler%2C+CD-Player%2C+Receiver+usw.';
					                                                                    
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 */					                                                            
