/* [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','41938',jdecode('Home'),jdecode(''),'/41938.html','true',[],''],
	['PAGE','112101',jdecode('Aktuelle+Berichte'),jdecode(''),'/112101.html','true',[],''],
	['PAGE','41958',jdecode('News+%2F+Termine+%2F+FAQ'),jdecode(''),'/41958.html','true',[],''],
	['PAGE','131901',jdecode('Rund+um+Elvis%26%23x27%3B+Musik'),jdecode(''),'/131901.html','true',[],''],
	['PAGE','113001',jdecode('Blog'),jdecode(''),'/113001.html','true',[],''],
	['PAGE','127301',jdecode('Unsere+Spende+f%C3%BCr+Kenia'),jdecode(''),'/127301.html','true',[],''],
	['PAGE','41976',jdecode('Musik+%2F+Bio+%2F+Sonderhefte'),jdecode(''),'/41976.html','true',[],''],
	['PAGE','42017',jdecode('G%C3%A4stebuch'),jdecode(''),'/42017.html','true',[],''],
	['PAGE','42016',jdecode('G%C3%A4stebucheintr%C3%A4ge'),jdecode(''),'/42016.html','true',[],''],
	['PAGE','42243',jdecode('Links'),jdecode(''),'/42243.html','true',[],'']];
var siteelementCount=10;
theSitetree.topTemplateName='Guitar';
theSitetree.paletteFamily='881D1D';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='16780';
theSitetree.graphicsetId='12265';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='CB863F';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Guitar',
				paletteFamily: 	'881D1D',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'16780',
				graphicsetId: 	'12265',
				contentColor: 	'FFFFFF',
				contentBGColor: 'CB863F',
				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:  '41938',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41938',
internalId:  '',
customField: '20100721-122204'
};
webappMappings['1002']=webappMappings['1002-42017atoix0i765mb']={
webappId:    '1002',
documentId:  '42017',
internalId:  '42017atoix0i765mb',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-42017atoix0i765mb']={
webappId:    '1002',
documentId:  '42016',
internalId:  '42017atoix0i765mb',
customField: 'action=list'
};
webappMappings['1007']=webappMappings['1007-1239b688b47']={
webappId:    '1007',
documentId:  '127301',
internalId:  '1239b688b47',
customField: 'g.14edlmuei.js9cvqsbue.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '131901',
internalId:  '',
customField: '20100209-110844'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41976',
internalId:  '',
customField: '20090915-111010'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42243',
internalId:  '',
customField: '20100401-111156'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41958',
internalId:  '',
customField: '20100721-122528'
};
webappMappings['7050']=webappMappings['7050-41544']={
webappId:    '7050',
documentId:  '113001',
internalId:  '41544',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42017',
internalId:  '',
customField: '20090923-192545'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42016',
internalId:  '',
customField: '20070205-181847'
};
webappMappings['1501']=webappMappings['1501-29920975']={
webappId:    '1501',
documentId:  '41938',
internalId:  '29920975',
customField: '1501'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '112101',
internalId:  '',
customField: '20100628-132159'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '113001',
internalId:  '',
customField: '20090723-192647'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '127301',
internalId:  '',
customField: '20090908-231406'
};
var canonHostname = 'c4awrk01.aul.t-online.de';
var accountId     = 'ATOIX0I765MB';
var companyName   = 'Elvis+Presley+Fan+Club';
var htmlTitle	  = 'Elvis+Presley+Fan+Club%2C+Interessengemeinschaft';
var metaKeywords  = 'Elvis+Presley%2C+Elvis+Aaron+Presley%2C+Elvis+A.+Presley%2C+Elvis+Aron+Presley%2C+Interessengemeinschaft%2C+Fanclub%2C+Graceland%2C+RocknRoll%2C+www.elvispresley-fanclub.de%2C+King+of+Rock%C2%B4n%C2%B4Roll%2C+Elvis+Presley+Fan+Club%2C+Elvis+Presley+Fan+Club+Interessengemeinschaft%2C+K%C3%BCnstler+des+20.+Jahrhunderts%2C+In+the+Ghetto%2C+Hawaii+Show%2C+Tupelo%2C+Jailhouse+Rock%2C+Love+me+tender%2C+Viva+Las+Vegas%2C+Germany%2C+';
var metaContents  = 'Unser+Elvis+Presley+Fan+Club%2FInteressengemeinschaft+ist+bei+Elvis+Presley+Enterprises+in+Memphis+registriert.+Wir+sind+ein+offizieller+Fan+Club.+';
					                                                                    
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 */					                                                            
