/* [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','40577',jdecode('Dieters+Schlager+Radio.TV'),jdecode(''),'/40577.html','true',[],''],
	['PAGE','40586',jdecode('Schlager+Radio'),jdecode(''),'/40586.html','true',[],''],
	['PAGE','40595',jdecode('Rock%C2%B4n+Roll+Radio'),jdecode(''),'/40595.html','true',[],''],
	['PAGE','40604',jdecode('Radio+-+Einstellung'),jdecode(''),'/40604.html','true',[],''],
	['PAGE','40613',jdecode('Chat+-+Schlager+Radio'),jdecode(''),'/40613.html','true',[],''],
	['PAGE','40622',jdecode('Sendeplan'),jdecode(''),'/40622.html','true',[],''],
	['PAGE','40631',jdecode('Moderatoren'),jdecode(''),'/40631.html','true',[],''],
	['PAGE','40640',jdecode('Musikw%C3%BCnsche'),jdecode(''),'/40640.html','true',[],''],
	['PAGE','40722',jdecode('Charts'),jdecode(''),'/40722/home.html','true',[ 
		['PAGE','40731',jdecode('Charts+-+U.S+1950+-+1959'),jdecode(''),'/40722/40731.html','true',[],''],
		['PAGE','40740',jdecode('Charts+-+U.S+1960+-+1969'),jdecode(''),'/40722/40740.html','true',[],''],
		['PAGE','40749',jdecode('Charts+-+Deutsch'),jdecode(''),'/40722/40749.html','true',[],''],
		['PAGE','40758',jdecode('Deutsche+-+Interpreten'),jdecode(''),'/40722/40758.html','true',[],'']
	],''],
	['PAGE','40559',jdecode('G%C3%A4stebuch'),jdecode(''),'/40559/home.html','true',[ 
		['PAGE','40558',jdecode('Eintr%C3%A4ge'),jdecode(''),'/40559/40558.html','true',[],'']
	],''],
	['PAGE','40685',jdecode('Schlagerforum'),jdecode(''),'/40685.html','true',[],''],
	['PAGE','40658',jdecode('Links'),jdecode(''),'/40658.html','true',[],''],
	['PAGE','40667',jdecode('Kontakt'),jdecode(''),'/40667.html','true',[],''],
	['PAGE','40676',jdecode('Impressum'),jdecode(''),'/40676.html','true',[],'']];
var siteelementCount=20;
theSitetree.topTemplateName='TOI_Lights_1';
theSitetree.paletteFamily='0C0623';
theSitetree.keyvisualId='10822';
theSitetree.keyvisualName='kv_10822.jpg';
theSitetree.fontsetId='31854';
theSitetree.graphicsetId='13647';
theSitetree.contentColor='8BCFF7';
theSitetree.contentBGColor='0C0623';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Lights_1',
				paletteFamily: 	'0C0623',
				keyvisualId: 	'10822',
				keyvisualName: 	'kv_10822.jpg',
				fontsetId: 		'31854',
				graphicsetId: 	'13647',
				contentColor: 	'8BCFF7',
				contentBGColor: '0C0623',
				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: '20100731-101603'
};
webappMappings['1002']=webappMappings['1002-40559atoix0irxs47']={
webappId:    '1002',
documentId:  '40559',
internalId:  '40559atoix0irxs47',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-40559atoix0irxs47']={
webappId:    '1002',
documentId:  '40558',
internalId:  '40559atoix0irxs47',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40577',
internalId:  '',
customField: '20100731-103423'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40586',
internalId:  '',
customField: '20100731-103504'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40595',
internalId:  '',
customField: '20100731-103533'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40604',
internalId:  '',
customField: '20100731-103600'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40613',
internalId:  '',
customField: '20100731-103626'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40622',
internalId:  '',
customField: '20100731-103652'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40631',
internalId:  '',
customField: '20100731-103717'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40640',
internalId:  '',
customField: '20100731-103826'
};
webappMappings['1008']=webappMappings['1008-72683619']={
webappId:    '1008',
documentId:  '40640',
internalId:  '72683619',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40559',
internalId:  '',
customField: '20100731-101748'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40685',
internalId:  '',
customField: '20100731-103947'
};
webappMappings['1003']=webappMappings['1003-atoix0irxs4712a279760cf']={
webappId:    '1003',
documentId:  '40685',
internalId:  'atoix0irxs4712a279760cf',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40722',
internalId:  '',
customField: '20100731-110702'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40658',
internalId:  '',
customField: '20100731-104149'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40667',
internalId:  '',
customField: '20100731-104216'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40676',
internalId:  '',
customField: '20100731-104302'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40558',
internalId:  '',
customField: '20100731-101748'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40731',
internalId:  '',
customField: '20100731-110732'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40740',
internalId:  '',
customField: '20100731-110800'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40749',
internalId:  '',
customField: '20100731-110833'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40758',
internalId:  '',
customField: '20100731-110909'
};
webappMappings['1501']=webappMappings['1501-72685366']={
webappId:    '1501',
documentId:  '39994',
internalId:  '72685366',
customField: '1501'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0IRXS47';
var companyName   = 'Dieters+Schlagerradio';
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 */					                                                            
