/* [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','13720',jdecode('Kontakt'),jdecode(''),'/13720.html','true',[],''],
	['PAGE','35531',jdecode('Terminanfrage'),jdecode(''),'/35531.html','true',[],''],
	['PAGE','27442',jdecode('Das+DJ-Team'),jdecode(''),'/27442.html','true',[],''],
	['PAGE','27601',jdecode('Musik'),jdecode(''),'/27601.html','true',[],''],
	['PAGE','27931',jdecode('Partybilder'),jdecode(''),'/27931.html','true',[],''],
	['PAGE','30836',jdecode('Partybilder+1'),jdecode(''),'/30836.html','true',[],''],
	['PAGE','34711',jdecode('Silvester+2007'),jdecode(''),'/34711.html','false',[],''],
	['PAGE','34886',jdecode('Wir+empfehlen'),jdecode(''),'/34886.html','true',[],''],
	['PAGE','34643',jdecode('Restaurant+Vergina'),jdecode(''),'/34643.html','false',[],''],
	['PAGE','35192',jdecode('Hier+feiert+man+am+besten'),jdecode(''),'/35192.html','true',[],''],
	['PAGE','34918',jdecode('Hier+feiert+man+am+besten'),jdecode(''),'/34918.html','false',[],''],
	['PAGE','34517',jdecode('Preise'),jdecode(''),'/34517.html','true',[],''],
	['PAGE','28201',jdecode('Impressum'),jdecode(''),'/28201.html','true',[],'']];
var siteelementCount=14;
theSitetree.topTemplateName='Dance';
theSitetree.paletteFamily='94ACE5';
theSitetree.keyvisualId='-1';
theSitetree.keyvisualName='keyv.jpg';
theSitetree.fontsetId='16645';
theSitetree.graphicsetId='12220';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='9EB5EB';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'Dance',
				paletteFamily: 	'94ACE5',
				keyvisualId: 	'-1',
				keyvisualName: 	'keyv.jpg',
				fontsetId: 		'16645',
				graphicsetId: 	'12220',
				contentColor: 	'000000',
				contentBGColor: '9EB5EB',
				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['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '35192',
internalId:  '',
customField: '20101020-162538'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '4579',
internalId:  '1006',
customField: '1006'
};
webappMappings['1007']=webappMappings['1007-105951e3496']={
webappId:    '1007',
documentId:  '27931',
internalId:  '105951e3496',
customField: 'g.10mahsd4m.7k54gtq5ek4a7.6rn80'
};
webappMappings['1007']=webappMappings['1007-105951e34ab']={
webappId:    '1007',
documentId:  '30836',
internalId:  '105951e34ab',
customField: 'g.10mahsd5b.4s849ve2eedkg.6rn80'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '34517',
internalId:  '',
customField: '20090415-171527'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13720',
internalId:  '',
customField: '20101020-163601'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '34711',
internalId:  '',
customField: '20080203-211318'
};
webappMappings['1007']=webappMappings['1007-117e0b2b4cc']={
webappId:    '1007',
documentId:  '34711',
internalId:  '117e0b2b4cc',
customField: 'g.12vg8cbl2.p1v28qm11b.1s'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '4579',
internalId:  '',
customField: '20101016-124606'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27442',
internalId:  '',
customField: '20090216-151924'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27601',
internalId:  '',
customField: '20030707-143139'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '34643',
internalId:  '',
customField: '20080113-154645'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '27931',
internalId:  '',
customField: '20050605-151301'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '30836',
internalId:  '',
customField: '20050401-004527'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '28201',
internalId:  '',
customField: '20101016-122055'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '34886',
internalId:  '',
customField: '20101020-160629'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '34918',
internalId:  '',
customField: '20080804-212158'
};
webappMappings['1008']=webappMappings['1008-73156493']={
webappId:    '1008',
documentId:  '35531',
internalId:  '73156493',
customField: 'de:DE::;language:de;country:DE;'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '35531',
internalId:  '',
customField: '20101021-111434'
};
var canonHostname = 'c4awrk05.aul.t-online.de';
var accountId     = 'ATOIX0INVW50';
var companyName   = 'Ihr+DJ-Team+Markus+%26+Berny';
var htmlTitle	  = 'Die+Musikboxx';
var metaKeywords  = 'Musik%2C+Veranstaltungstechnik%2C+Animation%2C+Dj%2C+Party%2C+Feier%2C+Feierlichkeiten';
var metaContents  = 'Musik%2C+Veranstaltungsservice';
					                                                                    
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 */					                                                            

