/* [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','13772',jdecode('Home'),jdecode(''),'/13772.html','true',[],''],
	['PAGE','13829',jdecode('Equipment'),jdecode(''),'/13829/home.html','true',[ 
		['PAGE','13856',jdecode('Boxen+%2B+Verst%C3%A4rker'),jdecode(''),'/13829/13856.html','true',[],''],
		['PAGE','13883',jdecode('Mischpulte+%2B+Mikrofone'),jdecode(''),'/13829/13883.html','true',[],''],
		['PAGE','13910',jdecode('n%C3%BCtzliche+Zusatzger%C3%A4te'),jdecode(''),'/13829/13910.html','true',[],''],
		['PAGE','13964',jdecode('Licht+%2F+Lichteffekte'),jdecode(''),'/13829/13964.html','true',[],''],
		['PAGE','42001',jdecode('Zelt%2C+Garnituren%2C+B%C3%BChne%2C+etc.'),jdecode(''),'/13829/42001.html','true',[],''],
		['PAGE','13937',jdecode('Beamer+%2F+DVD+%2F+Surround'),jdecode(''),'/13829/13937.html','true',[],''],
		['PAGE','15487',jdecode('Sets+%2F+Angebote'),jdecode(''),'/13829/15487.html','true',[],''],
		['PAGE','68901',jdecode('Verkauf'),jdecode(''),'/13829/68901.html','true',[],'']
	],''],
	['PAGE','62701',jdecode('Lokationen'),jdecode(''),'/62701/home.html','true',[ 
		['PAGE','13991',jdecode('B%C3%BCrgerhaus+Gro%C3%9Fkarlbach'),jdecode(''),'/62701/13991.html','true',[],''],
		['PAGE','14018',jdecode('Tontechnik'),jdecode(''),'/62701/14018.html','false',[],''],
		['PAGE','15496',jdecode('Lichttechnik'),jdecode(''),'/62701/15496.html','false',[],''],
		['PAGE','63201',jdecode('Wingertsheisel'),jdecode(''),'/62701/63201.html','true',[],'']
	],''],
	['PAGE','14045',jdecode('Mietbedingungen'),jdecode(''),'/14045.html','true',[],''],
	['PAGE','15772',jdecode('Referenzen'),jdecode(''),'/15772.html','true',[],''],
	['PAGE','14126',jdecode('Kontakt'),jdecode(''),'/14126.html','true',[],''],
	['PAGE','15528',jdecode('N%C3%BCtzliches'),jdecode(''),'/15528/home.html','true',[ 
		['PAGE','37201',jdecode('Interner+Bereich'),jdecode(''),'/15528/37201.html','true',[],'']
	],''],
	['PAGE','14180',jdecode('Links'),jdecode(''),'/14180.html','true',[],'']];
var siteelementCount=21;
theSitetree.topTemplateName='TOI_Theater_1';
theSitetree.paletteFamily='0082AE';
theSitetree.keyvisualId='10753';
theSitetree.keyvisualName='kv_10753.jpg';
theSitetree.fontsetId='31811';
theSitetree.graphicsetId='13601';
theSitetree.contentColor='8E8C8C';
theSitetree.contentBGColor='000000';
var theTemplate={
				hasFlashNavigation: 'false',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'false',
				hasCompanyname: 'false',
				name: 			'TOI_Theater_1',
				paletteFamily: 	'0082AE',
				keyvisualId: 	'10753',
				keyvisualName: 	'kv_10753.jpg',
				fontsetId: 		'31811',
				graphicsetId: 	'13601',
				contentColor: 	'8E8C8C',
				contentBGColor: '000000',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'true',
				contentFontFace:'Verdana, Arial, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13829',
internalId:  '',
customField: '20110325-082904'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14126',
internalId:  '',
customField: '20111104-111349'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13772',
internalId:  '',
customField: '20090211-075210'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13856',
internalId:  '',
customField: '20110205-105313'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14045',
internalId:  '',
customField: '20110608-155232'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13991',
internalId:  '',
customField: '20110607-125746'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15528',
internalId:  '',
customField: '20090706-135804'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '42001',
internalId:  '',
customField: '20110809-145908'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13883',
internalId:  '',
customField: '20101110-190817'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '63201',
internalId:  '',
customField: '20110612-072651'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '68901',
internalId:  '',
customField: '20111104-175622'
};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '13772',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14180',
internalId:  '',
customField: '20110818-093119'
};
webappMappings['3001']=webappMappings['3001-']={
webappId:    '3001',
documentId:  '37201',
internalId:  '',
customField: ''
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15496',
internalId:  '',
customField: '20110607-135654'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '37201',
internalId:  '',
customField: '20110325-093930'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13910',
internalId:  '',
customField: '20110325-074901'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13937',
internalId:  '',
customField: '20101110-191255'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '13964',
internalId:  '',
customField: '20091103-171014'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15487',
internalId:  '',
customField: '20081226-150227'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '15772',
internalId:  '',
customField: '20111104-111157'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '14018',
internalId:  '',
customField: '20110607-135458'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '62701',
internalId:  '',
customField: '20110607-132400'
};
var canonHostname = 'c4awrk02.aul.t-online.de';
var accountId     = 'ATOIX0INV8W2';
var companyName   = 'Ihr+Ansprechpartner+in+Punkto+Beschallung+und+Lichttechnik';
var htmlTitle	  = 'Didi%C2%B4s+Musicbox';
var metaKeywords  = 'Beschallungstechnik%2C+Lichttechnik%2C+Veranstaltungstechnik%2C+Verleih%2C+Miete%2C+67229+Gro%C3%9Fkarlbach';
var metaContents  = 'Willkommen+bei+Didi%C2%B4s+Musicbox%2C+ihr+Ansprechpartner+in+Punkto+Beschallungs-+und+Lichttechnik+in+der+Vorderpfalz+%2867229+Gro%C3%9Fkarlbach%29.';
					                                                                    
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 */					                                                            

