/* [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','4579',jdecode('Home'),jdecode(''),'/4579.html','true',[],''],
	['PAGE','37825',jdecode('NEWS+%2F+GIGS+'),jdecode(''),'/37825.html','true',[],''],
	['PAGE','24401',jdecode('Maritas+Bluespaintings'),jdecode(''),'/24401.html','true',[],''],
	['PAGE','9555',jdecode('Red+House'),jdecode(''),'/9555.html','true',[],''],
	['PAGE','37293',jdecode('The+Flamingstratmen'),jdecode(''),'/37293.html','true',[],''],
	['PAGE','9528',jdecode('What%C2%B4s+Up-the+band'),jdecode(''),'/9528.html','true',[],''],
	['PAGE','9582',jdecode('Bluespecker'),jdecode(''),'/9582.html','true',[],''],
	['PAGE','9609',jdecode('BHoF+Jamsession'),jdecode(''),'/9609.html','true',[],''],
	['PAGE','9501',jdecode('History'),jdecode(''),'/9501.html','true',[],''],
	['PAGE','37202',jdecode('Pictures%2FLondon+'),jdecode(''),'/37202.html','true',[],''],
	['PAGE','9636',jdecode('Links+%2F+Disclaimer'),jdecode(''),'/9636.html','true',[],''],
	['PAGE','37834',jdecode('Professional+Zone'),jdecode(''),'/37834.html','true',[],'']];
var siteelementCount=12;
theSitetree.topTemplateName='Litfass';
theSitetree.paletteFamily='CE636A';
theSitetree.keyvisualId='11035';
theSitetree.keyvisualName='kv_11035.jpg';
theSitetree.fontsetId='32074';
theSitetree.graphicsetId='13771';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='CE636A';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Litfass',
				paletteFamily: 	'CE636A',
				keyvisualId: 	'11035',
				keyvisualName: 	'kv_11035.jpg',
				fontsetId: 		'32074',
				graphicsetId: 	'13771',
				contentColor: 	'FFFFFF',
				contentBGColor: 'CE636A',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'false'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4579',
internalId:  '',
customField: '20110512-100718'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9636',
internalId:  '',
customField: '20101103-150638'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '37825',
internalId:  '',
customField: '20110512-100540'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9501',
internalId:  '',
customField: '20101103-150954'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '37202',
internalId:  '',
customField: '20090908-095306'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '37293',
internalId:  '',
customField: '20101103-151845'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9582',
internalId:  '',
customField: '20101103-151243'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9555',
internalId:  '',
customField: '20101103-151409'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9528',
internalId:  '',
customField: '20090224-113958'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '9609',
internalId:  '',
customField: '20101220-135926'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '24401',
internalId:  '',
customField: '20061209-154832'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '37834',
internalId:  '',
customField: '20101201-144205'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0IN3FSD';
var companyName   = 'bluespecker+-+blues%2C+music+and+arts+++++++++++++++';
var htmlTitle	  = 'Bluespecker';
var metaKeywords  = 'Werner+Lindner%2C+What%C2%B4s+Up%2C+Red+House%2C+Bluespecker%2C+Blues.';
var metaContents  = 'Homepage+des+Gitarristen+Werner+Lindner.Informationen+zu+den+Gruppen+What%C2%B4s+Up%2C+Red+House%2C+Bluespecker+und+Soloprojekten.';
					                                                                    
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 */					                                                            

