/* [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','43235',jdecode('Neu'),jdecode(''),'/43235.html','true',[],''],
	['PAGE','41340',jdecode('%C3%9Cber+mich'),jdecode(''),'/41340.html','true',[],''],
	['PAGE','43101',jdecode('Bildergalerie'),jdecode(''),'/43101.html','true',[],''],
	['PAGE','43342',jdecode('aktuelle+Nachrichten'),jdecode(''),'/43342.html','true',[],''],
	['PAGE','41358',jdecode('Links'),jdecode(''),'/41358.html','true',[],''],
	['PAGE','43396',jdecode('Links%3A+Age+of+Conan'),jdecode(''),'/43396.html','false',[],''],
	['PAGE','41385',jdecode('G%C3%A4stebuch'),jdecode(''),'/41385/home.html','true',[ 
		['PAGE','41386',jdecode('in+G%C3%A4stebuch+eintragen'),jdecode(''),'/41385/41386.html','true',[],'']
	],''],
	['PAGE','41367',jdecode('Impressum'),jdecode(''),'/41367.html','true',[],'']];
var siteelementCount=10;
theSitetree.topTemplateName='Natural';
theSitetree.paletteFamily='666699';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='155';
theSitetree.graphicsetId='168';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FCFCF4';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Natural',
				paletteFamily: 	'666699',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'155',
				graphicsetId: 	'168',
				contentColor: 	'000000',
				contentBGColor: 'FCFCF4',
				a_color: 		'666699',
				b_color: 		'91A5C1',
				c_color: 		'000000',
				d_color: 		'FFFFFF',
				e_color: 		'FFFFFF',
				f_color: 		'FFFFFF',
				hasCustomLogo: 	'true',
				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: '20080310-190651'
};
webappMappings['1007']=webappMappings['1007-117d798b13c']={
webappId:    '1007',
documentId:  '43101',
internalId:  '117d798b13c',
customField: 'g.12vbpc2a4.q1secjtre0.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41340',
internalId:  '',
customField: '20111210-225043'
};
webappMappings['1002']=webappMappings['1002-41386atoix0ir1a68']={
webappId:    '1002',
documentId:  '41386',
internalId:  '41386atoix0ir1a68',
customField: 'action=form&icq=false'
};
webappMappings['1002']=webappMappings['1002-41386atoix0ir1a68']={
webappId:    '1002',
documentId:  '41385',
internalId:  '41386atoix0ir1a68',
customField: 'action=list'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41386',
internalId:  '',
customField: '20080212-220758'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41385',
internalId:  '',
customField: '20080212-220711'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41358',
internalId:  '',
customField: '20110127-195306'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '41367',
internalId:  '',
customField: '20110208-181829'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43101',
internalId:  '',
customField: '20080314-203240'
};
webappMappings['7050']=webappMappings['7050-15468']={
webappId:    '7050',
documentId:  '43235',
internalId:  '15468',
customField: 'language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43235',
internalId:  '',
customField: '20100924-232513'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43342',
internalId:  '',
customField: '20111210-003815'
};
webappMappings['7090']=webappMappings['7090-577345']={
webappId:    '7090',
documentId:  '43342',
internalId:  '577345',
customField: 'type:rss-0.92;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '43396',
internalId:  '',
customField: '20080617-183619'
};
webappMappings['7090']=webappMappings['7090-577346']={
webappId:    '7090',
documentId:  '43342',
internalId:  '577346',
customField: 'type:rss-2.0;language:de;country:DE;'
};
webappMappings['7090']=webappMappings['7090-596015']={
webappId:    '7090',
documentId:  '43342',
internalId:  '596015',
customField: 'type:atom-1.0;language:de;country:DE;'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0IR1A68';
var companyName   = 'Mellyn+-+sprich+Freund+und+tritt+ein';
var htmlTitle	  = 'Mellyn+-+sprich+Freund+und+tritt+ein';
var metaKeywords  = 'Ihr+Name%2CBand%2C+Jazzband%2C+Musik%2CJazz%2C+Combo%2C+Dixie%2C+Dixieland%2C+Oldtime%2C+Oldtimejazz%2C+Oldtime-Jazz%2C+Swing%2C+Blues%2C+Latin%2CSaxophon%2C+Klarinette%2C+Kontraba%C3%9F%2C+Klavier%2C+Swingmusik%2C+Latinmusik%2Cmusik%2C+band%2C+heavy%2C+metal%2C+grunge%2C+nachwuchsbands%2C+newcomer%2C+gigs%2C+musiker%2C+sound%2Ccds%2C+tapes%2C+plattenvertrag%2C+gitarre%2C+guitar%2C+bass%2C+drums%2C+gruppe%2C+music%2C+mp3%2C+vorstellung%2Cstudios%2Cmischpult%2C+gage%2Cmidi%2C+audio%2C+video%2C+verlag%2C+trip-hop%2C+techno%2C+jazz%2C+schlager%2C+blues%2C+mainstream%2C+rock%2C+pop%2C+thrash%2Cband-vorstellung%2C+musiker-vorstellung++';
var metaContents  = 'Ihr+Name+-+alle+Bandinfos+auf+einer+Website%21+Alle+Toureninfos%2C+Bandhintergr%C3%BCnde+und+Termine+finden+Sie+hier.++';
					                                                                    
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 */					                                                            

