/* [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','41399',jdecode('Robert+Roth+und+Bal%C3%A1zs+D%C3%A1niel'),jdecode(''),'/41399/home.html','false',[ 
		['PAGE','41450',jdecode('Robert+Roth'),jdecode(''),'/41399/41450.html','false',[],''],
		['PAGE','41459',jdecode('Bal%C3%A1zs+D%C3%A1niel'),jdecode(''),'/41399/41459.html','false',[],'']
	],''],
	['PAGE','41390',jdecode('Frank+Muschalle+Trio'),jdecode(''),'/41390/home.html','false',[ 
		['PAGE','41415',jdecode('Frank+Muschalle'),jdecode(''),'/41390/41415.html','false',[],''],
		['PAGE','41424',jdecode('Dani+Gugolz'),jdecode(''),'/41390/41424.html','false',[],''],
		['PAGE','41433',jdecode('Peter+M%C3%BCller'),jdecode(''),'/41390/41433.html','false',[],'']
	],''],
	['PAGE','40587',jdecode('Kartenbestellung'),jdecode(''),'/40587.html','false',[],''],
	['PAGE','41325',jdecode('R%C3%BCckblick+'),jdecode(''),'/41325/home.html','true',[ 
		['PAGE','41351',jdecode('2010+-+2011'),jdecode(''),'/41325/41351.html','true',[],''],
		['PAGE','40578',jdecode('Info+B.B.+%26+the+Blues+Shacks'),jdecode(''),'/41325/40578.html','false',[],''],
		['PAGE','40569',jdecode('Info+Funtasten'),jdecode(''),'/41325/40569.html','false',[],'']
	],''],
	['PAGE','41219',jdecode('Boogie-+und+Bluesfreunde+e.V.'),jdecode(''),'/41219/home.html','true',[ 
		['PAGE','41228',jdecode('Aufnahmeantrag'),jdecode(''),'/41219/41228.html','true',[],''],
		['PAGE','41245',jdecode('Vereinssatzung'),jdecode(''),'/41219/41245.html','true',[],'']
	],''],
	['PAGE','40771',jdecode('G%C3%A4stebuch'),jdecode(''),'/40771/home.html','true',[ 
		['PAGE','40770',jdecode('Eintr%C3%A4ge'),jdecode(''),'/40771/40770.html','true',[],'']
	],''],
	['PAGE','40650',jdecode('Sponsoren+%2F+Links'),jdecode(''),'/40650.html','true',[],''],
	['PAGE','40605',jdecode('Kontakt+%2F+Impressum'),jdecode(''),'/40605.html','true',[],'']];
var siteelementCount=20;
theSitetree.topTemplateName='Guitar';
theSitetree.paletteFamily='6F2773';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='16778';
theSitetree.graphicsetId='12269';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='CB863F';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Guitar',
				paletteFamily: 	'6F2773',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'16778',
				graphicsetId: 	'12269',
				contentColor: 	'000000',
				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:  '39994',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39994',
internalId:  '',
customField: '20110513-131857'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40569',
internalId:  '',
customField: '20100225-192202'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40578',
internalId:  '',
customField: '20100225-193200'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40587',
internalId:  '',
customField: '20110504-212924'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41351',
internalId:  '',
customField: '20101005-152442'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40605',
internalId:  '',
customField: '20100310-113528'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40650',
internalId:  '',
customField: '20110403-173105'
};
webappMappings['1008']=webappMappings['1008-46251855']={
webappId:    '1008',
documentId:  '40587',
internalId:  '46251855',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['1002']=webappMappings['1002-40771atoix0ir9jv6']={
webappId:    '1002',
documentId:  '40771',
internalId:  '40771atoix0ir9jv6',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-40771atoix0ir9jv6']={
webappId:    '1002',
documentId:  '40770',
internalId:  '40771atoix0ir9jv6',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40771',
internalId:  '',
customField: '20080528-111820'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40770',
internalId:  '',
customField: '20080411-084222'
};
webappMappings['1008']=webappMappings['1008-46731921']={
webappId:    '1008',
documentId:  '40605',
internalId:  '46731921',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['1007']=webappMappings['1007-12b7c816c0a']={
webappId:    '1007',
documentId:  '41325',
internalId:  '12b7c816c0a',
customField: 'g.15du7uumv.cj2bchprrb.3o'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41325',
internalId:  '',
customField: '20101005-153804'
};
webappMappings['7060']=webappMappings['7060-f8bc6a655cc68501569a09f7a0cfe91e']={
webappId:    '7060',
documentId:  '41351',
internalId:  'f8bc6a655cc68501569a09f7a0cfe91e',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41219',
internalId:  '',
customField: '20100307-145615'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41228',
internalId:  '',
customField: '20100310-113420'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41245',
internalId:  '',
customField: '20100310-114709'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41390',
internalId:  '',
customField: '20110703-161423'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41415',
internalId:  '',
customField: '20110125-181035'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41424',
internalId:  '',
customField: '20110125-181113'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41433',
internalId:  '',
customField: '20110125-181203'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41399',
internalId:  '',
customField: '20110413-135522'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41450',
internalId:  '',
customField: '20110212-213151'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41459',
internalId:  '',
customField: '20110413-134907'
};
var canonHostname = 'c4awrk04.aul.t-online.de';
var accountId     = 'ATOIX0IR9JV6';
var companyName   = '4.+Oberhachinger+Boogie-+und+Bluesnight';
var htmlTitle	  = 'Boogie-+und+Bluesnight+-+Boogie-+und+Bluesfreunde';
var metaKeywords  = 'Oberhaching%2C+Boogie%2C+Blues%2C+Musik%2C+Konzert%2C+tanzen%2C+Robert+Roth%2C+D%C3%A1niel+Bal%C3%A1zs%2C+Frank+Muschalle+Trio%2C+Frank+Muschalle%2C+Dani+Gugolz%2C+Peter+M%C3%BCller%2C+Schinken-+Peter+im+Gasthof++Forstner%2C+Boogie-+und+Bluesfreunde+Oberhaching+e.V.%2C+Doris+Wallner%2C+';
var metaContents  = 'Oberhachinger+Boogie-+und+Bluesnight+findet+2011+zum+drittenmal+statt+-+heuer+sind+zu+sehen+und+zu+h%C3%B6ren%3A+Robert+Roth+und+D%C3%A1niel+Bal%C3%A1zs+%282+junge+Boogie-Pianospieler+aus+%C3%96sterreich+und+Ungarn+und+das+Frank+Muschalle+Trio+%28Frank+Muschalle+%28D%29%2C+Dani+Gugolz+%28CH%29%2C+Peter+M%C3%BCller+%28A%29%29+-+Veranstalter+%3A+Boogie-+und+Bluesfreunde+Oberhaching+e.V.+';
					                                                                    
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 */					                                                            

