/* [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','40958',jdecode('Home'),jdecode(''),'/40958.html','true',[],''],
	['PAGE','40976',jdecode('Pop-+und+Schagers%C3%A4nger'),jdecode(''),'/40976.html','true',[],''],
	['PAGE','56001',jdecode('Akkordeon+'),jdecode(''),'/56001.html','true',[],''],
	['PAGE','58301',jdecode('Weihachtsprogramm'),jdecode(''),'/58301.html','true',[],''],
	['PAGE','59701',jdecode('H%C3%B6rproben'),jdecode(''),'/59701.html','true',[],''],
	['PAGE','56022',jdecode('CD-+und+Musikproduktion'),jdecode(''),'/56022.html','true',[],''],
	['PAGE','61201',jdecode('Suche'),jdecode(''),'/61201.html','true',[],''],
	['PAGE','41003',jdecode('Anfragen+%28+Buchen'),jdecode(''),'/41003.html','true',[],''],
	['PAGE','41021',jdecode('Kontakt'),jdecode(''),'/41021.html','true',[],''],
	['PAGE','41030',jdecode('Impressum'),jdecode(''),'/41030.html','true',[],''],
	['PAGE','41136',jdecode('G%C3%A4stebuch'),jdecode(''),'/41136/home.html','true',[ 
		['PAGE','41135',jdecode('Eintr%C3%A4ge'),jdecode(''),'/41136/41135.html','true',[],'']
	],'']];
var siteelementCount=12;
theSitetree.topTemplateName='Metal';
theSitetree.paletteFamily='A3CAFE';
theSitetree.keyvisualId='780';
theSitetree.keyvisualName='uhr.jpg';
theSitetree.fontsetId='143';
theSitetree.graphicsetId='161';
theSitetree.contentColor='DDDDDD';
theSitetree.contentBGColor='000000';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Metal',
				paletteFamily: 	'A3CAFE',
				keyvisualId: 	'780',
				keyvisualName: 	'uhr.jpg',
				fontsetId: 		'143',
				graphicsetId: 	'161',
				contentColor: 	'DDDDDD',
				contentBGColor: '000000',
				a_color: 		'A3CAFE',
				b_color: 		'87A7D2',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'false',
				contentFontFace:'Times New Roman, Times, serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '40958',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40958',
internalId:  '',
customField: '20110620-152551'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '61201',
internalId:  '',
customField: '20120118-145644'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40976',
internalId:  '',
customField: '20120118-144436'
};
webappMappings['1002']=webappMappings['1002-41136atoix0i7xc46']={
webappId:    '1002',
documentId:  '41136',
internalId:  '41136atoix0i7xc46',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-41136atoix0i7xc46']={
webappId:    '1002',
documentId:  '41135',
internalId:  '41136atoix0i7xc46',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '59701',
internalId:  '',
customField: '20111017-230542'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41003',
internalId:  '',
customField: '20070801-231650'
};
webappMappings['1008']=webappMappings['1008-31919536']={
webappId:    '1008',
documentId:  '41003',
internalId:  '31919536',
customField: 'de:DE:'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41021',
internalId:  '',
customField: '20120118-150025'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41136',
internalId:  '',
customField: '20070323-230544'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41030',
internalId:  '',
customField: '20110620-152916'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41135',
internalId:  '',
customField: '20070323-230544'
};
webappMappings['1501']=webappMappings['1501-31743567']={
webappId:    '1501',
documentId:  '40958',
internalId:  '31743567',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '58301',
internalId:  '',
customField: '20110909-150851'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56001',
internalId:  '',
customField: '20110620-153704'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '56022',
internalId:  '',
customField: '20120118-145036'
};
var canonHostname = 'c4awrk03.aul.t-online.de';
var accountId     = 'ATOIX0I7XC46';
var companyName   = 'Willkommen+bei+J%C3%B6rg+Muhlack';
var htmlTitle	  = 'Schlager-+und+Pops%C3%A4nger+J%C3%B6rg+Muhlack+%2C+Komponist%2C+Arrangeur%2CProduzent%2C+Akkordeon';
var metaKeywords  = 'Pops%C3%A4nger%2C+Schlagers%C3%A4nger%2C+Pop-+und+Schlagers%C3%A4nger%2C+J%C3%B6rg+Muhlack%2CSchlageroldies%2C+Oldies%2CHits.Schlager%2CS%C3%A4nger%2CAlleinunterhalter%2Cvolst%C3%BClicher+Schlager%2C+Volksmusik%2CStimmungslieder%2CKomponist%2CArrangeur%2CProduzent%2CCD-Produktionen%2CMusikproduktion%2CSongschreiber%2CFasching%2CFaschingsprogremm%2C+S%C3%A4ngerin+gesucht';
var metaContents  = 'J%C3%B6rg+Muhlack%2C+Pops%C3%A4nger+und+Schlagers%C3%A4nger+mit+den+besten+Hit%C2%B4s+aus+seinem+Album++Deine+Liebe+zu+mir...+.+und+als+zus%C3%A4tzlichen+Bonus+die+besten+Odies+der+deutschen+Schlagerszene%2C+auch+Stimmungslieder+u.v.m.sowie+ein+Faschings-+und+Weihnachtsprogramm%2C+Komponist%2CArrangeur+und+Produzent+%28+Musikproduktionen%29+CD-Produktionen%2Csuche+Textdichter%2C+Textdichterin';
					                                                                    
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 */					                                                            

