/* [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','40199',jdecode('Willkommen%21'),jdecode(''),'/40199.html','true',[],''],
	['PAGE','40401',jdecode('Wer+ist+Henni%3F'),jdecode(''),'/40401/home.html','true',[ 
		['PAGE','40454',jdecode('Musik'),jdecode(''),'/40401/40454.html','true',[],''],
		['PAGE','40410',jdecode('Comedy%2C+Film+und+Fernsehen'),jdecode(''),'/40401/40410.html','true',[],''],
		['PAGE','40419',jdecode('B%C3%BCcher+und+Kolumnen'),jdecode(''),'/40401/40419.html','true',[],''],
		['PAGE','40428',jdecode('Fu%C3%9Fball+und+Eishockey'),jdecode(''),'/40401/40428.html','true',[],''],
		['PAGE','40437',jdecode('Und+au%C3%9Ferdem...'),jdecode(''),'/40401/40437.html','true',[],'']
	],''],
	['PAGE','40583',jdecode('%22Es+wird+Zeiten+geben%22+'),jdecode(''),'/40583.html','true',[],''],
	['PAGE','40947',jdecode('%22...dann+tanzt+die+Omma...%22'),jdecode(''),'/40947.html','true',[],''],
	['PAGE','40219',jdecode('Henni+Live+-+Berichte+%26+Fotos'),jdecode(''),'/40219/home.html','true',[ 
		['PAGE','40228',jdecode('Das+Fu%C3%9Fball-Solo-Programm'),jdecode(''),'/40219/40228.html','true',[],''],
		['PAGE','40237',jdecode('Konzerte+bis+23.+Mai+2009'),jdecode(''),'/40219/40237.html','true',[],''],
		['PAGE','98201',jdecode('Konzerte+ab+29.+Mai+2009'),jdecode(''),'/40219/98201.html','true',[],'']
	],''],
	['PAGE','40801',jdecode('Ein+paar+Fotos'),jdecode(''),'/40801.html','true',[],''],
	['PAGE','40246',jdecode('Hennis+Termine'),jdecode(''),'/40246.html','true',[],''],
	['PAGE','41057',jdecode('Badesalz+-+News+%26+Termine'),jdecode(''),'/41057.html','true',[],''],
	['PAGE','40592',jdecode('Die+Henni-Fans'),jdecode(''),'/40592.html','true',[],''],
	['PAGE','40298',jdecode('G%C3%A4stebuch'),jdecode(''),'/40298/home.html','true',[ 
		['PAGE','40297',jdecode('Eintr%C3%A4ge'),jdecode(''),'/40298/40297.html','true',[],'']
	],''],
	['PAGE','40255',jdecode('Kontakt+%2F+Links'),jdecode(''),'/40255.html','true',[],'']];
var siteelementCount=20;
theSitetree.topTemplateName='Riga';
theSitetree.paletteFamily='6C7BD4';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='11223';
theSitetree.graphicsetId='12043';
theSitetree.contentColor='FFFFFF';
theSitetree.contentBGColor='6C7BD4';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Riga',
				paletteFamily: 	'6C7BD4',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'11223',
				graphicsetId: 	'12043',
				contentColor: 	'FFFFFF',
				contentBGColor: '6C7BD4',
				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:  '44',
internalId:  '1006',
customField: '1006'
};
webappMappings['1007']=webappMappings['1007-10da89f6bb8']={
webappId:    '1007',
documentId:  '40801',
internalId:  '10da89f6bb8',
customField: 'g.11mk9epmj.2ctgjllol6.3o'
};
webappMappings['1002']=webappMappings['1002-40298atoix0i7845i']={
webappId:    '1002',
documentId:  '40298',
internalId:  '40298atoix0i7845i',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-40298atoix0i7845i']={
webappId:    '1002',
documentId:  '40297',
internalId:  '40298atoix0i7845i',
customField: 'action=list'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '40199',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40199',
internalId:  '',
customField: '20120209-184348'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40219',
internalId:  '',
customField: '20110829-195826'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40228',
internalId:  '',
customField: '20111003-195246'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40401',
internalId:  '',
customField: '20100817-193215'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40454',
internalId:  '',
customField: '20060923-171612'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40410',
internalId:  '',
customField: '20071006-080549'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40419',
internalId:  '',
customField: '20110319-122901'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40428',
internalId:  '',
customField: '20110723-093516'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40437',
internalId:  '',
customField: '20110723-092549'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40583',
internalId:  '',
customField: '20090408-202717'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40947',
internalId:  '',
customField: '20090630-065959'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40237',
internalId:  '',
customField: '20110829-200320'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40801',
internalId:  '',
customField: '20090302-204049'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40246',
internalId:  '',
customField: '20111228-221854'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41057',
internalId:  '',
customField: '20120209-190911'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40592',
internalId:  '',
customField: '20110922-191840'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40298',
internalId:  '',
customField: '20060913-105111'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40297',
internalId:  '',
customField: '20060923-183158'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '40255',
internalId:  '',
customField: '20110106-182102'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '98201',
internalId:  '',
customField: '20110829-200423'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0I7845I';
var companyName   = 'Die+Henni-Nachtsheim-Fanpage+';
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 */					                                                            

